qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Apfelbaum <marcel@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>,
	Bharata B Rao <bharata@linux.vnet.ibm.com>
Cc: 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 10:26:16 +0300	[thread overview]
Message-ID: <55A8AE18.5070704@redhat.com> (raw)
In-Reply-To: <20150716142421.4478d67e@nial.brq.redhat.com>

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

Thanks,
Marcel

>

  reply	other threads:[~2015-07-17  7:26 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 [this message]
2015-07-17  8:07       ` Bharata B Rao

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=55A8AE18.5070704@redhat.com \
    --to=marcel@redhat.com \
    --cc=bharata@linux.vnet.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=imammedo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).