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: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 21 Aug 2008 10:04:38 +0800
Cc:
Delivery-date: Wed, 20 Aug 2008 19:05:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01490392@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>
References: <AEC6C66638C05B468B556EA548C1A77D01490392@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckDI/dJ8Vz6w8p3QGimRDvwpEL7eQADR9aQ
Thread-topic: [Xen-devel] trigger an interrupt in HVM
What's the reason to try this? :-)
The interrupt injection into HVM guest doesn't use evtchn_upcall_pending -- 
that's for PV guest.
Maybe you can refer to tools/ioemu/hw/rtl8139.c to see how the rtl8139 device 
model injects interrupt into hvm guest (pls see pci_set_irq()).

-- Dexuan


-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
Sent: 2008年8月21日 8:22
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] trigger an interrupt in HVM

I need to trigger an interrupt on the HVM Xen PCI device. Is this
possible?

Could I just set vcpu_info->evtchn_upcall_pending = 1 and then do a
notify hypercall?

Thanks

James

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

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