mirror of https://gitee.com/openkylin/libvirt.git
bhyve: defined domains should be persistent
This commit is contained in:
parent
0e16ae404c
commit
ae49a093c8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue