Re: [Qemu-devel] [PATCH v2 1/2] qmp: handle stop/cont in INMIGRATE state

2012-10-22 Thread Luiz Capitulino
On Fri, 19 Oct 2012 16:45:23 +0200 Paolo Bonzini wrote: > Right now, stop followed by an incoming migration will let the > virtual machine start. cont before an incoming migration instead > will fail. > > This is bad because the actual behavior is not predictable; it is > racy with respect to t

Re: [Qemu-devel] [PATCH v2 1/2] qmp: handle stop/cont in INMIGRATE state

2012-10-22 Thread Luiz Capitulino
On Mon, 22 Oct 2012 17:35:58 +0200 Paolo Bonzini wrote: > Il 22/10/2012 17:06, Luiz Capitulino ha scritto: > >> > Note that libvirt is currently working around the race by looping > >> > if the MigrationExpected answer is returned. After this patch, the > >> > command will return right away with

Re: [Qemu-devel] [PATCH v2 1/2] qmp: handle stop/cont in INMIGRATE state

2012-10-22 Thread Paolo Bonzini
Il 22/10/2012 17:06, Luiz Capitulino ha scritto: >> > Note that libvirt is currently working around the race by looping >> > if the MigrationExpected answer is returned. After this patch, the >> > command will return right away without ever raising an error. >> > >> > Signed-off-by: Paolo Bonzini

[Qemu-devel] [PATCH v2 1/2] qmp: handle stop/cont in INMIGRATE state

2012-10-19 Thread Paolo Bonzini
Right now, stop followed by an incoming migration will let the virtual machine start. cont before an incoming migration instead will fail. This is bad because the actual behavior is not predictable; it is racy with respect to the start of the incoming migration. That's because incoming migration