[PATCH 0/5] util: open pci config read-only for querying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux