]> xenbits.xensource.com Git - libvirt.git/commitdiff
driver.h: Add remoteOnly member to virConnectDriver struct
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Tue, 10 Jul 2018 23:30:58 +0000 (20:30 -0300)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 11 Jul 2018 10:55:26 +0000 (12:55 +0200)
This new flag will be set when a driver needs a remote URL in order to
work, as ESX, HyperV and Phyp.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
src/driver.h

index 0b1f7a2269e1696049576b5f144b34740f7a514c..c4d94ba2949e345d85bc779ff84e7f28310b9124 100644 (file)
@@ -81,6 +81,8 @@ typedef virConnectDriver *virConnectDriverPtr;
 struct _virConnectDriver {
     /* Wether driver permits a server in the URI */
     bool localOnly;
+    /* Wether driver needs a server in the URI */
+    bool remoteOnly;
     /*
      * NULL terminated list of supported URI schemes.
      *  - Single element { NULL } list indicates no supported schemes