[PATCH 2/7] vbox_network: add flags to vboxNetworkDefineCreateXML()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux