From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6pUl-0006im-GD for qemu-devel@nongnu.org; Tue, 27 Apr 2010 14:26:55 -0400 Received: from [140.186.70.92] (port=50180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6pUk-0006hn-57 for qemu-devel@nongnu.org; Tue, 27 Apr 2010 14:26:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6pUh-0005BF-KK for qemu-devel@nongnu.org; Tue, 27 Apr 2010 14:26:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37894) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6pUh-0005As-Dv for qemu-devel@nongnu.org; Tue, 27 Apr 2010 14:26:51 -0400 Date: Tue, 27 Apr 2010 15:26:40 -0300 From: Luiz Capitulino Subject: Re: [Qemu-devel] Multiple monitor interfaces? Message-ID: <20100427152640.447f7390@redhat.com> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jun Koi Cc: qemu-devel@nongnu.org On Tue, 27 Apr 2010 23:23:45 +0900 Jun Koi wrote: > Hi, > > I am wondering if is it possible to have multiple monitor interfaces > at the same time? If so, how can we open more than one? The following command will create three monitors (stdio, vc and telnet on port 4444): # qemu [...] -chardev stdio,id=mon0 -mon chardev=mon0,mode=readline \ -chardev socket,id=mon1,host=localhost,port=4444,server \ -mon chardev=mon1,mode=readline \ -chardev vc,id=mon2 -mon chardev=mon2,mode=readline > This might be useful for something like libvirt, so while we leave one > monitor port for libvirt, we can still access to another one to > control Qemu? Historically, libvirt had support to only one monitor: the one it uses. But now they're working on supporting custom command-line options, so adding new monitors should be possible I think. Also, you can point libvirt to a script that opens an additional monitor for you, some developers do this afaik.