Re: [Qemu-devel] [PATCH] Reorganize and fix monitor resume after migration

2011-08-05 Thread Anthony Liguori
On 08/05/2011 02:11 AM, Jan Kiszka wrote: From: Jan Kiszka If migration failed in migrate_fd_put_buffer, the monitor may have been resumed not only in the error path of that function but also once again in migrate_fd_put_ready which is called unconditionally by migrate_fd_connect. Fix this by e

Re: [Qemu-devel] [PATCH] Reorganize and fix monitor resume after migration

2011-08-05 Thread Michael Tokarev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 05.08.2011 11:11, Jan Kiszka wrote: > From: Jan Kiszka > > If migration failed in migrate_fd_put_buffer, the monitor may have been > resumed not only in the error path of that function but also once again > in migrate_fd_put_ready which is called unc

[Qemu-devel] [PATCH] Reorganize and fix monitor resume after migration

2011-08-05 Thread Jan Kiszka
From: Jan Kiszka If migration failed in migrate_fd_put_buffer, the monitor may have been resumed not only in the error path of that function but also once again in migrate_fd_put_ready which is called unconditionally by migrate_fd_connect. Fix this by establishing a cleaner policy: the monitor s