From: "Jan Beulich" Subject: Re: [PATCH 1/2] x86/vRTC: Make rtc_mode_{strict, no_ack} a per-domain option Date: Wed, 27 Nov 2013 09:55:48 +0000 Message-ID: <5295CFB402000078001076EB@nat28.tlf.novell.com> References: <1385498358-10077-1-git-send-email-andrew.cooper3@citrix.com> <1385498358-10077-2-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vlbqa-0002BA-5m for xen-devel@lists.xenproject.org; Wed, 27 Nov 2013 09:55:52 +0000 In-Reply-To: <1385498358-10077-2-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 26.11.13 at 21:39, Andrew Cooper wrote: > +/* This forms an ABI in HVM_PARAM_RTC_MODE */ Irrespective of this ... > enum rtc_mode { > - rtc_mode_no_ack, > - rtc_mode_strict > + rtc_mode_no_ack = 0, > + rtc_mode_strict = 1 ... this is a pointless change - the C specification requires them to be 0 and 1 respectively. There would be a point to this only if you added #define-s to the public interface (and used them here). Jan