mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Set initial domain state to SHUTOFF
This commit is contained in:
parent
a1b49bcdea
commit
774354e3ef
@ -1,3 +1,8 @@
|
|||||||
|
Fri Jul 11 20:28:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/domain_conf.c: Set state to SHUTOFF when loading domain
|
||||||
|
config
|
||||||
|
|
||||||
Fri Jul 11 18:58:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
Fri Jul 11 18:58:59 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/network_conf.c, src/domain_conf.c: Use full path when
|
* src/network_conf.c, src/domain_conf.c: Use full path when
|
||||||
|
@ -2814,6 +2814,7 @@ virDomainObjPtr virDomainLoadConfig(virConnectPtr conn,
|
|||||||
if (!(dom = virDomainAssignDef(conn, doms, def)))
|
if (!(dom = virDomainAssignDef(conn, doms, def)))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
dom->state = VIR_DOMAIN_SHUTOFF;
|
||||||
dom->configFile = configFile;
|
dom->configFile = configFile;
|
||||||
dom->autostartLink = autostartLink;
|
dom->autostartLink = autostartLink;
|
||||||
dom->autostart = autostart;
|
dom->autostart = autostart;
|
||||||
|
Loading…
Reference in New Issue
Block a user