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][PATCH 1] X86: Adapt 32b guest os to 64b hypervisorplatfo

To: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Subject: RE: [Xen-devel][PATCH 1] X86: Adapt 32b guest os to 64b hypervisorplatform_hypercall compatibility
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Wed, 22 Oct 2008 15:02:55 +0800
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 22 Oct 2008 00:03:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48FDBB95.76E4.0078.0@xxxxxxxxxx>
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: <9D7649D18729DE4BB2BD7B494F7FEDC201F5A8FE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <48FDBB95.76E4.0078.0@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckzXvUq6H9egPoaQfir27r0bSWV9AAtIBOg
Thread-topic: [Xen-devel][PATCH 1] X86: Adapt 32b guest os to 64b hypervisorplatform_hypercall compatibility
Jan,

Thanks for suggestion!
As for pct_register and psd_package, they still need translation, since
'XLAT_pct_register' and 'XLAT_psd_package' were needed in
'XLAT_processor_performance'.
As for processor_px, it's good to just checking and translate handle.
I've updated the hypercall compatible patch and sent out to xen-dev
list.

Thanks,
Jinsong

Jan Beulich wrote:
>>>> "Liu, Jinsong" <jinsong.liu@xxxxxxxxx> 21.10.08 04:49 >>>
>> --- a/xen/include/xlat.lst   Tue Oct 07 17:23:04 2008 +0800
>> +++ b/xen/include/xlat.lst   Tue Oct 14 18:41:53 2008 +0800 @@ -55,3
>> +55,7 @@ !   processor_cx                    platform.h
>> !    processor_flags                 platform.h
>> !    processor_power                 platform.h
>> +!   pct_register                    platform.h
>> +!   processor_px                    platform.h
>> +!   psd_package                     platform.h
>> +!   processor_performance           platform.h
> 
> It would seem to me that only processor_performance needs translation,
> the other three just need checking here. That should simplify the
> actual code doing the translation, as now you don't really need to
> translate what xen_processor_performance.states points to - all you
> need to do 
> is translate the handle itself.
> 
> Jan


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

<Prev in Thread] Current Thread [Next in Thread>