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]

[Xen-devel] How is the interrupt generated for a Platform-Pci device on

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How is the interrupt generated for a Platform-Pci device on a HVM?
From: "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Date: 2009年1月23日 16:22:08 +0530
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: 2009年1月23日 02:57:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: Acl9SKL7aBBEt4zFTJmbc6OXxR+B3w==
Thread-topic: How is the interrupt generated for a Platform-Pci device on a HVM?

How is the interrupt generated for a platform-pci device on domU when a notify_via_evtchn is done from dom0 to domU?

Is it this part of the code that is involved

=========================================================

case ECS_INTERDOMAIN:

rd = lchn->u.interdomain.remote_dom;

rport = lchn->u.interdomain.remote_port;

rchn = evtchn_from_port(rd, rport);

rvcpu = rd->vcpu[rchn->notify_vcpu_id];

if ( rchn->consumer_is_xen )

{

/* Xen consumers need notification only if they are blocked. */

if ( test_and_clear_bit(_VPF_blocked_in_xen,

&rvcpu->pause_flags) )

vcpu_wake(rvcpu);

}

else

{

evtchn_set_pending(rvcpu, rport);

}

break;

===========================================================

Can somebody give a better explanation of how the interrupt is generated?

Thx,

Venkat

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] hvm bios: add PMM (a memory manager during POST) , Keir Fraser
Next by Date: Re: [Xen-devel] How is the interrupt generated for a Platform-Pci device on a HVM? , Keir Fraser
Previous by Thread: [Xen-ia64-devel] [IA64] Weekly benchmark results [2009ww03] , KUWAMURA Shin'ya
Next by Thread: Re: [Xen-devel] How is the interrupt generated for a Platform-Pci device on a HVM? , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

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

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