[PATCH 0/9] several small cleanups in virpci.c et. al.

Laine Stump laine at redhat.com
Wed Oct 21 02:26:00 UTC 2020

These started with a couple small cleanups to functions I was going to
change the API for, but then I decided not to change the API, and just
didn't want to waste the effort spent cleaning them up.

Laine Stump (9):
  util: simplify virHostdevPCISysfsPath()
  util: simplify virPCIFile() and its callers
  util: simplify virPCIDriverDir() and its callers
  util: simplify virPCIProbeStubDriver()
  util: avoid manual VIR_FREE of a g_autofree pointer in virPCIGetName()
  util: use more g_autofree in virpci.c
  util: remove unneeded cleanup:/ret in virpci.c
  util: don't use virPCIGetSysfsFile()
  util: remove unused function virPCIGetSysfsFile()

 src/hypervisor/virhostdev.c |  10 +--
 src/libvirt_private.syms    |   1 -
 src/util/virnetdev.c        |   6 +-
 src/util/virpci.c           | 146 ++++++++++++------------------------
 src/util/virpci.h           |   4 -
 5 files changed, 53 insertions(+), 114 deletions(-)


More information about the libvir-list mailing list