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] [PATCH]Guarantee VTi guest can get correctfrequency

To: "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH]Guarantee VTi guest can get correctfrequency base
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Tue, 7 Mar 2006 09:34:10 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Mar 2006 01:34:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcZBMmu8sfB94xMYSbif+oKek+1fGwATolzQ
Thread-topic: [Xen-ia64-devel] [PATCH]Guarantee VTi guest can get correctfrequency base
Hi Alex,
        Because the implementation of guest firmware has assumed providing 
frequency base for VMs through pal call even if the native guest os may get it 
from sal call. Maybe we should support the interface of sal emulatation in VMM 
in future. But currently due to only the sal_freq_base needs to emulate by VMM, 
we adopt the substitute method to provide the frequency base for VMs' 
sal_freq_base calls. 

Thanks  
     Xiantao
CSD-OTC PRC Virtualization 
Intel (China) Limited 
> -----Original Message-----
> From: Alex Williamson [mailto:alex.williamson@xxxxxx]
> Sent: 2006年3月6日 23:26
> To: Zhang, Xiantao
> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-ia64-devel] [PATCH]Guarantee VTi guest can get
> correctfrequency base
> 
> On Mon, 2006-03-06 at 16:19 +0800, Zhang, Xiantao wrote:
> 
> >      PAL_CALL(result,PAL_FREQ_BASE, 0, 0, 0);
> > +    if(result.v0 == 0){
> > //PAL_FREQ_BASE may not be implemented in some platforms, call SAL
> > instead.
> 
>    Should this be checking result.status == -1 (unimplemented)?
> 
> > +        SAL_CALL(isrv, SAL_FREQ_BASE,
> > +                SAL_FREQ_BASE_PLATFORM, 0, 0, 0, 0, 0, 0);
> 
>    I'm not sure I understand why pal_freq_base() must return something.
> Shouldn't any VMs trying to call PAL_FREQ_BASE be prepared for an
> unimplemented return and then try SAL_FREQ_BASE instead?  Thanks,
> 
>       Alex
> 
> --
> Alex Williamson                             HP Linux & Open Source Lab


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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-ia64-devel] [PATCH]Guarantee VTi guest can get correctfrequency base, Zhang, Xiantao <=