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: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] Fix core dumps of guests > 2 GB in size on i386
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 17 Nov 2006 13:47:12 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 17 Nov 2006 05:47:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061117121243.GA11444@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccKTuITILBecnZCEdu6aAAX8io7RQ==
Thread-topic: [Xen-devel] Fix core dumps of guests > 2 GB in size on i386
User-agent: Microsoft-Entourage/11.2.5.060620
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.

 -- Keir


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