From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: KVM usability Date: Mon, 01 Mar 2010 09:36:04 -0600 Message-ID: <4B8BDEE4.2050104@codemonkey.ws> References: <1267089644.12790.74.camel@laptop> <1267152599.1726.76.camel@localhost> <20100226090147.GH15885@elte.hu> <4B879A2F.50203@redhat.com> <20100226103545.GA7463@elte.hu> <4B87A6BF.3090301@redhat.com> <20100226111734.GE7463@elte.hu> <4B8813F2.8090208@redhat.com> <20100227105643.GA17425@elte.hu> <4B893B2B.40301@redhat.com> <20100301092515.GA3163@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Zachary Amsden , Avi Kivity , "Zhang, Yanmin" , Peter Zijlstra , ming.m.lin@intel.com, sheng.yang@intel.com, Jes Sorensen , KVM General , Gleb Natapov , Arnaldo Carvalho de Melo , Fr??d??ric Weisbecker , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , Arjan van de Ven To: Ingo Molnar Return-path: Received: from mail-qy0-f179.google.com ([209.85.221.179]:43650 "EHLO mail-qy0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056Ab0CAPgK (ORCPT ); Mon, 1 Mar 2010 10:36:10 -0500 Received: by qyk9 with SMTP id 9so1359906qyk.5 for ; Mon, 01 Mar 2010 07:36:09 -0800 (PST) In-Reply-To: <20100301092515.GA3163@elte.hu> Sender: kvm-owner@vger.kernel.org List-ID: On 03/01/2010 03:25 AM, Ingo Molnar wrote: > * Zachary Amsden wrote: > > >>> Here's my experience with it: >>> >>> - qemu-kvm starts up with a miniature resolution by default. 640x480 - on my >>> 1680x1050 laptop screen. It's so small that initially i even overlooked >>> that i started it. It should multiplex pixels up to a reasonable screen >>> size by default. >>> >> No virtualization emulator today does this, it is not a reasonable thing to >> do. Unless you are running compiz and use hardware scaling. We should look >> into it. >> > I tried VirtualBox and it does something sane here: while it does not give a > larger guest screen area, it at least creates a large enough X window, with > any border area whited out. > > That looks far more pleasing aesthetically than the Qemu method of resizing > the full window wildly. The guest still resizes, but it stays within the same > X window and the border is white. > > Also, with Windows guests, the Windows side resolution resizes dynamically if > the window is grown/shrunk by the user. (I suspect that is done via a paravirt > driver on the guest side, through 'Guest Additions'.) > We have to core pieces to do this in qemu. The vmware vga driver supports this and it just takes a small userspace program to resize the VGA on demand. The problem is, you need a way to communicate from the host to the guest's userspace. We did not have a mechanism until very recently (virtio-serial) because we've encountered a ton of resistance within the kernel community for the things we've proposed. VirtualBox gets around this by just shipping their own Linux drivers. Regards, Anthony Liguori > Ingo >