[libvirt] [PATCH 0/8] virhostdev: Couple of improvements

Michal Privoznik posted 8 patches 4 years, 10 months ago
Test syntax-check passed
Failed in applying to current master (apply log)
src/util/virhostdev.c | 220 +++++++++++++++++-------------------------
1 file changed, 87 insertions(+), 133 deletions(-)
[libvirt] [PATCH 0/8] virhostdev: Couple of improvements
Posted by Michal Privoznik 4 years, 10 months ago
I'm working around this area and noticed a room for improvements.
This is basically a few patches that I have at the bottom if my branch
and they are independent of the feature I'm working on.

Michal Prívozník (8):
  virHostdevGetPCIHostDeviceList: Add @pci a bit later
  virHostdevGetPCIHostDeviceList: Use VIR_AUTOPTR for virPCIDevice
  virHostdevPreparePCIDevices: Construct pcidevs list earlier
  virHostdevReAttachPCIDevices: Construct pcidevs list earlier
  virhostdev: Use VIR_AUTOUNREF more
  virHostdevFindUSBDevice: Simplify flow a bit
  virHostdevPrepareSCSIVHostDevices: Simplify logic
  virhostdev: Use VIR_AUTOPTR more

 src/util/virhostdev.c | 220 +++++++++++++++++-------------------------
 1 file changed, 87 insertions(+), 133 deletions(-)

-- 
2.21.0

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