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

[Xen-changelog] [xen-unstable] [IA64] Fix weird behaviour when configuring >3G memory for a VTI domain.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 72560fd8e9bf62e7a0f981c19c394d4842f5cf83
# Parent  e0dc5a544ea1e84e6d3f9de916e401e06529ad72
[IA64] Fix weird behaviour when configuring >3G memory for a VTI domain.
Signed-off-by, Anthony Xu < anthony.xu@xxxxxxxxx >
---
 tools/ioemu/vl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r e0dc5a544ea1 -r 72560fd8e9bf tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Tue Nov 14 10:44:16 2006 +0000
+++ b/tools/ioemu/vl.c  Tue Nov 14 10:46:34 2006 +0000
@@ -6489,9 +6489,9 @@ int main(int argc, char **argv)
     }
 
     if (ram_size > MMIO_START) {       
-        for (i = 0 ; i < MEM_G >> PAGE_SHIFT; i++)
-            page_array[MMIO_START >> PAGE_SHIFT + i] =
-                page_array[IO_PAGE_START >> PAGE_SHIFT + 1];
+        for (i = 0 ; i < (MEM_G >> PAGE_SHIFT); i++)
+            page_array[(MMIO_START >> PAGE_SHIFT) + i] =
+                page_array[(IO_PAGE_START >> PAGE_SHIFT) + 1];
     }
 
     phys_ram_base = xc_map_foreign_batch(xc_handle, domid,

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