From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42467 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PH1hb-00024y-0h for qemu-devel@nongnu.org; Fri, 12 Nov 2010 17:02:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PH1hZ-0002g0-MT for qemu-devel@nongnu.org; Fri, 12 Nov 2010 17:02:34 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:57988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PH1hZ-0002fs-7l for qemu-devel@nongnu.org; Fri, 12 Nov 2010 17:02:33 -0500 Message-ID: <4CDDB96F.7090301@web.de> Date: Fri, 12 Nov 2010 23:02:23 +0100 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8DBAAF8F80C1D134162E34AB" Sender: jan.kiszka@web.de Subject: [Qemu-devel] virtio-blk broken after system reset List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8DBAAF8F80C1D134162E34AB Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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. I= f 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=3D0x17040e0, idx=3D0) a= t /data/qemu/hw/virtio.c:258 #4 0x0000000000569511 in virtqueue_pop (vq=3D0x17040e0, elem=3D0x17cea58= ) at /data/qemu/hw/virtio.c:388 #5 0x0000000000419e31 in virtio_blk_get_request (s=3D0x1704010) at /data= /qemu/hw/virtio-blk.c:132 #6 virtio_blk_handle_output (vdev=3D0x1704010, vq=3D) at /data/qemu/hw/virtio-blk.c:369 This is with current qemu.git head, haven't tried older versions. Known b= ug? Jan --------------enig8DBAAF8F80C1D134162E34AB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkzduXIACgkQitSsb3rl5xT3WgCgwQyWWTDA7lsZe3LNF0wuCiUF lZ0AnAs673ozCW8GL+H5ywx2JWLxwYiy =IsER -----END PGP SIGNATURE----- --------------enig8DBAAF8F80C1D134162E34AB--