[libvirt] [PATCH 0/5] util: open pci config read-only for querying
Michal Privoznik
mprivozn at redhat.com
Wed Aug 14 12:20:43 UTC 2019
On 8/13/19 3:45 PM, Ján Tomko wrote:
> A bunch of functions opened the PCI device config as read-write
> even though they only read from it.
>
> Ján Tomko (5):
> util: introduce virPCIDeviceConfigOpenInternal
> util: Introduce virPCIDeviceConfigOpenWrite
> util: introduce readonly attribute to virPCIDeviceConfigOpenInternal
> util: introduce virPCIDeviceConfigOpenTry
> util: default to read-only in virPCIDeviceConfigOpen
>
> src/util/virpci.c | 40 +++++++++++++++++++++++++++++-----------
> 1 file changed, 29 insertions(+), 11 deletions(-)
>
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list