[libvirt] [PATCH v2 0/2] Fix the odd VFIO error for a non-existent mdev when IOMMU is disabled

Erik Skultety eskultet at redhat.com
Fri Mar 16 12:37:52 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.

Since v1:
- adjusted the error msg in patch 1 according to reviewer
- rephrased the commit message for patch 2 to make it less confusing

Erik Skultety (2):
  util: mdev: Improve the error msg on non-existent mdev prior to VM
    start
  qemu: hostdev: Fix the error on VM start 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