Re: [libvirt] [PATCH v2 2/2] qemu: hostdev: Fix the error on VM start with an mdev when IOMMU is off

2018-03-19 Thread Erik Skultety
On Fri, Mar 16, 2018 at 06:14:56PM +0100, Peter Krempa wrote: > On Fri, Mar 16, 2018 at 13:37:54 +0100, Erik Skultety wrote: > > Commit b4c2ac8d56 made a false assumption that IOMMU support necessary > > for an mdev device to be assigned to a VM. Unlike direct PCI assignment, > > IOMMU support is

Re: [libvirt] [PATCH v2 2/2] qemu: hostdev: Fix the error on VM start with an mdev when IOMMU is off

2018-03-16 Thread Peter Krempa
On Fri, Mar 16, 2018 at 13:37:54 +0100, Erik Skultety wrote: > Commit b4c2ac8d56 made a false assumption that IOMMU support necessary > for an mdev device to be assigned to a VM. Unlike direct PCI assignment, > IOMMU support is not needed for mediated devices, as the physical parent > device

[libvirt] [PATCH v2 2/2] qemu: hostdev: Fix the error on VM start with an mdev when IOMMU is off

2018-03-16 Thread Erik Skultety
Commit b4c2ac8d56 made a false assumption that IOMMU support necessary for an mdev device to be assigned to a VM. Unlike direct PCI assignment, IOMMU support is not needed for mediated devices, as the physical parent device provides the IOMMU isolation, therefore, simply checking for VFIO presence