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] emulated tsc and frequency info

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] emulated tsc and frequency info
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 20 Jul 2010 11:00:31 +0100
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Delivery-date: Tue, 20 Jul 2010 03:07:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C456A65.2020100@xxxxxxxxxxxxxx>
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: Acsn7PbnSIRV+FrRS+ysUp/2YTWNXgABWxKU
Thread-topic: [Xen-devel] emulated tsc and frequency info
User-agent: Microsoft-Entourage/12.24.0.100205
On 20/07/2010 10:20, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:

> with xen 4.0 and xen-unstable I see weird tsc information in my HVM-domain
> with PV-driver, if xen chooses to emulate tsc (d->arch.vtsc is set):
> 
> In the shared info page the tsc_to_system_mul is still reflecting the host
> cpu frequency instead of the emulated 1 GHz.
> 
> The reason is quite simple: tsc_set_info() is never called with a gtsc_khz
> value other than 0. I wonder which solution is the correct one:
> - if tsc_set_info() is called with gtsc_khz=0, assume 1 GHz (my favorite).

That sounds best to me. Cc'ing Dan as he may have an opinion.

 -- Keir



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

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