From: Marcos Paulo de Souza Date: Tue, 10 Jul 2018 23:30:58 +0000 (-0300) Subject: driver.h: Add remoteOnly member to virConnectDriver struct X-Git-Tag: v4.6.0-rc1~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4c75590fcdf41242f22a87d35cca62c9c3408a;p=thirdparty%2Flibvirt.git driver.h: Add remoteOnly member to virConnectDriver struct 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 --- 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