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] Re: [PATCH] [ACM] Comilation fix for 32 bit

To: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] [ACM] Comilation fix for 32 bit
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 26 Apr 2007 11:55:06 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Apr 2007 03:53:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OFE6C07EAC.B5A0146F-ON852572C9.003ADC9B-852572C9.003B6C91@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: AceH8VlkmDGIDvPkEduFMQAX8io7RQ==
Thread-topic: [Xen-devel] Re: [PATCH] [ACM] Comilation fix for 32 bit
User-agent: Microsoft-Entourage/11.3.3.061214
On 26/4/07 11:49, "Stefan Berger" <stefanb@xxxxxxxxxx> wrote:

> You're better off keeping the GUEST_HANDLE_64() and getting rid of the
> compat acm stuff. As far as I can see, all your interfaces are *currently*
> 32/64-bit invariant. So the compat stuff can safely be removed and then you
> don't need to continually keep it sync.


I was going to ask you about this. I am writing on a patch that puts all the ACM hypercall structures into a union. I am wondering what the compat stuff is for (xen/common/compat) and what the criterion is for needing this compat code.

If you have structures that differ in layout in 32-bit mode vs. 64-bit mode then you need a compat shim when running 32-bit dom0 on 64-bit Xen (which we support doing nowadays). Currently you have no such issues that I’m aware of. You should be able to delete the compat stuff that is there currently with no problems.

Is the build failure in Xen itself or in tools? I’m sure it’s easily fixed without needing to throw away the GUEST_HANDLE_64() usage.

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