mirror of https://gitee.com/openkylin/libvirt.git
Fix a couple of state problems
* src/qemu_driver.c: fix a domain state problem after migration, patch by Federico Simoncelli, fixes #507537 * src/domain_conf.c: fix a transcient domain state problem after destroy, patch by Federico Simoncelli, fixes #507304 * AUTHORS: add Federico Simoncelli and Javier Fontan daniel
This commit is contained in:
parent
73f34b31f5
commit
d45242c616
2
AUTHORS
2
AUTHORS
|
@ -72,6 +72,8 @@ Patches have also been contributed by:
|
||||||
Laine Stump <laine@redhat.com>
|
Laine Stump <laine@redhat.com>
|
||||||
Abel Míguez Rodríguez<amiguezr@pdi.ucm.es>
|
Abel Míguez Rodríguez<amiguezr@pdi.ucm.es>
|
||||||
Doug Goldstein <cardoe@gentoo.org>
|
Doug Goldstein <cardoe@gentoo.org>
|
||||||
|
Javier Fontan <jfontan@gmail.com>
|
||||||
|
Federico Simoncelli <federico.simoncelli@gmail.com>
|
||||||
|
|
||||||
[....send patches to get your name here....]
|
[....send patches to get your name here....]
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
Thu Jun 25 15:46:11 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/qemu_driver.c: fix a domain state problem after
|
||||||
|
migration, patch by Federico Simoncelli, fixes #507537
|
||||||
|
* src/domain_conf.c: fix a transcient domain state problem after
|
||||||
|
destroy, patch by Federico Simoncelli, fixes #507304
|
||||||
|
* AUTHORS: add Federico Simoncelli and Javier Fontan
|
||||||
|
|
||||||
Thu Jun 25 10:32:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Thu Jun 25 10:32:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Fix broken dominfo command when no security driver is implemented
|
Fix broken dominfo command when no security driver is implemented
|
||||||
|
|
|
@ -4187,7 +4187,8 @@ int virDomainLoadAllConfigs(virConnectPtr conn,
|
||||||
opaque);
|
opaque);
|
||||||
if (dom) {
|
if (dom) {
|
||||||
virDomainObjUnlock(dom);
|
virDomainObjUnlock(dom);
|
||||||
dom->persistent = 1;
|
if (!liveStatus)
|
||||||
|
dom->persistent = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5116,6 +5116,7 @@ qemudDomainMigrateFinish2 (virConnectPtr dconn,
|
||||||
event = virDomainEventNewFromObj(vm,
|
event = virDomainEventNewFromObj(vm,
|
||||||
VIR_DOMAIN_EVENT_RESUMED,
|
VIR_DOMAIN_EVENT_RESUMED,
|
||||||
VIR_DOMAIN_EVENT_RESUMED_MIGRATED);
|
VIR_DOMAIN_EVENT_RESUMED_MIGRATED);
|
||||||
|
virDomainSaveStatus(dconn, driver->stateDir, vm);
|
||||||
} else {
|
} else {
|
||||||
qemudShutdownVMDaemon (dconn, driver, vm);
|
qemudShutdownVMDaemon (dconn, driver, vm);
|
||||||
event = virDomainEventNewFromObj(vm,
|
event = virDomainEventNewFromObj(vm,
|
||||||
|
|
Loading…
Reference in New Issue