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

Jiri Denemark jdenemar at redhat.com
Mon Dec 21 13:27:16 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 permissive='yes' attribute for <hostdev>.

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

Jiri Denemark (3):
  Tests for ACS in PCIe switches
  New 'permissive' attribute for hostdev
  Use pciDeviceIsAssignable in qemu driver

 docs/schemas/domain.rng  |    8 +++
 src/conf/domain_conf.c   |   14 ++++-
 src/conf/domain_conf.h   |    1 +
 src/libvirt_private.syms |    3 +
 src/qemu/qemu_driver.c   |    9 +++-
 src/util/pci.c           |  147 ++++++++++++++++++++++++++++++++++++++++++++++
 src/util/pci.h           |    7 ++
 7 files changed, 186 insertions(+), 3 deletions(-)

More information about the libvir-list mailing list