[libvirt] [PATCH 0/2] Don't report a VFIO error for mdev when IOMMU is disabled

Erik Skultety eskultet at redhat.com
Fri Mar 16 10:50:00 UTC 2018


Unlike GPU assignment, mdev doesn't need the IOMMU to be enabled within kernel,
since the physical parent device takes care of the isolation, i.e. there's an
IOMMU group entry for each mdev created under sysfs, thus a VM can start
successfully

Erik Skultety (2):
  util:mdev: Improve the error msg on non-existent mdev prior to VM
    start
  qemu: hostdev: Don't error out on domain with an mdev when IOMMU is
    off

 src/qemu/qemu_hostdev.c |  7 ++++++-
 src/util/virmdev.c      | 16 +++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)

--
2.13.6




More information about the libvir-list mailing list