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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux