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

[Xen-changelog] [xen-unstable] Fix fully-virtualized core dumps for 32-bit guests.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1181644791 -3600
# Node ID be33028fcda596d6ebdca89bbb0331a1e3b417ae
# Parent  b515e66234e83b6b2dd2d5795945b2575fb188c9
Fix fully-virtualized core dumps for 32-bit guests.
Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
---
 tools/libxc/xc_core_x86.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b515e66234e8 -r be33028fcda5 tools/libxc/xc_core_x86.c
--- a/tools/libxc/xc_core_x86.c Tue Jun 12 11:38:31 2007 +0100
+++ b/tools/libxc/xc_core_x86.c Tue Jun 12 11:39:51 2007 +0100
@@ -49,7 +49,7 @@ xc_core_arch_memory_map_get(int xc_handl
     }
 
     map->addr = 0;
-    map->size = p2m_size << PAGE_SHIFT;
+    map->size = ((uint64_t)p2m_size) << PAGE_SHIFT;
 
     *mapp = map;
     *nr_entries = 1;

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