On Thu, Oct 08, 2015 at 03:09:02PM -0400, Laine Stump wrote: > On 10/07/2015 12:50 PM, Daniel P. Berrange wrote: > >This looks for existance of /sys/firmware/acpi/tables/DMAR > >as a reasonable hint that the BIOS support an Intel IOMMU. > > > >This file is only present if enabled in the BIOS, so the > >check only does something if the BIOS is enabled but the > >kernel has it disabled. > > > >TBD figure out a check for AMD too, which doesn't involve > >grepping dmesg which might have already been purged. > > I have a couple AMD machines, if you want anything tested. I'll knock something up for AMD per Alex's recommendation and then post another patch for that. > > ACK with what's here though. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list