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

Jiri Denemark jdenemar at redhat.com
Tue Dec 22 17:21:14 UTC 2009


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(-)




More information about the libvir-list mailing list