All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: Alex Williamson <alex.williamson@redhat.com>,
	qemu-devel@nongnu.org, Anthony Liguori <aliguori@us.ibm.com>
Subject: Re: [Qemu-devel] PCI: Hot-removing a virtio-blk causes guest panic
Date: Fri, 11 May 2012 19:30:42 +0300	[thread overview]
Message-ID: <20120511162848.GA10344@redhat.com> (raw)
In-Reply-To: <4FAC979D.9050800@redhat.com>

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?

  reply	other threads:[~2012-05-11 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11  4:37 [Qemu-devel] PCI: Hot-removing a virtio-blk causes guest panic Amos Kong
2012-05-11 16:30 ` Michael S. Tsirkin [this message]
2012-05-13  1:00   ` Amos Kong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120511162848.GA10344@redhat.com \
    --to=mst@redhat.com \
    --cc=akong@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.