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] Use of XEN_GUEST_HANDLE

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Use of XEN_GUEST_HANDLE
From: sandesh <sandesh.ahiremath@xxxxxxxxx>
Date: Sat, 24 May 2008 08:14:04 -0700 (PDT)
Delivery-date: Sat, 24 May 2008 08:14:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Hi all,
   I have recently started to go through xen source. I want to know the
usage of XEN_GUEST_HANDLE.
 I see thats its just a macro which will prefix each data type with
__guest_handle_ . And DEFINE_XEN_GUEST_HANDLE(name) will just typedefs
'__guest_handle_name' to be a pointer to a data type 'name ' .

What is the reason for such abstraction?  

And how this XEN_GUEST_HANDLE different from 'guest_xc' field of 'struct
xc_dom_image', which gets initialized with xc_handle.
 
I have serached the net extensively for answers, but unable to get any. So
any info or pointers would be highly appriciated.

Thanks 
 -Sandesh
-- 
View this message in context: 
http://www.nabble.com/Use-of-XEN_GUEST_HANDLE-tp17357081p17357081.html
Sent from the Xen - Dev mailing list archive at Nabble.com.


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

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