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: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] trigger an interrupt in HVM
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Aug 2008 13:19:54 +1000
Cc:
Delivery-date: Mon, 25 Aug 2008 20:20:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4D2DB3F.1C56F%keir.fraser@xxxxxxxxxxxxx>
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>
References: <AEC6C66638C05B468B556EA548C1A77D01490392@trantor> <C4D2DB3F.1C56F%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckDI/dJ8Vz6w8p3QGimRDvwpEL7eQAPas71APFnyeA=
Thread-topic: [Xen-devel] trigger an interrupt in HVM
> If you must be able to trigger event delivery via the HVM IRQ
mechanism
> from
> within your HVM guest then I suggest you allocate an IPI event channel
and
> do a notify hypercall on that. That will have the side effect of
> triggering
> an interrupt and 'flushing through' all other pending events.
> 

That doesn't seem to work... I allocate the IPI event channel which in
my case gives me event channel 7, but a notify on port 7 doesn't appear
to end up calling the IRQ... or if it does, it doesn't set the bits for
that port.

James

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