I need to propagate flags for the next commit. Signed-off-by: Kristina Hanicova <khanicov@xxxxxxxxxx> --- src/vbox/vbox_network.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/vbox/vbox_network.c b/src/vbox/vbox_network.c index d97f571d1b..39da643f14 100644 --- a/src/vbox/vbox_network.c +++ b/src/vbox/vbox_network.c @@ -367,7 +367,8 @@ vboxSocketFormatAddrUtf16(struct _vboxDriver *data, virSocketAddr *addr) } static virNetworkPtr -vboxNetworkDefineCreateXML(virConnectPtr conn, const char *xml, bool start) +vboxNetworkDefineCreateXML(virConnectPtr conn, const char *xml, bool start, + unsigned int flags) { struct _vboxDriver *data = conn->privateData; PRUnichar *networkInterfaceNameUtf16 = NULL; @@ -385,6 +386,8 @@ vboxNetworkDefineCreateXML(virConnectPtr conn, const char *xml, bool start) virNetworkPtr ret = NULL; nsresult rc; + virCheckFlags(0, NULL); + if (!data->vboxObj) return ret; @@ -554,12 +557,12 @@ vboxNetworkDefineCreateXML(virConnectPtr conn, const char *xml, bool start) static virNetworkPtr vboxNetworkCreateXML(virConnectPtr conn, const char *xml) { - return vboxNetworkDefineCreateXML(conn, xml, true); + return vboxNetworkDefineCreateXML(conn, xml, true, 0); } static virNetworkPtr vboxNetworkDefineXML(virConnectPtr conn, const char *xml) { - return vboxNetworkDefineCreateXML(conn, xml, false); + return vboxNetworkDefineCreateXML(conn, xml, false, 0); } static int -- 2.31.1