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

[libvirt] [PATCH 0/5] Change preference of default PCI passthrough type



Change the default type to VFIO if available.

Please note that the majority of the code here is only compile tested as
I don't have appropriate hardware to test it.

Peter Krempa (5):
  qemu: hostdev: Refactor PCI passhrough handling
  qemu: hostdev: Add checks if PCI passthrough is availabe in the host
  qemu: hotplug: Verify that the selected pci passhtrough option is
    present
  qemu: Check if PCI passhtrough is available in the host when starting
  qemu: Prefer VFIO for PCI device passthrough

 docs/formatdomain.html.in                          |  9 ++-
 src/conf/domain_conf.h                             |  2 +-
 src/qemu/qemu_command.c                            | 27 +++++---
 src/qemu/qemu_hostdev.c                            | 76 ++++++++++++++++++++++
 src/qemu/qemu_hostdev.h                            |  3 +
 src/qemu/qemu_hotplug.c                            | 63 +++++++++++++++---
 src/qemu/qemu_process.c                            | 57 ++++++++++++++++
 .../qemuxml2argv-hostdev-pci-address-device.args   |  2 +-
 .../qemuxml2argvdata/qemuxml2argv-net-hostdev.args |  2 +-
 tests/qemuxml2argvdata/qemuxml2argv-pci-rom.args   |  4 +-
 10 files changed, 216 insertions(+), 29 deletions(-)

-- 
1.8.3.2


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