From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EF24X-0001MT-3e for qemu-devel@nongnu.org; Tue, 13 Sep 2005 00:07:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EF24W-0001M0-53 for qemu-devel@nongnu.org; Tue, 13 Sep 2005 00:07:04 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EF1z7-0000bO-U8 for qemu-devel@nongnu.org; Tue, 13 Sep 2005 00:01:30 -0400 Received: from [32.97.110.129] (helo=e31.co.us.ibm.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EF1jn-0008PF-8F for qemu-devel@nongnu.org; Mon, 12 Sep 2005 23:45:39 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e31.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j8D3jXXo206486 for ; Mon, 12 Sep 2005 23:45:33 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j8D3jwZh534342 for ; Mon, 12 Sep 2005 21:45:58 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j8D3jWbY010633 for ; Mon, 12 Sep 2005 21:45:32 -0600 Received: from [9.65.127.77] (sig-9-65-127-77.mts.ibm.com [9.65.127.77]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j8D3jWHM010613 for ; Mon, 12 Sep 2005 21:45:32 -0600 Message-ID: <43264B59.8090808@us.ibm.com> Date: Mon, 12 Sep 2005 22:45:29 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: QEMU 0.7.2 References: <431B2E78.9020902@bellard.org> <20050908141852.GA26873@jbrown.mylinuxbox.org> <43261E56.3030406@us.ibm.com> <20050913025614.GB21668@jbrown.mylinuxbox.org> In-Reply-To: <20050913025614.GB21668@jbrown.mylinuxbox.org> 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: qemu-devel@nongnu.org Jim C. Brown wrote: >On Mon, Sep 12, 2005 at 07:33:26PM -0500, Anthony Liguori wrote: > > >>What's more, it seems like the easiest way, given the >>way QEMU currently works, to have an advanced GUI that can manage >>multiple instances of QEMU (using tabs or something like that). >> >> >> > >I'm working on something like that (though I stole the idea from Q, the Mac OS X >Cocoa GUI for qemu). The way it works, one master qemu process creates the >actual window (with full GUI and etc), as well as a VM for one guest. In order >to handle multiple guests, subprocesses are spawned (so one VM per process) but >they display to the GUI of the master process. (Actually, this is implemented >using GtkSocket and GtkPlug.) Currently you'll only be able to see one guest >at a time (though you can switch among them at any time), but I plan on adding >support for using multiple windows later (all windows would be owned and controlled by >the same master process). > > If I understand this correctly, you have multiple processes displaying to the same widget? Seems like it would be a lot easier if each process had it's own Socket/Plug pair and then just make use of something like GtkNotebook. >>There can then be separate GTK/QT guis without QEMU having to support >>both widget sets. >> >> > >Or either (except some minimal GDK and the GtkPlug). There are definite >advantages to going this route. > > Yeah, I do like this approach quite a bit. My only concern would be the performance of XShmImage vs whatever SDL is using. Regards, Anthony Liguori