[libvirt] [PATCH 1/5] driver.h: Add remoteOnly member to virConnectDriver struct

Marcos Paulo de Souza marcos.souza.org at gmail.com
Mon Jul 9 16:22:19 UTC 2018


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 at gmail.com>
---
 src/driver.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/driver.h b/src/driver.h
index 0b1f7a2269..c4d94ba294 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -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
-- 
2.17.1




More information about the libvir-list mailing list