[libvirt] [PATCH 0/2] Don't report a VFIO error for 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.1521196942.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 0/2] Don't report a VFIO error for 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

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

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