From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZwCT-00085s-Jg for qemu-devel@nongnu.org; Tue, 17 Oct 2006 17:10:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZwCQ-0007yC-Cp for qemu-devel@nongnu.org; Tue, 17 Oct 2006 17:10:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZwCQ-0007xX-42 for qemu-devel@nongnu.org; Tue, 17 Oct 2006 17:10:10 -0400 Received: from [82.195.224.25] (helo=mail.genotec.ch) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GZwCP-00070s-Ra for qemu-devel@nongnu.org; Tue, 17 Oct 2006 17:10:10 -0400 Received: from [192.168.1.10] (33.241.76.83.cust.bluewin.ch [83.76.241.33]) by mail.genotec.ch (Postfix) with ESMTP id 827BB16C6B52 for ; Tue, 17 Oct 2006 23:09:58 +0200 (CEST) Subject: Re: [Qemu-devel] Re: [RFC] qemu-gui based on wxWidgets and libvncclient From: Marc =?ISO-8859-1?Q?Andr=E9?= Tanner In-Reply-To: <453302D1.3040500@cs.utexas.edu> References: <1160670903.5105.3.camel@myubuntu.brain-dump.org> <453302D1.3040500@cs.utexas.edu> Content-Type: text/plain; charset=iso-8859-15 Date: Tue, 17 Oct 2006 23:10:00 +0200 Message-Id: <1161119400.8197.9.camel@myubuntu.brain-dump.org> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 On Sun, 2006-10-15 at 22:56 -0500, Anthony Liguori wrote: > Marc Andr=E9 Tanner wrote: > > Hi, > >=20 > > During the last few weeks i was playing around with the idea to > > implement a GUI for qemu and so this is what i came up with. >=20 > Cool. You should checkout virt-manager. It has much the same mission=20 > as what you describe. Ok, i will check it out, what is the state of the libvirt backend for qemu? > > Since i am still pretty new to C/C++ development (in fact i would cal= l > > this my first real world C++ application) and not familiar with qemu > > internals i decided to implement the GUI independent of qemu itself. = So > > from a technically point of view i just call qemu with arguments to > > redirect the monitor to stdio and to export the display to vnc (-moni= tor > > stdio -vnc display). I then try to capture and embed the vnc display > > within the GUI that's where libvncclient[1] comes in. >=20 > I have no experience with libvncclient. I think the general idea of=20 > using VNC to create an external QEMU GUI is a good one. =20 Yep, although the performance will obviously be a bit slower. > Previously, I=20 > had posted some patches for a shmem GUI that used a custom control=20 > channel. After hacking on that for a little bit based on some feedback= ,=20 > I've come full circle and am now under the view that extending VNC is a= =20 > better long term approach. >=20 > So, I've reserved some pseudo-encodings and a client message type and a= m=20 > now working on some VNC extensions to enable better QEMU integration. >=20 > My current client code is available at: >=20 > http://hg.codemonkey.ws/vnc-gui/ >=20 > The VNC extensions are still a work in progress but documentation is he= re: >=20 > http://tocm.wikidot.com/vncextensions >=20 > Regards, >=20 > Anthony Liguori If i find some time, i will take a look at it. Anyway if someone has comments about my libvncclient based code, please share them. Regards, Marc