All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>, Igor Mammedov <imammedo@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] mempath: add option to specify minimum huge page size
Date: Thu, 06 Mar 2014 21:21:10 -0700	[thread overview]
Message-ID: <53194936.9000606@redhat.com> (raw)
In-Reply-To: <20140307004004.GA6114@amt.cnet>

[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]

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 <mtosatti@redhat.com>
> 
> 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)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2014-03-07  4:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07  0:40 [Qemu-devel] [PATCH] mempath: add option to specify minimum huge page size Marcelo Tosatti
2014-03-07  4:21 ` Eric Blake [this message]
2014-03-07 15:13   ` Marcelo Tosatti
2014-03-07 15:37     ` Eric Blake
2014-03-07  7:53 ` Paolo Bonzini
2014-03-07 15:23   ` Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53194936.9000606@redhat.com \
    --to=eblake@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.