ia64/xen-unstable

changeset 15335:be33028fcda5

Fix fully-virtualized core dumps for 32-bit guests.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
author kfraser@localhost.localdomain
date Tue Jun 12 11:39:51 2007 +0100 (2007-06-12)
parents b515e66234e8
children 699f0c429620
files tools/libxc/xc_core_x86.c
line diff
     1.1 --- a/tools/libxc/xc_core_x86.c	Tue Jun 12 11:38:31 2007 +0100
     1.2 +++ b/tools/libxc/xc_core_x86.c	Tue Jun 12 11:39:51 2007 +0100
     1.3 @@ -49,7 +49,7 @@ xc_core_arch_memory_map_get(int xc_handl
     1.4      }
     1.5  
     1.6      map->addr = 0;
     1.7 -    map->size = p2m_size << PAGE_SHIFT;
     1.8 +    map->size = ((uint64_t)p2m_size) << PAGE_SHIFT;
     1.9  
    1.10      *mapp = map;
    1.11      *nr_entries = 1;