From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: Re: [PATCH]: Fix fully-virtualized core dumps for 32-bit guests Date: Thu, 14 Jun 2007 11:04:10 -0400 Message-ID: <467158EA.9080508@redhat.com> References: <466D92D3.1000407@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <466D92D3.1000407@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Lalancette Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Chris Lalancette wrote: > > diff -r c0b0974fb055 tools/libxc/xc_core_x86.c > --- a/tools/libxc/xc_core_x86.c Fri May 18 16:59:32 2007 +0100 > +++ b/tools/libxc/xc_core_x86.c Mon Jun 11 14:18:19 2007 -0400 > @@ -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; Any takers for this simple patch? Chris Lalancette