From: Keir Fraser Subject: Re: Re: [RFC] draft tsc_mode patch (to replace tsc_native) Date: Fri, 13 Nov 2009 07:45:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 13/11/2009 07:27, "Keir Fraser" 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