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-ia64-devel

RE: [Xen-ia64-devel] Question about evtchn_vector

To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: RE: [Xen-ia64-devel] Question about evtchn_vector
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 10 May 2006 15:23:32 +0800
Delivery-date: Wed, 10 May 2006 00:23:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZz/42MKp831dlvQqirK99fb6p9dgAAt7Og
Thread-topic: [Xen-ia64-devel] Question about evtchn_vector
>From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>Sent: 2006年5月10日 15:05
>
>Le Mercredi 10 Mai 2006 04:57, Tian, Kevin a écrit :
>> From:Tristan Gingold
>>
>> >Sent: 2006年5月9日 23:22
>> >
>> >Hi,
>> >
>> >currently evtchn_vector is a field of vcpu_info.  I think it should be a
>> > field of shared_info, because it is shared by every processor.
>> >Comment ?
>> >
>> >Tristan.
>>
>> Yes, that vector is domain-wise. However do you really need put it
>> into shared_info? Guest doesn't access this field directly, and how
>> about moving it into arch_domain?
>Guest access it, to initialize it!
>
>Tristan.

If only for initialization, you can pass that vector number in 
vcpu_guest_context which is used to setup initial guest context. Then 
save passed vector into arch_domain.evtchn_vector. 

Thanks,
Kevin

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