qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] memory hotplug fails with mem-merge option


From: Bharata B Rao
Subject: Re: [Qemu-devel] memory hotplug fails with mem-merge option
Date: Fri, 17 Jul 2015 13:37:19 +0530
User-agent: Mutt/1.5.23 (2014-03-12)

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 <address@hidden> 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/address@hidden/msg310915.html

Yes, this fixes the problem.

Regards,
Bharata.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]