mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
bhyve: add 'root' parameter to driver initializer
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
b168fa88b8
commit
9a5bafd329
@ -1175,11 +1175,18 @@ bhyveStateCleanup(void)
|
||||
|
||||
static int
|
||||
bhyveStateInitialize(bool privileged,
|
||||
const char *root,
|
||||
virStateInhibitCallback callback G_GNUC_UNUSED,
|
||||
void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
bool autostart = true;
|
||||
|
||||
if (root != NULL) {
|
||||
virReportError(VIR_ERR_INVALID_ARG, "%s",
|
||||
_("Driver does not support embedded mode"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!privileged) {
|
||||
VIR_INFO("Not running privileged, disabling driver");
|
||||
return VIR_DRV_STATE_INIT_SKIPPED;
|
||||
|
Loading…
Reference in New Issue
Block a user