Allow monitor interaction when using migrate -exec
commit71c55593c056db5cb80fd40889fa3c5ab9e8ad34
authorChris Lalancette <clalance@redhat.com>
Mon, 25 May 2009 14:38:23 +0000 (25 16:38 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 May 2009 14:47:39 +0000 (27 09:47 -0500)
treec27a15a1997c564bec70cc5d0c3669aff5f3b745
parent5982abd9ca27b80e5d006982c427a5299e080fe9
Allow monitor interaction when using migrate -exec

All,
     I've recently been playing around with migration via exec.  Unfortunately,
when starting the incoming qemu process with "-incoming exec:cmd", it suffers
the same problem that -incoming tcp used to suffer; namely, that you can't
interact with the monitor until after the migration has happened.  This causes
problems for libvirt usage of -incoming exec, since libvirt expects to be able
to access the monitor ahead of time.  This fairly simple patch allows you to
access the monitor both before and after the migration has completed using exec.

(note: developed/tested with qemu-kvm, but applies perfectly fine to qemu)

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/hw.h
migration-exec.c
savevm.c