From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9rgU-0007bs-B0 for qemu-devel@nongnu.org; Tue, 30 Jun 2015 05:18:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9rgQ-00038b-7b for qemu-devel@nongnu.org; Tue, 30 Jun 2015 05:18:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9rgQ-00038W-1e for qemu-devel@nongnu.org; Tue, 30 Jun 2015 05:18:26 -0400 Date: Tue, 30 Jun 2015 11:18:21 +0200 From: Igor Mammedov Message-ID: <20150630111821.14e2bb54@nial.brq.redhat.com> In-Reply-To: <20150630080752.GB22813@vader> References: <20150630080752.GB22813@vader> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] mem1 is in use, can not be deleted List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Otubo Cc: Qemu-devel On Tue, 30 Jun 2015 10:07:52 +0200 Eduardo Otubo wrote: > Hello all, > > I compiled the HEAD of the master branch and was testing memory > hotunplug and got to this issue. Note: I followed exactly what's written > on the docs/memory-hotplug.txt file. > > QEMU 2.3.50 monitor - type 'help' for more information > (qemu) object_add memory-backend-ram,id=mem1,size=1G > object_add memory-backend-ram,id=mem1,size=1G > (qemu) device_add pc-dimm,id=dimm1,memdev=mem1 > device_add pc-dimm,id=dimm1,memdev=mem1 > (qemu) device_del dimm1 > device_del dimm1 > (qemu) object_del mem1 > object_del mem1 > mem1 is in use, can not be deleted probably because dimm1 isn't deleted, you can check it in monitor using command "info memory-devices" > > I tested with a Debian 7 running and on grub, in both situations I got > the same behavior. Anyone also got the same issue? I'll also try with a > different distro and will post back. > > Regards, >