Received: from eggs.gnu.org ([140.186.70.92]:33172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPF9y-0008DN-6y for qemu-devel@nongnu.org; Wed, 25 May 2011 10:34:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPF9x-0001jT-4p for qemu-devel@nongnu.org; Wed, 25 May 2011 10:34:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPF9w-0001j6-UC for qemu-devel@nongnu.org; Wed, 25 May 2011 10:34:05 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4PEY4Vo004005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 May 2011 10:34:04 -0400 Date: Wed, 25 May 2011 17:33:59 +0300 From: Alon Levy Message-ID: <20110525143358.GI31654@playa.tlv.redhat.com> References: <1306331629-31041-1-git-send-email-alevy@redhat.com> <4DDD0CCB.2000005@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DDD0CCB.2000005@redhat.com> Subject: Re: [Qemu-devel] [RFC] reduce reported VGA framebuffer to 8 MiB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Wed, May 25, 2011 at 04:06:03PM +0200, Gerd Hoffmann wrote: > On 05/25/11 15:53, Alon Levy wrote: > >Without this windows xp guests set a 4 bits per pixel graphics mode. > > Hmm? Never seen this. Details please. When I start a windows xp guest with -vga qxl and no qxl driver installed I get a 16 color (4 bits) display mode, you notice it straight away because it's just ugly. When I looked at the VBE calls the only difference between the calls done with -vga qxl and -vga std seemed to be the reported size (reported in 64K chunks, so for qxl the val is 0x400 by default, and for std vga it is 0x80). With this patch windows sets the right mode (32 bit color). Actually it seems this patch make the qxl driver refuse to load, I'm trying to figure out why (or if in fact it's this patch). > > cheers, > Gerd >