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

Michal Privoznik mprivozn at redhat.com
Fri Dec 11 16:41:46 UTC 2020


On 12/11/20 4:47 PM, Laine Stump wrote:
> 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(-)
>

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list