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 <marcos.souza.org@gmail.com>
This commit is contained in:
Marcos Paulo de Souza 2018-07-10 20:30:58 -03:00 committed by Michal Privoznik
parent a94bb4ebdf
commit 9a4c75590f

View 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