Re: [libvirt] [PATCH v2 13/14] nodedev: Pass @def by reference to create/assign object

2017-05-26 Thread John Ferlan
On 05/26/2017 08:12 AM, Peter Krempa wrote: > On Thu, May 25, 2017 at 15:57:10 -0400, John Ferlan wrote: >> Since the @def is consumed by the assignment function, let's pass by >> reference instead of value and really consume it. >> >> Signed-off-by: John Ferlan >> --- >> src/conf/virnodedevice

Re: [libvirt] [PATCH v2 13/14] nodedev: Pass @def by reference to create/assign object

2017-05-26 Thread Peter Krempa
On Thu, May 25, 2017 at 15:57:10 -0400, John Ferlan wrote: > Since the @def is consumed by the assignment function, let's pass by > reference instead of value and really consume it. > > Signed-off-by: John Ferlan > --- > src/conf/virnodedeviceobj.c| 8 > src/conf/virnodedeviceob

[libvirt] [PATCH v2 13/14] nodedev: Pass @def by reference to create/assign object

2017-05-25 Thread John Ferlan
Since the @def is consumed by the assignment function, let's pass by reference instead of value and really consume it. Signed-off-by: John Ferlan --- src/conf/virnodedeviceobj.c| 8 src/conf/virnodedeviceobj.h| 2 +- src/node_device/node_device_hal.c | 2 +- src/node_de