From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLwTI-0002Yy-6O for qemu-devel@nongnu.org; Fri, 07 Mar 2014 10:14:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLwTB-0003sY-Do for qemu-devel@nongnu.org; Fri, 07 Mar 2014 10:14:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLwTB-0003rQ-66 for qemu-devel@nongnu.org; Fri, 07 Mar 2014 10:13:53 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s27FDqVP008621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Mar 2014 10:13:52 -0500 Date: Fri, 7 Mar 2014 12:13:33 -0300 From: Marcelo Tosatti Message-ID: <20140307151333.GA26026@amt.cnet> References: <20140307004004.GA6114@amt.cnet> <53194936.9000606@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53194936.9000606@redhat.com> Subject: Re: [Qemu-devel] [PATCH] mempath: add option to specify minimum huge page size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Paolo Bonzini , qemu-devel , Igor Mammedov On Thu, Mar 06, 2014 at 09:21:10PM -0700, Eric Blake wrote: > On 03/06/2014 05:40 PM, Marcelo Tosatti wrote: > > > > Failing initialization in case hugepage path has > > hugepage smaller than specified. > > > > Signed-off-by: Marcelo Tosatti > > > > diff --git a/exec.c b/exec.c > > index b69fd29..c95a0f3 100644 > > --- a/exec.c > > +++ b/exec.c > > > }; > > > > +static QemuOptsList qemu_mempath_opts = { > > + .name = "mem-path", > > > - case QEMU_OPTION_mempath: > > - mem_path = optarg; > > + case QEMU_OPTION_mempath: { > > + opts = qemu_opts_parse(qemu_find_opts("mem-path"), optarg, 1); > > Pre-existing, but this is yet another inconsistent naming between C > objects and the command line. If we were consistent, it should be named > QEMU_OPTION_mem_path, and qemu_mem_path_options. (See my recent > complaint about other misnamed options: > https://lists.gnu.org/archive/html/qemu-devel/2014-03/msg01131.html) Hi Erik, What is the practical effect of the mismatch?