提交 d45242c6 编写于 作者: D Daniel Veillard

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
上级 73f34b31
......@@ -72,6 +72,8 @@ Patches have also been contributed by:
Laine Stump <laine@redhat.com>
Abel Míguez Rodríguez<amiguezr@pdi.ucm.es>
Doug Goldstein <cardoe@gentoo.org>
Javier Fontan <jfontan@gmail.com>
Federico Simoncelli <federico.simoncelli@gmail.com>
[....send patches to get your name here....]
......
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>
Fix broken dominfo command when no security driver is implemented
......
......@@ -4187,7 +4187,8 @@ int virDomainLoadAllConfigs(virConnectPtr conn,
opaque);
if (dom) {
virDomainObjUnlock(dom);
dom->persistent = 1;
if (!liveStatus)
dom->persistent = 1;
}
}
......
......@@ -5116,6 +5116,7 @@ qemudDomainMigrateFinish2 (virConnectPtr dconn,
event = virDomainEventNewFromObj(vm,
VIR_DOMAIN_EVENT_RESUMED,
VIR_DOMAIN_EVENT_RESUMED_MIGRATED);
virDomainSaveStatus(dconn, driver->stateDir, vm);
} else {
qemudShutdownVMDaemon (dconn, driver, vm);
event = virDomainEventNewFromObj(vm,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册