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

[libvirt] [PATCH v2 0/2] Block assignment of PCI devices below non-ACS capable switch



This is a patchset for blocking assignment of PCI devices below non-ACS
capable switch. In case user still wants to assign such device even though it
might not be safe, she can specify 'relaxed_acs_check = 1' in qemu.conf

Special thanks to Chris L. who created a standalone program the PCI check.
This code is a port of that check to libvirt.

Changes in version 2:
- permissive attribute for <hostdev> was removed
- new 'relaxed_acs_check' config option in qemu.conf for relaxing the check

Jiri Denemark (2):
  Tests for ACS in PCIe switches
  Use pciDeviceIsAssignable in qemu driver

 src/libvirt_private.syms        |    1 +
 src/qemu/libvirtd_qemu.aug      |    1 +
 src/qemu/qemu.conf              |    6 ++
 src/qemu/qemu_conf.c            |    4 +
 src/qemu/qemu_conf.h            |    2 +
 src/qemu/qemu_driver.c          |    6 ++-
 src/qemu/test_libvirtd_qemu.aug |    6 ++-
 src/util/pci.c                  |  151 +++++++++++++++++++++++++++++++++++++++
 src/util/pci.h                  |    4 +
 9 files changed, 179 insertions(+), 2 deletions(-)


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