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

John Ferlan posted 3 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170406113200.15595-1-jferlan@redhat.com
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(-)
[libvirt] [PATCH 0/3] nodedev: Create common virNodeDeviceObj* APIs
Posted by John Ferlan 7 years ago
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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/3] nodedev: Create common virNodeDeviceObj* APIs
Posted by Michal Privoznik 7 years ago
On 04/06/2017 01:31 PM, John Ferlan wrote:
> 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(-)
>

ACK

Michal

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