]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix QEMU domain status after restore.
authorChris Lalancette <clalance@redhat.com>
Fri, 7 Aug 2009 13:20:30 +0000 (15:20 +0200)
committerChris Lalancette <clalance@redhat.com>
Tue, 11 Aug 2009 11:27:07 +0000 (13:27 +0200)
commitcbcf5ba7d48730cc028b82c92a2fdd375d201c1d
treec67520424b26419712e8f90180e4b544448e099e
parentf5a8f969dd92ec2744e1eec5d35288d5fbcded22
Fix QEMU domain status after restore.

When doing a restore, we were forgetting to update the state file
for the VM.  That means that if you do a save/restore, then shut
down libvirtd, then start it back up, you'll see the state of the
guest as "paused", even though it is really running.  We were
just forgetting a "virDomainSaveStatus" call in the restor path.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
src/qemu_driver.c