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:
Daniel Veillard 2009-06-25 13:55:58 +00:00
parent 73f34b31f5
commit d45242c616
4 changed files with 13 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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