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

Michal Privoznik mprivozn at redhat.com
Wed Dec 9 08:28:34 UTC 2020


On 12/9/20 2:37 AM, Laine Stump wrote:
> I think there's an adequate description in patch 6 (and maybe in the
> bugzilla record: https://bugzilla.redhat.com/1901685). I already typed
> a long description once, and git send-email failed due to network
> problems and threw away everything I typed. I don't feel like typing
> it again.
> 
> 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              | 107 ++++++++++++++++++++++++---------
>   2 files changed, 82 insertions(+), 68 deletions(-)
> 

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

Michal




More information about the libvir-list mailing list