From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrwMb-0002d7-Ud for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:40:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrwMX-0002Va-Ck for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:40:25 -0400 Received: from [199.232.76.173] (port=36673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrwMW-0002VM-SM for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:40:20 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:40095) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrwMW-0001TV-Hb for qemu-devel@nongnu.org; Thu, 09 Apr 2009 11:40:20 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n39FVYkW031800 for ; Thu, 9 Apr 2009 11:31:34 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n39FeGLZ191822 for ; Thu, 9 Apr 2009 11:40:16 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n39FcbPI018037 for ; Thu, 9 Apr 2009 11:38:37 -0400 Message-ID: <49DE16DE.6030206@us.ibm.com> Date: Thu, 09 Apr 2009 10:40:14 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/6] Allow multiple monitor devices (v2) References: <1239215702-23818-1-git-send-email-aliguori@us.ibm.com> <49DDAF9F.7040400@redhat.com> <49DDF807.1050707@us.ibm.com> <49DDFAD5.7060808@redhat.com> <49DDFC5C.4080504@us.ibm.com> <49DE0042.9050103@redhat.com> <49DE0271.8090103@us.ibm.com> <49DE05F2.5060304@redhat.com> <49DE0673.3070501@us.ibm.com> <49DE081D.1030702@redhat.com> <49DE0CF2.3060307@us.ibm.com> <49DE1029.3030909@redhat.com> In-Reply-To: <49DE1029.3030909@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: Avi Kivity Cc: libvir-list@redhat.com, Jan Kiszka , qemu-devel@nongnu.org, Hollis Blanchard Avi Kivity wrote: > I'm sorry, I don't see why. It's just like a shell session. > > Compare with: > > Monitor 1: > (qemu) notify enospace on > (qemu) notify vnc-connect on > (qemu) notify migration-completion on > (qemu) migrate -d ... > (qemu) migrate_cancel > (qemu) migrate -d ... > > > Monitor 2: > (qemu) wait > vnc connection ... > (qemu) wait > enospc on ide0-0 > (qemu) wait > migration cancelled > (qemu) wait > notification: migration completed > > There is no way to tell by looking what has happened (well, in this > case you can, but in the general case you cannot). You have to look > at two separate interactive sessions (ctrl-alt-2 ctrl-alt-3 > ctrl-alt-3). You have to keep reissuing the wait command. Oh, and > it's racy, so if you're interested in what really happens you have to > issue info commands on session 1. How is it less racy? -- Regards, Anthony Liguori