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] how xen inject a virtual irq to a domain when a msg is a

To: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] how xen inject a virtual irq to a domain when a msg is available for this domain?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 06 Dec 2004 22:30:03 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Dec 2004 22:31:31 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 06 Dec 2004 15:52:03 EST." <Pine.LNX.4.58.0412061546340.17700@xxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 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

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