[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.