mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +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>
|
Fri Aug 1 15:51:04 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
* virsh.c: more const-correctness fixes
|
* virsh.c: more const-correctness fixes
|
||||||
|
@ -429,6 +429,7 @@ virDomainObjPtr virDomainAssignDef(virConnectPtr conn,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
domain->state = VIR_DOMAIN_SHUTOFF;
|
||||||
domain->def = def;
|
domain->def = def;
|
||||||
domain->next = *doms;
|
domain->next = *doms;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user