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

RE: [Xen-devel] event channels

To: "jaikumar Ganesh" <jaikumarg@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] event channels
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 27 Feb 2006 10:17:10 +0800
Delivery-date: Mon, 27 Feb 2006 02:17:40 +0000
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/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
Thread-index: AcY7OBLKUijWzxNfQfGvujYF+rX/wwACtuqw
Thread-topic: [Xen-devel] event channels
>From: jaikumar Ganesh
>Sent: 2006年2月27日 8:49
>
>Hi
>  A newbie to xen here..
>
>I want to add a new event that the xen hypervisor will use to
>communicate info to Domain-0. Any pointers as to how I should go about
>doing it.

Normally if the event channel is for communication between domain 
and Xen, it's categorized into VIRQ group. All supported VIRQs are 
listed in xen/include/public/xen.h. Then you need to explicitly register
new added VIRQ to dom0 interrupt sub-system by 
bind_virq_to_irqhandler. Example like drivers/xen/console/console.c. 
If the new VIRQ is meaningful and you'd like to propose it for widely
used, then please send out patch plus description to this mailing
list for discussion.

Thanks,
Kevin

>
>Had a look at the event_channel hypercall and the set_callback
>function, but did not get a clear picture..
>
>Thanks
>Jaikumar
>

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

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