From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSubq-0004m8-US for qemu-devel@nongnu.org; Fri, 11 May 2012 14:30:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSubo-0005ak-Vs for qemu-devel@nongnu.org; Fri, 11 May 2012 14:30:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSubo-0005a9-OA for qemu-devel@nongnu.org; Fri, 11 May 2012 14:30:32 -0400 Date: Fri, 11 May 2012 19:30:42 +0300 From: "Michael S. Tsirkin" Message-ID: <20120511162848.GA10344@redhat.com> References: <4FAC979D.9050800@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FAC979D.9050800@redhat.com> Subject: Re: [Qemu-devel] PCI: Hot-removing a virtio-blk causes guest panic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amos Kong Cc: Alex Williamson , qemu-devel@nongnu.org, Anthony Liguori On Fri, May 11, 2012 at 12:37:49PM +0800, Amos Kong wrote: > good: 3.3.0 guest kernel & qemu-kvm-rhel6 > guest panic: 3.3.0 guest kernel & qemu-upstream (contains fix [1]) > > I didn't change anything of guest kernel, > It seems a bug of qemu-upstream. > > [1] http://marc.info/?l=qemu-devel&m=133670266801022&w=2 > [PATCH] qom: fix refcounting in object_property_del_child() > > > >>> Start VM with one block device: > qemu-upstream --enable-kvm -name 'vm1' -nodefaults -drive > file='nolvm.qcow2',index=0,if=virtio,cache=none,snapshot=on -net none -m > 2000 -smp 2 -vnc :0 -kernel vmlinuz-3.3.0 -append 'ro root=/dev/vda1 > console=tty0 console=ttyS0,115200' -drive > file=images/u0,if=none,id=drive-virtio0-0-0,format=qcow2,cache=none > -device virtio-blk-pci,drive=drive-virtio0-0-0,id=virti0-0-0 -monitor > unix:/tmp/m,nowait,server > > >>> hot-remove the virtio disk > (qemu)# echo "device_del virti0-0-0" | nc -U /tmp/m > > >>> guest panic: Find a working version and bisect?