From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdPRQ-00059Y-EH for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:09:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdPRO-00057a-St for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:09:04 -0400 Received: from [199.232.76.173] (port=51834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdPRO-00057U-Kl for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:09:02 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:60853) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdPRO-0000CF-6T for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:09:02 -0400 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e36.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m8AD8nGN019892 for ; Wed, 10 Sep 2008 09:08:49 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8AD8hbd147554 for ; Wed, 10 Sep 2008 07:08:45 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8AJ8fR2024078 for ; Wed, 10 Sep 2008 13:08:41 -0600 Message-ID: <48C7C69E.9040400@us.ibm.com> Date: Wed, 10 Sep 2008 08:07:42 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op References: <1220989802-13706-1-git-send-email-aliguori@us.ibm.com> <1220989802-13706-3-git-send-email-aliguori@us.ibm.com> <48C76EB1.6040906@qumranet.com> In-Reply-To: <48C76EB1.6040906@qumranet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Chris Wright , Uri Lublin , qemu-devel@nongnu.org, kvm@vger.kernel.org Avi Kivity wrote: > Anthony Liguori wrote: >> Live migration happens in the background, but it is useful to make >> the monitor >> command appear as if it's blocking. This allows a management tool to >> immediately know when the live migration has completed without having >> to poll >> the migration status. >> >> This patch allows the monitor to be suspended from a monitor callback >> which >> will prevent new monitor commands from being executed. >> >> > > This means that migration is no longer transparent. While migration > is going on, you can't change the cdrom media, look at cpu registers, > or do anything that requires the monitor. On my TODO list is adding a '-d' option like we have in the KVM tree. It'll be there before it gets committed. Regards, Anthony Liguori > This both reduces the functionality and complicates management > applications. IMO migration should have asynchronous notification > (and no, I don't think multiple monitors is the correct solution). >