All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bharata B Rao <bharata@linux.vnet.ibm.com>
To: Marcel Apfelbaum <marcel@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>,
	qemu-devel@nongnu.org, David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] memory hotplug fails with mem-merge option
Date: Fri, 17 Jul 2015 13:37:19 +0530	[thread overview]
Message-ID: <20150717080719.GF4827@in.ibm.com> (raw)
In-Reply-To: <55A8AE18.5070704@redhat.com>

On Fri, Jul 17, 2015 at 10:26:16AM +0300, Marcel Apfelbaum wrote:
> On 07/16/2015 03:24 PM, Igor Mammedov wrote:
> >On Thu, 16 Jul 2015 16:00:07 +0530
> >Bharata B Rao <bharata@linux.vnet.ibm.com> wrote:
> >
> >>On Thu, Jul 16, 2015 at 10:25:09AM +0530, Bharata B Rao wrote:
> >>>Hi,
> >>>
> >>>When I use -machine pc,mem-merge=off|on -m 1G,slots=4,maxmem=2G, adding
> >>>memory-backend-ram object fails like below. Same failure is seen with
> >>>-machine pseries,mem-merge=on|off.
> >>>
> >>>(qemu) object_add memory-backend-ram,id=ram0,size=1G
> >>>
> >>>qemu-system-x86_64: util/qemu-option.c:388: qemu_opt_get_bool_helper: Assertion `opt->desc && opt->desc->type == QEMU_OPT_BOOL' failed.
> >>
> >>Same failure seen with -machine pseries,mem-merge=off when used together with
> >>-object memory-backend-file on QEMU commandline in which case boot time
> >>failure is observed.
> >>
> >>Regards,
> >>Bharata.
> >
> >looks like related to
> >
> >0a7cf217 util/qemu-config: fix regression of qmp_query_command_line_options
> >and
> >49d2e64 machine: remove qemu_machine_opts global list
> >
> >CCing Marcel in hope he knows how to fix it right away.
> Hi,
> 
> Can you please check that Eduardo's patch fixes this?
>     [PATCH] hostmem: Fix qemu_opt_get_bool() crash in host_memory_backend_init()
>     https://www.mail-archive.com/qemu-devel@nongnu.org/msg310915.html

Yes, this fixes the problem.

Regards,
Bharata.

      reply	other threads:[~2015-07-17  8:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-16  4:55 [Qemu-devel] memory hotplug fails with mem-merge option Bharata B Rao
2015-07-16 10:30 ` Bharata B Rao
2015-07-16 12:24   ` Igor Mammedov
2015-07-17  7:26     ` Marcel Apfelbaum
2015-07-17  8:07       ` Bharata B Rao [this message]

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=20150717080719.GF4827@in.ibm.com \
    --to=bharata@linux.vnet.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=imammedo@redhat.com \
    --cc=marcel@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.