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] trigger an interrupt in HVM

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] trigger an interrupt in HVM
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 22 Aug 2008 08:12:40 +0100
Cc:
Delivery-date: Fri, 22 Aug 2008 00:13:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D014903C5@trantor>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckDI/dJ8Vz6w8p3QGimRDvwpEL7eQAPas71ACTdq4AADFdUmw==
Thread-topic: [Xen-devel] trigger an interrupt in HVM
User-agent: Microsoft-Entourage/11.4.0.080122
On 22/8/08 02:24, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> As an alternative, could I do an alloc_unbound (DOMID_SELF, DOMID_SELF)
> and then bind_interdomain to it?

Yes, it's just that that burns two event-channel ports, whereas an IPI port
burns just one.

> As another alternative, I have previously been using the asm 'int x'
> instructions to call isr's... that could work too although of course
> without the source code to windows it's hard to tell exactly what the
> implications of that might be :)

I wouldn't advise it -- the ISR will EOI the LAPIC even though the LAPIC did
not deliver the interrupt. A safer way to go might be to self-IPI via the
LAPIC.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel