From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fr1Ba-0003ad-FR for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:23:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fr1BZ-0003aR-Dt for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:23:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fr1BZ-0003aO-A5 for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:23:37 -0400 Received: from [66.187.233.31] (helo=mx1.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fr1L4-0008Il-63 for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:33:26 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5FNNQ55019067 for ; Thu, 15 Jun 2006 19:23:26 -0400 Received: from file.surrey.redhat.com (file.surrey.redhat.com [172.16.10.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5FNNP6I016755 for ; Thu, 15 Jun 2006 19:23:26 -0400 Received: (from berrange@localhost) by file.surrey.redhat.com (8.13.1/8.13.1/Submit) id k5FNNPFb006355 for qemu-devel@nongnu.org; Fri, 16 Jun 2006 00:23:25 +0100 Date: Fri, 16 Jun 2006 00:23:25 +0100 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] Doing a Tcl/Tk based frontend Message-ID: <20060615232325.GA5198@redhat.com> References: <4490310D.7060303@gmail.com> <44903504.1070707@gmx.de> <1150357642.5679.7.camel@excellence.kicks-ass.net> <9b0d5f320606150618q25cd2b51v6a2ee6fc951f26b9@mail.gmail.com> <44916C36.50505@gmail.com> <4491C457.2080402@gmail.com> <4491DF66.2090304@gmx.de> <1150411933.3016.26.camel@mjolnir> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1150411933.3016.26.camel@mjolnir> Reply-To: "Daniel P. Berrange" , 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 On Thu, Jun 15, 2006 at 05:52:14PM -0500, John Morris wrote: > On Thu, 2006-06-15 at 17:29, Oliver Gerlich wrote: > > > If you are familiar with Tcl/Tk, maybe you could give some hints on how > > to embed the Qemu window into such an app? > > Embedding the emulator's window might not be the best way to attack the > problem. Especially since you would need to be able to detach it to be > able to go full screen. I have pondered the Tk frontend idea before so > lemme dump my random thoughts on the subject and see how many holes get > punched in em. With the new VNC server capability there is no need to embed the emulator's existing window. You can just have a GTK/QT widget which acts as a VNC client taking the video feed & displaying directly within the GUI management app. Similarly you can redirect the QEMU monitor console to a UNIX pipe when lauching QEMU, so the management app can fully control the QEMU engine to do suspend/resume, snapshots, media changesi. I wrote an GUI app in Python which did the latter already: http://people.redhat.com/berrange/olpc/sdk/olpc-qemu-admin-demo.html At the time I wrote it there wasn't any VNC support in QEMU, so I couldn't hook up the display, but with the 0.8.1 release it wouldn't be much effort to embed the display directly in the app via VNC. So I don't think there are any changes required in QEMU itself to be able to create a fully featured QEMU frontend easily on a par with VMWare Desktop, if not better. Regards. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|