]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Revert "ioemu: drop unused 4MB video memory"
authorIan Jackson <iwj@mariner.uk.xensource.com>
Mon, 14 Jul 2008 12:13:26 +0000 (13:13 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 14 Jul 2008 12:13:26 +0000 (13:13 +0100)
This reverts commit 2b7a55d6133cae388c0b506ba6f0110bbf9a9318.

This has various compatibility problems, including breaking
restoration of old images.  It is also likely that we will want to
increase this amount in the future.

hw/pc.h

diff --git a/hw/pc.h b/hw/pc.h
index 5a28cd2543155ac9875cbc22b921048fb5aab707..a78e0393bdb739ee46e925868e1a4faa5bcecdee 100644 (file)
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -115,9 +115,7 @@ int piix4_init(PCIBus *bus, int devfn);
 
 /* vga.c */
 
-#if defined(CONFIG_DM)
-#define VGA_RAM_SIZE (4096 * 1024)
-#elif !defined(TARGET_SPARC)
+#ifndef TARGET_SPARC
 #define VGA_RAM_SIZE (8192 * 1024)
 #else
 #define VGA_RAM_SIZE (9 * 1024 * 1024)