[PATCH 0/3] nodedev: Create common virNodeDeviceObj* APIs

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

 



Merge code in node_device_driver.c and test_driver into virnodedeviceobj
to count the number of devices and to return a list of names. Also modify
the export list API to take an address of 'devobjs' to follow other usages.

FWIW: This is part of the common driver objects code I've been working
through. I figured I will post each driver separately rather than one
larger series.

John Ferlan (3):
  nodedev: Introduce virNodeDeviceObjNumOfDevices
  nodedev: Introduce virNodeDeviceObjGetNames
  nodedev: Pass driver arg by ref

 src/conf/virnodedeviceobj.c          | 66 +++++++++++++++++++++++++++++++++---
 src/conf/virnodedeviceobj.h          | 20 ++++++++---
 src/libvirt_private.syms             |  3 +-
 src/node_device/node_device_driver.c | 48 +++++++-------------------
 src/test/test_driver.c               | 33 ++++--------------
 5 files changed, 98 insertions(+), 72 deletions(-)

-- 
2.9.3

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