bhyve: defined domains should be persistent

This commit is contained in:
Roman Bogorodskiy 2014-03-01 10:58:58 +04:00
parent 0e16ae404c
commit ae49a093c8

View File

@ -335,6 +335,7 @@ bhyveDomainDefineXML(virConnectPtr conn, const char *xml)
0, &oldDef)))
goto cleanup;
def = NULL;
vm->persistent = 1;
dom = virGetDomain(conn, vm->def->name, vm->def->uuid);
if (dom)