mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00: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>
|
||||
|
||||
* 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)))
|
||||
goto error;
|
||||
|
||||
dom->state = VIR_DOMAIN_SHUTOFF;
|
||||
dom->configFile = configFile;
|
||||
dom->autostartLink = autostartLink;
|
||||
dom->autostart = autostart;
|
||||
|
Loading…
Reference in New Issue
Block a user