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

To: "Jinsong Liu" <jinsong.liu@xxxxxxxxx>
Subject: Re: [Xen-devel][PATCH 1] X86: Adapt 32b guest os to 64b hypervisorplatform_hypercall compatibility
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 21 Oct 2008 10:23:01 +0100
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Oct 2008 02:25:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9D7649D18729DE4BB2BD7B494F7FEDC201F5A8FE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> "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>