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] replace rdtsc emulation-vs-native xen boot optio

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] replace rdtsc emulation-vs-native xen boot option with per-domain (hypervisor part)
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 27 Sep 2009 22:39:03 +0100
Cc:
Delivery-date: Sun, 27 Sep 2009 14:39:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8831fe4f-9002-40b7-8bef-065c505f6b67@default>
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: Aco/p/eU6S8r/HJNRSqXUFTTCcjQZQAEvbVq
Thread-topic: [Xen-devel] [PATCH] replace rdtsc emulation-vs-native xen boot option with per-domain (hypervisor part)
User-agent: Microsoft-Entourage/12.20.0.090605
On 27/09/2009 20:22, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> (I'm still struggling against the coils of python on
> the tools part of this patch, so thought I'd post the
> hypervisor side separately first.)
> 
> Switches rdtsc emulation from boot option to per-domain
> and enables it by default.  Also removes hvm tsc scaling
> as it is no longer necessary.

The hvm tsc scaling will still be useful in the case that trap-&-emulate was
originally disabled for an hvm domain. So I'd keep it, and also keep the
flag called d->arch.vtsc rather than flipping it and renaming it, and the
patch will end up about 20 lines long.

I'll rework this patch myself and check it in at the same time as the tools
patch, when you have that ready.

 -- Keir



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

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