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/
Home Products Support Community News


[Xen-devel] Re: One question to compat model

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-devel] Re: One question to compat model
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 13 May 2010 11:04:38 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 May 2010 03:05:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <789F9655DD1B8F43B48D77C5D30659731E5F281D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrxrVfRigO4XAJ7T6SYMC9ku2ZslAAAM51QAAFLEugAMG8F4AAA/dsxAABvB1AAAjwKqA==
Thread-topic: One question to compat model
User-agent: Microsoft-Entourage/
On 13/05/2010 11:00, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

>> I was probably being overzealous. There's no good reason not to use
>> GUEST_HANDLE_64 and uint64_aligned_t outside of tools interfaces.
> Althoug not related with my current patch, but curiosly, will it avoid the
> compat model issue if we use XEN_GUEST_HANDLE_64 for hypercall, especially if
> not performance critical, like struct xen_mc_fetch? (Maybe we still need
> consider the #pragma pack optoin for the struction?)

Oh yes, it would be a *very* good idea to use these macros to avoid the need
for compat shim code at all.

 -- Keir

Xen-devel mailing list

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