提交 0dee7feb 编写于 作者: D Daniel P. Berrange

Fix initial VM state

上级 66f9bb5b
Fri Aug 1 15:15:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/domain_conf.c: Ensure new VM state is initialized to
be SHUTOFF, rather than NOSTATE.
Fri Aug 1 15:51:04 CEST 2008 Jim Meyering <meyering@redhat.com>
* virsh.c: more const-correctness fixes
......
......@@ -429,6 +429,7 @@ virDomainObjPtr virDomainAssignDef(virConnectPtr conn,
return NULL;
}
domain->state = VIR_DOMAIN_SHUTOFF;
domain->def = def;
domain->next = *doms;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册