From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kg0Eg-0002Tp-Rp for qemu-devel@nongnu.org; Wed, 17 Sep 2008 12:50:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kg0Ef-0002TF-6O for qemu-devel@nongnu.org; Wed, 17 Sep 2008 12:50:38 -0400 Received: from [199.232.76.173] (port=59689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg0Ef-0002T9-33 for qemu-devel@nongnu.org; Wed, 17 Sep 2008 12:50:37 -0400 Received: from mail.gmx.net ([213.165.64.20]:34893) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kg0Ed-00083s-Ss for qemu-devel@nongnu.org; Wed, 17 Sep 2008 12:50:36 -0400 Message-ID: <48D13550.8000707@gmx.at> Date: Wed, 17 Sep 2008 18:50:24 +0200 From: Andreas Winkelbauer MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050100060404080908030007" Subject: [Qemu-devel] [PATCH] add support for higher screen resolutions Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------050100060404080908030007 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This patch introduces changes which are necessary for using qemu with higher screen resolutions than 1600x1200 (with -std-vga). In addition to this patch, the vgabios needs to be regenerated to support higher resolutions too. A corresponding patch for the vgabios has been submitted to Volker Ruppert. kvm carries this patch since kvm-62 (commit aaf6c43f811309b3f0546dd74b2543af2fad7f02). Signed-off-by: Andreas Winkelbauer --- Since I do not know how you usually generate the vgabios I will send the patch for it also to the qemu list. I hope Volker Ruppert will pick up the patch, so that one could use the upstream version of vgabios directly. bye, Andi --------------050100060404080908030007 Content-Type: text/x-patch; name="qemu-widescreen.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qemu-widescreen.patch" diff -uNrp trunk.orig/hw/pc.h trunk/hw/pc.h --- trunk.orig/hw/pc.h 2008-09-17 02:11:50.000000000 +0200 +++ trunk/hw/pc.h 2008-09-17 02:22:03.000000000 +0200 @@ -110,9 +110,9 @@ int piix4_init(PCIBus *bus, int devfn); /* vga.c */ #ifndef TARGET_SPARC -#define VGA_RAM_SIZE (8192 * 1024) +#define VGA_RAM_SIZE (16 * 1024 * 1024) #else -#define VGA_RAM_SIZE (9 * 1024 * 1024) +#define VGA_RAM_SIZE (17 * 1024 * 1024) #endif int isa_vga_init(DisplayState *ds, uint8_t *vga_ram_base, diff -uNrp trunk.orig/hw/vga_int.h trunk/hw/vga_int.h --- trunk.orig/hw/vga_int.h 2008-09-17 02:11:49.000000000 +0200 +++ trunk/hw/vga_int.h 2008-09-17 02:21:43.000000000 +0200 @@ -30,8 +30,8 @@ /* bochs VBE support */ #define CONFIG_BOCHS_VBE -#define VBE_DISPI_MAX_XRES 1600 -#define VBE_DISPI_MAX_YRES 1200 +#define VBE_DISPI_MAX_XRES 2560 +#define VBE_DISPI_MAX_YRES 1600 #define VBE_DISPI_MAX_BPP 32 #define VBE_DISPI_INDEX_ID 0x0 --------------050100060404080908030007--