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] Re: [RFC] draft tsc_mode patch (to replace tsc_native)

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [RFC] draft tsc_mode patch (to replace tsc_native)
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 13 Nov 2009 07:45:37 +0000
Cc:
Delivery-date: Thu, 12 Nov 2009 23:46:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C722BAD6.19FD4%keir.fraser@xxxxxxxxxxxxx>
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: Acpj9AkD9DkIR2yPRbK8rv4bptxLIgAPrHd3AACjxAo=
Thread-topic: [Xen-devel] Re: [RFC] draft tsc_mode patch (to replace tsc_native)
User-agent: Microsoft-Entourage/12.20.0.090605
On 13/11/2009 07:27, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:

>> This isn't done yet, but contains the core code for
>> implementing the mechanism I've been proposing for
>> handling "tsc_mode" (to replace tsc_native/vtsc),
>> so I thought I'd ask for some feedback hopefully before
>> reviewers leave for Xen Summit Asia.
> 
> Another timer_mode-alike where the users have to deal with magic numbers and
> only the lucky hypervisor developer gets to use meaningful names for the
> members of the enumeration?

By which I mean: it would be nice if xm would convert meaningful strings to
numbers. Not that strings should be passed through xend, or at the hypercall
interface.

 -- Keir



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