From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWImT-0005un-Gm for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:37:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWImS-0005tc-2f for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:37:25 -0400 Received: from [199.232.76.173] (port=42721 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWImR-0005tZ-R7 for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:37:23 -0400 Received: from py-out-1112.google.com ([64.233.166.179]:15428) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWImR-0000hR-DO for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:37:23 -0400 Received: by py-out-1112.google.com with SMTP id p76so141881pyb.10 for ; Thu, 21 Aug 2008 15:37:23 -0700 (PDT) Message-ID: <48ADEDF4.40405@codemonkey.ws> Date: Thu, 21 Aug 2008 17:36:36 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH 12/13] set vnc password from xenstore. References: <1219336054-15919-1-git-send-email-kraxel@redhat.com> <1219336054-15919-13-git-send-email-kraxel@redhat.com> <48ADCCA2.8050201@codemonkey.ws> <20080821201955.GG1531@redhat.com> <48ADCE91.2070602@codemonkey.ws> <48ADDF71.5040209@redhat.com> <20080821214806.GJ1531@redhat.com> In-Reply-To: <20080821214806.GJ1531@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: xen-devel@lists.xensource.com, Gerd Hoffmann , qemu-devel@nongnu.org Daniel P. Berrange wrote: > On Thu, Aug 21, 2008 at 11:34:41PM +0200, Gerd Hoffmann wrote: > >> Hi, >> >> Multiple monitor instances would be very useful anyway. >> >> Right now there is no way to use the monitor for libvirt-managed qemu >> instances because libvirt uses the monitor. Being able to both use >> libvirt *and* have a monitor prompt to type commands would be great. >> > > I disagree - that means you'll no longer be able to trust what libvirt > tells you about the VM, and libvirt won't have a guarenteed consistent > view of the VM's state because things will be changed behind its back. > A nice side effect of having multiple monitors is that you can implement a proper 'select' command. This command would block and tell you about asynchronous events (like guest CD-ROM ejecting). You could use this mechanism to notify libvirt when things changed because of other monitors too. It's more work though from a libvirt perspective and you probably don't want users screwing around in the monitor anyway. Regards, Anthony Liguori > Daniel >