From: Ian Jackson Subject: Re: [PATCH 29 of 32 RFC] libxl: add named enum for timer mode Date: Mon, 16 Jan 2012 16:17:54 +0000 Message-ID: <20244.19890.395440.528682@mariner.uk.xensource.com> 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: Ian Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[Xen-devel] [PATCH 29 of 32 RFC] libxl: add named enum for timer mode"): > libxl: add named enum for timer mode. > > In order to have 0 == default the specific values are off-by-one from the > underlying domctl. I'm not sure I like this. If we're abolishing the idea of memsetting infos to 0, and instead requiring everyone to call _init, we could decree that all-bits-set means "use default value". Ian.