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

Erik Skultety posted 2 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1521203584.git.eskultet@redhat.com
Test syntax-check passed
src/qemu/qemu_hostdev.c |  7 ++++++-
src/util/virmdev.c      | 16 +++++++++++++---
2 files changed, 19 insertions(+), 4 deletions(-)
[libvirt] [PATCH v2 0/2] Fix the odd VFIO error for a non-existent mdev when IOMMU is disabled
Posted by Erik Skultety 6 years, 1 month ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list