[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] how xen inject a virtual irq to a domain when a msg is available for this domain?



> Hi,
> 
> Can somebody explain how xen insert a virtual irq to a domU/dom0?  I am
> looking at the codes of block driver and do see that a frontend block
> driver request a irq and bind it to a event channel. The driver can then
> define the interrupt handler for this irq. But I don't know where I can
> find the code of xen injecting irq. Can someone help me out?

Linux turns event-channel notifications into IRQs in
arch/xen/kernel/evtchn.c. 

> Another question, in xu.c, function map_control_interface return
> (control_if_t *)(vaddr+2048), what that means? why 2048? I cannot find the
> related document. :(

It would be described in the interface manual, if we had a full
interface manual. :-) The control interface is always in the seconf
half of each shared_info page.

 -- Keir

> Thanks in advance for kind helps.
> 
> Xin
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.