]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Error prompt when managed save a shutoff domain
authorOsier Yang <jyang@redhat.com>
Tue, 25 Jan 2011 07:49:51 +0000 (15:49 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 25 Jan 2011 16:51:26 +0000 (09:51 -0700)
commitdbd63c4d63af26580acd213648eb5b5b961d70dc
tree46fec6751c6a3b1e0bd4cf72b0ab36bf89458a86
parent6cbab7c1590dd882474450ebf5314d963d9f346e
qemu: Error prompt when managed save a shutoff domain

The problem was introduced by commit 4303c91, which removed the checking
of domain state, this patch is to fix it.

Otherwise, improper error will be thrown, e.g.

error: Failed to save domain rhel6 state
error: cannot resolve symlink /var/lib/libvirt/qemu/save/rhel6.save: No such
file or directory
src/qemu/qemu_driver.c