From: Keir Fraser Date: Thu, 10 Jul 2008 16:32:17 +0000 (+0100) Subject: ioemu: drop unused 4MB video memory X-Git-Tag: xen-3.3.0-rc1~41 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2b7a55d6133cae388c0b506ba6f0110bbf9a9318;p=qemu-xen-4.0-testing.git ioemu: drop unused 4MB video memory Since we only emulate the cirrus VGA video card which is only able to expose 4MB video memory, we don't need more than that. Signed-off-by: Samuel Thibault --- diff --git a/hw/pc.h b/hw/pc.h index a78e0393..5a28cd25 100644 --- a/hw/pc.h +++ b/hw/pc.h @@ -115,7 +115,9 @@ int piix4_init(PCIBus *bus, int devfn); /* vga.c */ -#ifndef TARGET_SPARC +#if defined(CONFIG_DM) +#define VGA_RAM_SIZE (4096 * 1024) +#elif !defined(TARGET_SPARC) #define VGA_RAM_SIZE (8192 * 1024) #else #define VGA_RAM_SIZE (9 * 1024 * 1024)