From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFgRr-00059C-7I for qemu-devel@nongnu.org; Thu, 16 Jul 2015 06:31:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFgRn-0005av-Uk for qemu-devel@nongnu.org; Thu, 16 Jul 2015 06:31:27 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:52326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFgRm-0005Yi-AK for qemu-devel@nongnu.org; Thu, 16 Jul 2015 06:31:23 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 16 Jul 2015 20:31:16 +1000 Received: from d23relay06.au.ibm.com (d23relay06.au.ibm.com [9.185.63.219]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 51D552CE8040 for ; Thu, 16 Jul 2015 20:31:04 +1000 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6GAUu5G786936 for ; Thu, 16 Jul 2015 20:31:04 +1000 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6GAUVAo005105 for ; Thu, 16 Jul 2015 20:30:31 +1000 Date: Thu, 16 Jul 2015 16:00:07 +0530 From: Bharata B Rao Message-ID: <20150716103007.GE4827@in.ibm.com> References: <20150716045509.GC4827@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150716045509.GC4827@in.ibm.com> Subject: Re: [Qemu-devel] memory hotplug fails with mem-merge option Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , David Gibson 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.