From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kcmds-0007LB-9y for qemu-devel@nongnu.org; Mon, 08 Sep 2008 15:43:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kcmdr-0007Jx-Fh for qemu-devel@nongnu.org; Mon, 08 Sep 2008 15:43:19 -0400 Received: from [199.232.76.173] (port=45480 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kcmdr-0007Jm-8B for qemu-devel@nongnu.org; Mon, 08 Sep 2008 15:43:19 -0400 Received: from mail2.shareable.org ([80.68.89.115]:46069) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kcmdq-0005CN-TT for qemu-devel@nongnu.org; Mon, 08 Sep 2008 15:43:19 -0400 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1Kcmdp-0003lk-BA for qemu-devel@nongnu.org; Mon, 08 Sep 2008 20:43:17 +0100 Date: Mon, 8 Sep 2008 20:43:17 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] opengl rendering in the sdl window Message-ID: <20080908194317.GB13612@shareable.org> References: <20080905165536.GA12606@redhat.com> <48C168CE.5040700@eu.citrix.com> <48C348D3.6070702@codemonkey.ws> <20080908134140.GF4947@shareable.org> <20080908134833.GQ2315@redhat.com> <48C53D24.8030803@redhat.com> <20080908150759.GB8465@shareable.org> <48C5463D.8090005@redhat.com> <20080908153951.GA9282@shareable.org> <48C55198.9020209@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C55198.9020209@redhat.com> 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 Gerd Hoffmann wrote: > > A nice thing about VNC-SHM would be the GUI could run on a different > > machine to the emulator (SHM not used then), since it only needs VNC > > and monitor, which can both be remote. > > For the remote case it certainly doesn't make sense to reinvent VNC. It doesn't make sense to use a completely different protocol in _every way_ for the local case than the remote case, does it? > But you'll probably use some management layer like libvirt anyway then, Nope. > ssh'ing into the remote machine for starting / stopping VM's isn't very > handy. I disagree: it's exactly the same as the local case in every respect, except you put the words "ssh host" before the qemu/kvm command you would have run locally. This holds even for a hypothetical GUI app running locally which wraps a VNC widget and has some QEMU control buttons. It just needs to know the qemu/kvm command it runs starts with "ssh host ...". If there was a GUI app which runs well locally - why would you want to use something completely different to control a VM which happens to run on another machine? That would be a really annoying and artificial distinction. The same GUI controls are useful in either case. > I'm targeting the local desktop use case. But maybe vnc + > shmem-extention works equally well here. It's worth a try. Personally I run a few local kvms and a few remote kvms and I can hardly tell the difference. Either way I run a kvm command, then a VNC client. (I stopped using SDL after accidentally killing VMs by clicking on the close button too many times.) -- Jamie