[libvirt] [PATCH v1 07/31] virNetworkObjListExport: Pass virNetworkObjListPtr

Peter Krempa pkrempa at redhat.com
Thu Feb 26 15:19:28 UTC 2015


On Thu, Feb 26, 2015 at 15:17:16 +0100, Michal Privoznik wrote:
> Instead of copying the whole object onto stack when calling the
> function, just pass the pointer to the object and save up some
> space on the stack. Moreover, this prepares the code to hide the
> virNetworkObjList structure into network_conf.c and use accessors
> only.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/network_conf.c           | 8 ++++----
>  src/conf/network_conf.h           | 2 +-
>  src/network/bridge_driver.c       | 2 +-
>  src/parallels/parallels_network.c | 2 +-
>  src/test/test_driver.c            | 2 +-
>  5 files changed, 8 insertions(+), 8 deletions(-)

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150226/a71b1a04/attachment-0001.sig>


More information about the libvir-list mailing list