qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio-blk broken after system reset
@ 2010-11-12 22:02 Jan Kiszka
  2010-11-13  7:49 ` Stefan Hajnoczi
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2010-11-12 22:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

Hi,

both after hard and guest-initiated reset, something is seriously broken
with virtio block devices. If I reset my Linux guest while still in
grub, the bios will simply fail to read from the disk after the reboot. If I
reset after Linux touched the device, qemu terminates:

Breakpoint 1, 0x00007ffff4b945b0 in _exit () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff4b945b0 in _exit () from /lib64/libc.so.6
#1  0x00007ffff4b2948d in __run_exit_handlers () from /lib64/libc.so.6
#2  0x00007ffff4b29535 in exit () from /lib64/libc.so.6
#3  0x0000000000568da3 in virtqueue_num_heads (vq=0x17040e0, idx=0) at /data/qemu/hw/virtio.c:258
#4  0x0000000000569511 in virtqueue_pop (vq=0x17040e0, elem=0x17cea58) at /data/qemu/hw/virtio.c:388
#5  0x0000000000419e31 in virtio_blk_get_request (s=0x1704010) at /data/qemu/hw/virtio-blk.c:132
#6  virtio_blk_handle_output (vdev=0x1704010, vq=<value optimized out>) at /data/qemu/hw/virtio-blk.c:369

This is with current qemu.git head, haven't tried older versions. Known bug?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-11-15 21:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 22:02 [Qemu-devel] virtio-blk broken after system reset Jan Kiszka
2010-11-13  7:49 ` Stefan Hajnoczi
2010-11-13  7:51   ` Jan Kiszka
2010-11-13 10:01     ` Michael Tokarev
2010-11-13 10:09       ` Jan Kiszka
2010-11-13 10:54         ` Stefan Hajnoczi
2010-11-13 11:08           ` Jan Kiszka
2010-11-15 10:42         ` Kevin Wolf
2010-11-15 21:16         ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).