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

[Xen-changelog] [xen-unstable] Revert 18025:07c7aef164 -- go back to 8MB VRAM.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216037619 -3600
# Node ID 20dca27907d94348820c79e45bf9c609bfe31ed8
# Parent  79517ed2a1081120ed4490f34453c6161dc4a38b
Revert 18025:07c7aef164 -- go back to 8MB VRAM.

We may well want it in future anyway, and changing it makes
save/restore compatibility difficult.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/ioemu/vl.h               |    2 +-
 tools/python/xen/xend/image.py |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -r 79517ed2a108 -r 20dca27907d9 tools/ioemu/vl.h
--- a/tools/ioemu/vl.h  Mon Jul 14 10:43:32 2008 +0100
+++ b/tools/ioemu/vl.h  Mon Jul 14 13:13:39 2008 +0100
@@ -927,7 +927,7 @@ extern struct soundhw soundhw[];
 
 /* vga.c */
 
-#define VGA_RAM_SIZE (4096 * 1024)
+#define VGA_RAM_SIZE (8192 * 1024)
 
 /* in ms */
 #define GUI_REFRESH_INTERVAL 30
diff -r 79517ed2a108 -r 20dca27907d9 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Mon Jul 14 10:43:32 2008 +0100
+++ b/tools/python/xen/xend/image.py    Mon Jul 14 13:13:39 2008 +0100
@@ -833,8 +833,8 @@ class IA64_HVM_ImageHandler(HVMImageHand
         # buffer io page, buffer pio page and memmap info page
         extra_pages = 1024 + 5
         mem_kb += extra_pages * page_kb
-        # Add 4 MiB overhead for QEMU's video RAM.
-        return mem_kb + 4096
+        # Add 8 MiB overhead for QEMU's video RAM.
+        return mem_kb + 8192
 
     def getRequiredInitialReservation(self):
         return self.vm.getMemoryTarget()
@@ -876,8 +876,8 @@ class X86_HVM_ImageHandler(HVMImageHandl
         return rc
 
     def getRequiredAvailableMemory(self, mem_kb):
-        # Add 4 MiB overhead for QEMU's video RAM.
-        return mem_kb + 4096
+        # Add 8 MiB overhead for QEMU's video RAM.
+        return mem_kb + 8192
 
     def getRequiredInitialReservation(self):
         return self.vm.getMemoryTarget()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.