WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Fix core dumps of guests > 2 GB in size on i386

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Fix core dumps of guests > 2 GB in size on i386
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 17 Nov 2006 18:47:45 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 17 Nov 2006 10:47:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1836DE0.4B61%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20061117121243.GA11444@xxxxxxxxxx> <C1836DE0.4B61%keir@xxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Nov 17, 2006 at 01:47:12PM +0000, Keir Fraser wrote:
> On 17/11/06 12:12, "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
> 
> > Well there are two methods in libxc which expose a size_t argument so the
> > implicit method will break ABI changing these from 32 to 64 bits.
> > 
> > xenctrl.h:int xc_tbuf_enable(int xc_handle, size_t cnt, unsigned long *mfn,
> > xenctrl.h:int xc_acm_op(int xc_handle, int cmd, void *arg, size_t arg_size);
> 
> It'd be better probably to replace with explicit types and avoid
> off_t/size_t confusion at all. Maybe uint64_t.

Looking more closely at the python code, it appears the size_t parameters
do not get directly exposed to the python, so there should be no data
type size issues here to worry about - the size_t param is merely used
in the raw C code doing sizeof() on one of the other params. So the patch
you've already committed to put LFS flags in the top level makefile looks
like it'll be sufficient.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>