Skip to contentSkip to conversation

event channels

DISCUSSION Tian, Kevin 1 participant 1 message Feb 27, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

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

Quoted 7 lines

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

Thanks
Jaikumar