[libvirt PATCH v2 0/7] fix PCI vs PCIe detection when running libvirtd as root, but unprivileged

Laine Stump laine at redhat.com
Fri Dec 11 15:47:21 UTC 2020


danpb had asked for some documentation on the changes to the APIs of
internal functions in V1. I've added some standard function header
docs in patches 5 & 6. Everything else is completely unchanged (and
already reviewed by mprivozn).

Laine Stump (7):
  qemu: use g_autoptr for a virPCIDevice
  util: simplify calling of virPCIDeviceDetectFunctionLevelReset()
  util: simplify call to virPCIDeviceDetectPowerManagementReset()
  util: make read error of PCI config file more detailed
  util: change call sequence for virPCIDeviceFindCapabilityOffset()
  util: make virPCIDeviceIsPCIExpress() more intelligent
  qemu: remove now-redundant check for file length when determining PCIe
    vs. PCI

 src/qemu/qemu_domain_address.c |  43 +--------
 src/util/virpci.c              | 166 +++++++++++++++++++++++++++------
 2 files changed, 141 insertions(+), 68 deletions(-)

-- 
2.28.0




More information about the libvir-list mailing list