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

xen-devel

[Top] [All Lists]

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: 2008年8月21日 08:43:43 +0100
Cc:
Delivery-date: 2008年8月21日 00:44:04 -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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckDI/dJ8Vz6w8p3QGimRDvwpEL7eQAPas71
Thread-topic: [Xen-devel] trigger an interrupt in HVM
User-agent: Microsoft-Entourage/11.4.0.080122
On 21/8/08 01:22, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:
> 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?
There is no such hypercall. In PV guests we can do any hypercall and the
evtchn_upcall_pending will be picked up. This isn't the case for an HVM
guest -- the IRQ is only asserted if an event is set pending by the
hypervisor itself.
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.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: [PATCH 3 of 4] xen: allow interrupts to be enabled while doing ablocking spin , Jan Beulich
Next by Date: Re: [Xen-devel] [PATCH]ioemu-remote&ioemu: Fix unmapping issue on hot-removing. , Keir Fraser
Previous by Thread: RE: [Xen-devel] trigger an interrupt in HVM , Tian, Kevin
Next by Thread: RE: [Xen-devel] trigger an interrupt in HVM , James Harper
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /