mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
Fix initial VM state
This commit is contained in:
parent
66f9bb5b95
commit
0dee7feb74
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user