Set initial domain state to SHUTOFF

This commit is contained in:
Daniel P. Berrange 2008-07-11 19:31:26 +00:00
parent a1b49bcdea
commit 774354e3ef
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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;