qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] add support for higher screen resolutions


From: Andreas Winkelbauer
Subject: [Qemu-devel] [PATCH] add support for higher screen resolutions
Date: Wed, 17 Sep 2008 18:50:24 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

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 <address@hidden>
---

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
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]