[libvirt] [PATCH 11/16] network: Introduce virNetworkObj{Is|Set}Active

Pavel Hrdina phrdina at redhat.com
Mon Jul 24 11:29:00 UTC 2017


On Fri, May 19, 2017 at 09:03:19AM -0400, John Ferlan wrote:
> In order to privatize the virNetworkObj create accessors in virnetworkobj
> in order to handle the get/set of the active value.
> 
> Also rather than an unsigned int, convert it to a boolean to match other
> drivers representation and the reality of what it is.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/conf/virnetworkobj.c    | 17 ++++++++++++++++-
>  src/conf/virnetworkobj.h    | 15 ++++++++-------
>  src/libvirt_private.syms    |  2 ++
>  src/network/bridge_driver.c | 10 +++++-----
>  src/test/test_driver.c      |  8 ++++----
>  5 files changed, 35 insertions(+), 17 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170724/fbc5d69f/attachment-0001.sig>


More information about the libvir-list mailing list