event channels
Quoted 9 lines
From: jaikumar Ganesh
Sent: 2006年2月27日 8:49Hi
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_channelhypercall and theset_callbackfunction, but did not get a clear picture..Thanks
Jaikumar