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/
Home Products Support Community News


Re: [Xen-devel] driver domains

To: "Mike D. Day" <ncmike@xxxxxxxxxx>
Subject: Re: [Xen-devel] driver domains
From: Himanshu Raj <rhim@xxxxxxxxxxxxx>
Date: Tue, 18 Jul 2006 18:41:33 -0400
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 18 Jul 2006 15:41:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44BD293B.8010306@xxxxxxxxxx>
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>
References: <44BD293B.8010306@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
Hi Mike,

Interrupts are passed on to the domain that registers the irq handler (and
only priviledged domains are allowed to do so). Hence the interrupt would be
sent directly to driver domain (unless it is being shared by multiple domains,
in which case it would go to all the domains).

A good start would be to look at xen/arch/x86/irq.c, specifically at 
pirq_guest_unbind and __do_IRQ_guest.


On Tue, Jul 18, 2006 at 02:32:27PM -0400, Mike D. Day wrote:
> For a driver domain, do interrupts for the devices that service that 
> domain get handled by the driver domain itself, or by domain 0 first?
> Which code should I read to understand how this works?
> thanks,
> Mike Day
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.

Xen-devel mailing list

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