]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Emit event if 'cont' fails
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Nov 2012 14:33:12 +0000 (15:33 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 7 Nov 2012 11:06:09 +0000 (12:06 +0100)
commita08fc66d900a09b2f15f910fcfb6a80985313c2c
tree513e4e61184197d607febd330a4196c7636368fe
parentadb29a88694a4ae5d2a2de6d9edf5fe36f2cd42d
qemu: Emit event if 'cont' fails

Some operations, APIs needs domain to be paused prior operation can be
performed, e.g. (managed-) save of a domain. The processors should be
restored in the end. However, if 'cont' fails for some reason, we log a
message but this is not sufficient as an event should be emitted as
well. Mgmt application can then decide what to do.
src/qemu/qemu_driver.c