From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdPUf-0007G9-VU for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:12:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdPUd-0007Eh-0u for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:12:25 -0400 Received: from [199.232.76.173] (port=51978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdPUc-0007Ec-SL for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:12:22 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:54657) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdPUc-0000t5-LR for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:12:22 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m8ADCLQf008099 for ; Wed, 10 Sep 2008 09:12:21 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8ADCLbk176186 for ; Wed, 10 Sep 2008 09:12:21 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8ADCLRg012265 for ; Wed, 10 Sep 2008 09:12:21 -0400 Message-ID: <48C7C785.4000402@us.ibm.com> Date: Wed, 10 Sep 2008 08:11:33 -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> <20080910100127.GD2662@redhat.com> In-Reply-To: <20080910100127.GD2662@redhat.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: "Daniel P. Berrange" Cc: Chris Wright , Uri Lublin , qemu-devel@nongnu.org, kvm@vger.kernel.org Daniel P. Berrange wrote: > On Tue, Sep 09, 2008 at 02:49:54PM -0500, 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. >> > > If I'm understanding this correctly, this will cause the monitor to silently > drop & ignore any commands issued ? No. It's just like if a monitor command took a really long time. Regards, Anthony Liguori > Might it be better to have it print a > reply on the monitor along the lines of 'command not allowed while migration > is in progress' so people/apps interacting with the monitor understand why > it is not doing what they ask it to. > > Daniel >