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

[Xen-changelog] [xen-unstable] [IA64][VMX] Fix 3G memory limit for VTi domain.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 2a7b8d75ebf7a5743b2369f3a912f5a499b5c1cb
# Parent  9b65a87f140f570286c0ccdbaae54e21dca4bdd2
[IA64][VMX] Fix 3G memory limit for VTi domain.
Signed-off-by : Zhang xiantao <xiantao.zhang@xxxxxxxxx>
---
 tools/ioemu/vl.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff -r 9b65a87f140f -r 2a7b8d75ebf7 tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Thu Nov 09 13:25:47 2006 +0000
+++ b/tools/ioemu/vl.c  Thu Nov 09 13:28:45 2006 +0000
@@ -6390,17 +6390,17 @@ int main(int argc, char **argv)
             exit(1);
     }
 
-    /* init the memory */
-    phys_ram_size = ram_size + vga_ram_size + bios_size;
-
-#ifdef CONFIG_DM
-
-    xc_handle = xc_interface_open();
-
 #if defined (__ia64__)
     if (ram_size > MMIO_START)
         ram_size += 1 * MEM_G; /* skip 3G-4G MMIO, LEGACY_IO_SPACE etc. */
 #endif
+
+    /* init the memory */
+    phys_ram_size = ram_size + vga_ram_size + bios_size;
+
+#ifdef CONFIG_DM
+
+    xc_handle = xc_interface_open();
 
     nr_pages = ram_size/PAGE_SIZE;
     tmp_nr_pages = nr_pages;

_______________________________________________
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®.