From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpEpX-00077q-EQ for qemu-devel@nongnu.org; Fri, 05 Aug 2011 03:28:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpEpT-00029t-50 for qemu-devel@nongnu.org; Fri, 05 Aug 2011 03:28:27 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:41999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpEpS-00029i-TS for qemu-devel@nongnu.org; Fri, 05 Aug 2011 03:28:23 -0400 Message-ID: <4E3B9B95.9010708@msgid.tls.msk.ru> Date: Fri, 05 Aug 2011 11:28:21 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <4E3B979E.8030402@web.de> In-Reply-To: <4E3B979E.8030402@web.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Reorganize and fix monitor resume after migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Marcelo Tosatti , qemu-devel , Luiz Capitulino -----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 unconditionally by > migrate_fd_connect. > > Fix this by establishing a cleaner policy: the monitor shall be resumed > when the migration file is closed, either via callback > (migrate_fd_close) or in migrate_fd_cleanup if no file is open (i.e. no > callback invoked). > > Signed-off-by: Jan Kiszka Reported-By: Michael Tokarev Tested-By: Michael Tokarev This is a good candidate for 0.12, 0.14 and 0.15... ;) Thank you ! /mjt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iJwEAQECAAYFAk47m5UACgkQUlPFrXTwyDgUKAP/ZsVlWiCKmcMhRSItuR6rIT/K k/JY4FwARVpBdv6zVFPsLX4UgsPbC6QfUsYjgZtWhSaiboyi7rRAj75OEipYjBqu IWgBXmXwt6ATxsxC7ffrUtO15QXABmaQyYjBGI+EzJZdKPuzjEfm5wFgHr0+epDn 4svPOur4pC6ttDT3Ldc= =sHNU -----END PGP SIGNATURE-----