From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH 3/3] x86/HVM: command line option adjustments Date: Wed, 30 Jul 2014 12:55:54 -0400 Message-ID: <53D9239A.9070803@oracle.com> References: <53D933A60200007800027BAE@mail.emea.novell.com> <53D934E50200007800027BC2@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XCXAk-00082y-Vu for xen-devel@lists.xenproject.org; Wed, 30 Jul 2014 16:56:15 +0000 In-Reply-To: <53D934E50200007800027BC2@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Kevin Tian , Keir Fraser , Jun Nakajima , Eddie Dong , Ian Jackson , Tim Deegan , Ian Campbell , Aravind Gopalakrishnan , suravee.suthikulpanit@amd.com List-Id: xen-devel@lists.xenproject.org On 07/30/2014 12:09 PM, Jan Beulich wrote: > > --- a/xen/arch/x86/hvm/hvm.c > +++ b/xen/arch/x86/hvm/hvm.c > @@ -70,8 +70,10 @@ > > bool_t __read_mostly hvm_enabled; > > +#ifdef DBG_LEVEL_0 > unsigned int opt_hvm_debug_level __read_mostly; > integer_param("hvm_debug", opt_hvm_debug_level); > +#endif Do you think "#ifndef NDEBUG" might be better given that it is what defines DBG_LEVEL_0 (and all other DBG_LEVELs)? -boris