Received: from eggs.gnu.org ([2001:4830:134:3::10]:44268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFiDH-0003cL-IK for qemu-devel@nongnu.org; Thu, 16 Jul 2015 08:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFiDC-0000Sg-Be for qemu-devel@nongnu.org; Thu, 16 Jul 2015 08:24:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFiDB-0000RN-R4 for qemu-devel@nongnu.org; Thu, 16 Jul 2015 08:24:25 -0400 Date: Thu, 16 Jul 2015 14:24:21 +0200 From: Igor Mammedov Message-ID: <20150716142421.4478d67e@nial.brq.redhat.com> In-Reply-To: <20150716103007.GE4827@in.ibm.com> References: <20150716045509.GC4827@in.ibm.com> <20150716103007.GE4827@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] memory hotplug fails with mem-merge option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bharata B Rao Cc: marcel@redhat.com, qemu-devel@nongnu.org, David Gibson On Thu, 16 Jul 2015 16:00:07 +0530 Bharata B Rao 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.