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

[Xen-devel] [PATCH] xen: make (set|get)_xen_guest_handle available

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xen: make (set|get)_xen_guest_handle available
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Thu, 30 Jul 2009 11:12:15 +0200
Delivery-date: Thu, 30 Jul 2009 02:12:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: KMail/1.9.7
Hi!

Make (set|get)_xen_guest_handle() always available.
This avoids code snippets in the guest like this:

#if __XEN_ITNERFACE_VERSION__ >= 0x00030201
set_xen_guest_handle(hnd, val);
#else
hnd = val;
#endif

Also make get_xen_guest_handle() available for the guest.
It is useful for the guest, too.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>

P.S.: Keir: Please apply this patch also in xen-3.4-testing and
xen-3.3-testing tree.

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

Attachment: xen_public.diff
Description: Text Data

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