From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fr1L7-0006C0-UZ for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:33:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fr1L5-0006BW-Ib for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:33:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fr1L5-0006BT-C4 for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:33:27 -0400 Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1Fr1Ua-0000R4-2t for qemu-devel@nongnu.org; Thu, 15 Jun 2006 19:43:16 -0400 Message-ID: <4491EE46.9070702@gmx.de> Date: Fri, 16 Jun 2006 01:33:26 +0200 From: Oliver Gerlich MIME-Version: 1.0 Subject: Re: [Qemu-devel] Doing a Tcl/Tk based frontend 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> <20060615232325.GA5198@redhat.com> In-Reply-To: <20060615232325.GA5198@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 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: "Daniel P. Berrange" , qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel P. Berrange schrieb: > 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. VNC is a good idea... But isn't it a bit "laggy" for this purpose? I think people accept a laggy mouse cursor in a VNC window that comes over the network, but won't really accept that in virtual machine that's running directly on their desktop. OTOH, I'm no VNC expert :) and maybe there are tricks to speed this up?! Regards, Oliver -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEke5ATFOM6DcNJ6cRAoRrAKCh1pM+Ig5WTv4ZeoGSvkjtT7M/mACeM1XL iH7ztKK9+HwNsnO5EA0XqBA= =gGkF -----END PGP SIGNATURE-----