From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op Date: Wed, 10 Sep 2008 08:07:42 -0500 Message-ID: <48C7C69E.9040400@us.ibm.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, Chris Wright , Uri Lublin , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from e1.ny.us.ibm.com ([32.97.182.141]:50764 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635AbYIJNKU (ORCPT ); Wed, 10 Sep 2008 09:10:20 -0400 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m8ADAEIp002675 for ; Wed, 10 Sep 2008 09:10:14 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m8AD8rUF2052142 for ; Wed, 10 Sep 2008 09:08:57 -0400 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 m8AJ8fR8024078 for ; Wed, 10 Sep 2008 13:08:43 -0600 In-Reply-To: <48C76EB1.6040906@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: 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). >