From: Anthony Liguori Subject: Re: Re: [Qemu-devel] [PATCH 12/13] set vnc password from xenstore. Date: Thu, 21 Aug 2008 17:36:36 -0500 Message-ID: <48ADEDF4.40405@codemonkey.ws> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080821214806.GJ1531@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, Gerd Hoffmann , qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.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 >