From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzrnN-0001vA-Mf for qemu-devel@nongnu.org; Wed, 25 Jun 2014 14:19:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzrnH-00057D-I9 for qemu-devel@nongnu.org; Wed, 25 Jun 2014 14:19:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzrnH-00056q-AX for qemu-devel@nongnu.org; Wed, 25 Jun 2014 14:19:39 -0400 Message-ID: <53AB12B6.6030905@redhat.com> Date: Wed, 25 Jun 2014 20:19:34 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <87bntg6gmk.fsf@blackfin.pond.sub.org> In-Reply-To: <87bntg6gmk.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Hot unplug of pci-serial-2x crashes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel@nongnu.org Cc: Gerd Hoffmann , =?ISO-8859-15?Q?Andreas_F=E4rber?= Il 25/06/2014 19:30, Markus Armbruster ha scritto: > Start QEMU with a pci-serial-2x device: > > -chardev file,path=/dev/null,id=foo2 > -chardev file,path=/dev/null,id=foo3 > -device id=gg,driver=pci-serial-2x,chardev1=foo2,chardev2=foo3 > > Wait until the guest finishes booting (F-19 in my case), then hot unplug > the device: > > (qemu) device_del gg > (qemu) qemu-system-x86_64: /work/armbru/tmp/qemu/memory.c:1021: memory_region_destroy: Assertion `((&mr->subregions)->tqh_first == ((void *)0))' failed. > Aborted (core dumped) A missing memory_region_del_subregion. Patch on the way. Paolo