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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Where is xc_evtchn_bind_interdomain() method?

To: Ian Brown <ianbrn@xxxxxxxxx>
Subject: Re: [Xen-devel] Where is xc_evtchn_bind_interdomain() method?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: 2005年10月15日 11:31:16 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2005年10月15日 10:36:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d0383f90510150311v1eb40ffeta5e3cede4ef1b713@xxxxxxxxxxxxxx>
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>
References: <d0383f90510150311v1eb40ffeta5e3cede4ef1b713@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 15 Oct 2005, at 11:11, Ian Brown wrote:
Hello,
I have the last version of unstable; the method
xc_evtchn_bind_interdomain() was in the past in
/tools/libxc/xc_evtchn.c
but now xc_evtchn.c contains only 2 non-static methods:
xc_evtchn_alloc_unbound()
and xc_evtchn_status().
Why was it removed ?
You should bind via /dev/xen/evtchn using IOCTL_EVTCHN_BIND_INTERDOMAIN. Definitions are grabbed from #include <xen/linux/evtchn.h>.
See usage in tools/console/daemon/io.c for a simple example.
(The advantage of the new scheme is that the device will automatically close the local evtchn port when you close the device (manually or when your process exits)).
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Where is xc_evtchn_bind_interdomain() method? , Ian Brown
Next by Date: RE: [Xen-devel] I give in , Ted Kaczmarek
Previous by Thread: [Xen-devel] Where is xc_evtchn_bind_interdomain() method? , Ian Brown
Next by Thread: [Xen-devel] xen domain configuration , Timenkov Yuri
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /