From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH] Add VirtIO Frame Buffer Support Date: Tue, 3 Nov 2009 08:50:13 +0100 Message-ID: <8EA2855E-4209-4CCA-9E87-1D652A72F8FE@suse.de> References: <1257199759-2941-1-git-send-email-agraf@suse.de> <4AEFCBED.50804@redhat.com> <4AEFCCBA.9050408@redhat.com> <8BA1853F-11C9-44B1-9FDB-1DFDAED40E1B@suse.de> <4AEFCEDA.4030308@redhat.com> <87F51670-CB3F-431C-87B4-A8746F996C6F@suse.de> <4AEFDF35.3020806@redhat.com> Mime-Version: 1.0 (Apple Message framework v1076) Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4AEFDF35.3020806@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed"; delsp="yes" To: Avi Kivity Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org, linux-fbdev-devel@lists.sourceforge.net, anthony@codemonkey.ws On 03.11.2009, at 08:43, Avi Kivity wrote: > On 11/03/2009 08:39 AM, Alexander Graf wrote: >> >> On 03.11.2009, at 07:34, Avi Kivity wrote: >> >>> On 11/03/2009 08:27 AM, Alexander Graf wrote: >>>> >>>>> How does it work today? >>>> >>>> You boot into a TERM=dumb line based emulation on 3270 (worst >>>> thing haunting people's nightmares ever), trying to get out of >>>> that mode as quickly as possible and off into SSH / VNC. >>> >>> Despite the coolness factor, IMO a few minutes during install time >>> do not justify a new hardware model and a new driver. >> >> It's more than just coolness factor. There are use cases out there (www.susestudio.com >> ) that don't want to rely on the guest exporting a VNC server to >> the outside just to access graphics. > > Instead you rely on the guest using virtio-fb. Since we have to make > guest modifications, why not go for the simpler ones? Ok, imagine this was not this unloved S390 odd architecture but X86. The only output choices you have are: 1) virtio-console 2) VNC / SSH over network 3) virtio-fb Now you want to configure a server, probably using yast and all those nice graphical utilities, but still enable a firewall so people outside don't intrude your machine. Well, you managed to configure the firewall by luck to allow VNC, but now you reconfigured it and something broke - but VNC was your only chance to access the machine. Oops... >> You also want to see boot messages, have a console login screen, > > virtio-console does that, except for the penguins. Better, since > you can scroll back. It doesn't do graphics. Ever used yast in text mode? >> be able to debug things without switching between virtio-console >> and vnc, etc. etc. > > Render virtio-console on your vnc session. We do that already, no? > (well, the host's vnc session, not the guest's). Yes, we do that. Still doesn't buy you graphics. >> The hardware model isn't exactly new either. It's just the next >> logical step to a full PV machine using virtio. If the virtio-fb >> stuff turns out to be really fast and reliable, I could even >> imagine it being the default target for kvm on ppc as well, as we >> can't switch resolutions on the fly there atm. >> > > We could with vmware-vga. The vmware-port stuff is pretty much tied onto X86. I don't think modifying EAX is that easy on PPC ;-). >>> Why? the guest will typically have networking when it's set up, >>> so it should have network access during install. You can easily >>> use slirp redirection and the built-in dhcp server to set this up >>> with relatively few hassles. >> >> That's how I use it right now. It's no fun. >> > > The toolstack should hide the unfun parts. You can't hide guest configuration. We as a distribution control the kernel. We don't control the user's configuration as that's by design the user's choice. The only thing we can do is give users meaningful choices to choose from - and having graphics available is definitely one of them. Seriously, try to ask someone internally to get access to an S390. I think you'll understand my motivations a lot better after having used it for a bit. Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5E9u-0003P0-BN for qemu-devel@nongnu.org; Tue, 03 Nov 2009 02:50:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5E9p-0003LY-MJ for qemu-devel@nongnu.org; Tue, 03 Nov 2009 02:50:30 -0500 Received: from [199.232.76.173] (port=53886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5E9p-0003LE-Dl for qemu-devel@nongnu.org; Tue, 03 Nov 2009 02:50:25 -0500 Received: from mx20.gnu.org ([199.232.41.8]:35130) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5E9o-00043C-Sc for qemu-devel@nongnu.org; Tue, 03 Nov 2009 02:50:25 -0500 Received: from cantor2.suse.de ([195.135.220.15] helo=mx2.suse.de) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5E9n-0001d1-UB for qemu-devel@nongnu.org; Tue, 03 Nov 2009 02:50:24 -0500 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Alexander Graf In-Reply-To: <4AEFDF35.3020806@redhat.com> Date: Tue, 3 Nov 2009 08:50:13 +0100 Content-Transfer-Encoding: 7bit Message-Id: <8EA2855E-4209-4CCA-9E87-1D652A72F8FE@suse.de> References: <1257199759-2941-1-git-send-email-agraf@suse.de> <4AEFCBED.50804@redhat.com> <4AEFCCBA.9050408@redhat.com> <8BA1853F-11C9-44B1-9FDB-1DFDAED40E1B@suse.de> <4AEFCEDA.4030308@redhat.com> <87F51670-CB3F-431C-87B4-A8746F996C6F@suse.de> <4AEFDF35.3020806@redhat.com> Subject: [Qemu-devel] Re: [PATCH] Add VirtIO Frame Buffer Support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: linux-fbdev-devel@lists.sourceforge.net, qemu-devel@nongnu.org, kvm@vger.kernel.org On 03.11.2009, at 08:43, Avi Kivity wrote: > On 11/03/2009 08:39 AM, Alexander Graf wrote: >> >> On 03.11.2009, at 07:34, Avi Kivity wrote: >> >>> On 11/03/2009 08:27 AM, Alexander Graf wrote: >>>> >>>>> How does it work today? >>>> >>>> You boot into a TERM=dumb line based emulation on 3270 (worst >>>> thing haunting people's nightmares ever), trying to get out of >>>> that mode as quickly as possible and off into SSH / VNC. >>> >>> Despite the coolness factor, IMO a few minutes during install time >>> do not justify a new hardware model and a new driver. >> >> It's more than just coolness factor. There are use cases out there (www.susestudio.com >> ) that don't want to rely on the guest exporting a VNC server to >> the outside just to access graphics. > > Instead you rely on the guest using virtio-fb. Since we have to make > guest modifications, why not go for the simpler ones? Ok, imagine this was not this unloved S390 odd architecture but X86. The only output choices you have are: 1) virtio-console 2) VNC / SSH over network 3) virtio-fb Now you want to configure a server, probably using yast and all those nice graphical utilities, but still enable a firewall so people outside don't intrude your machine. Well, you managed to configure the firewall by luck to allow VNC, but now you reconfigured it and something broke - but VNC was your only chance to access the machine. Oops... >> You also want to see boot messages, have a console login screen, > > virtio-console does that, except for the penguins. Better, since > you can scroll back. It doesn't do graphics. Ever used yast in text mode? >> be able to debug things without switching between virtio-console >> and vnc, etc. etc. > > Render virtio-console on your vnc session. We do that already, no? > (well, the host's vnc session, not the guest's). Yes, we do that. Still doesn't buy you graphics. >> The hardware model isn't exactly new either. It's just the next >> logical step to a full PV machine using virtio. If the virtio-fb >> stuff turns out to be really fast and reliable, I could even >> imagine it being the default target for kvm on ppc as well, as we >> can't switch resolutions on the fly there atm. >> > > We could with vmware-vga. The vmware-port stuff is pretty much tied onto X86. I don't think modifying EAX is that easy on PPC ;-). >>> Why? the guest will typically have networking when it's set up, >>> so it should have network access during install. You can easily >>> use slirp redirection and the built-in dhcp server to set this up >>> with relatively few hassles. >> >> That's how I use it right now. It's no fun. >> > > The toolstack should hide the unfun parts. You can't hide guest configuration. We as a distribution control the kernel. We don't control the user's configuration as that's by design the user's choice. The only thing we can do is give users meaningful choices to choose from - and having graphics available is definitely one of them. Seriously, try to ask someone internally to get access to an S390. I think you'll understand my motivations a lot better after having used it for a bit. Alex