From mboxrd@z Thu Jan 1 00:00:00 1970 From: sandesh Subject: Use of XEN_GUEST_HANDLE Date: Sat, 24 May 2008 08:14:04 -0700 (PDT) Message-ID: <17357081.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.