From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3dPz-0001M4-4a for qemu-devel@nongnu.org; Mon, 11 May 2009 17:52:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3dPr-0001Hw-7h for qemu-devel@nongnu.org; Mon, 11 May 2009 17:52:12 -0400 Received: from [199.232.76.173] (port=54950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3dPq-0001Ht-NY for qemu-devel@nongnu.org; Mon, 11 May 2009 17:52:06 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:52141) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3dPq-0000CR-8e for qemu-devel@nongnu.org; Mon, 11 May 2009 17:52:06 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e38.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n4BLnLN4024807 for ; Mon, 11 May 2009 15:49:21 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4BLq1KM151872 for ; Mon, 11 May 2009 15:52:01 -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 n4BLq1Yn018522 for ; Mon, 11 May 2009 15:52:01 -0600 Message-ID: <4A089DFF.6000203@us.ibm.com> Date: Mon, 11 May 2009 16:51:59 -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> <1242075280.29194.117.camel@slate.austin.ibm.com> In-Reply-To: <1242075280.29194.117.camel@slate.austin.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hollis Blanchard Cc: libvir-list@redhat.com, "Richard W.M. Jones" , Jan Kiszka , qemu-devel@nongnu.org, Avi Kivity Hollis Blanchard wrote: > On Wed, 2009-04-08 at 13:34 -0500, Anthony Liguori wrote: > >> Right now only one monitor device can be enabled at a time. In order to support >> asynchronous notification of events, I would like to introduce a 'wait' command >> that waits for an event to occur. This implies that we need an additional >> monitor session to allow commands to still be executed while waiting for an >> asynchronous notification. >> > > Was there any consensus reached in this thread? I'm once again looking > for ways to communicate qemu watchdog events to libvirt. > We can do multiple monitors as a debugging tool, but to support events, a proper machine monitor mode is a prerequisite. The real requirement is that events are obtainable via a single communication channel instead of requiring two separate communication channels. Internal implementation will look at lot like these patches. The reasoning for requiring a single channel is that coordinating between the two channels is expected to be prohibitively difficult. To have a single channel, we need a machine mode. It cannot be done in a human readable fashion. I think this summarizes the consensus we reached. I don't agree fully with the above but I'm okay with it. Would you agree Avi? -- Regards, Anthony Liguori