From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHAvM-0003Vx-6f for qemu-devel@nongnu.org; Sat, 13 Nov 2010 02:53:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHAvG-0005Rh-M8 for qemu-devel@nongnu.org; Sat, 13 Nov 2010 02:53:23 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:45263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHAvG-0005Ql-As for qemu-devel@nongnu.org; Sat, 13 Nov 2010 02:53:18 -0500 Message-ID: <4CDE4396.8070708@web.de> Date: Sat, 13 Nov 2010 08:51:50 +0100 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] virtio-blk broken after system reset References: <4CDDB96F.7090301@web.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig879A08FB1117EA2030637210" Sender: jan.kiszka@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin O'Connor , qemu-devel , Gleb Natapov , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig879A08FB1117EA2030637210 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 13.11.2010 08:49, Stefan Hajnoczi wrote: > On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote:= >> Hi, >> >> both after hard and guest-initiated reset, something is seriously brok= en >> 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= =2E 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=3D0x17040e0, idx=3D0= ) at /data/qemu/hw/virtio.c:258 >> #4 0x0000000000569511 in virtqueue_pop (vq=3D0x17040e0, elem=3D0x17ce= a58) at /data/qemu/hw/virtio.c:388 >> #5 0x0000000000419e31 in virtio_blk_get_request (s=3D0x1704010) at /d= ata/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. Know= n bug? >=20 > This is a known issue. Gleb has posted a SeaBIOS fix: >=20 > http://www.mail-archive.com/qemu-devel@nongnu.org/msg45849.html >=20 > Currently the patch only appears in SeaBIOS master. Gleb and Kevin > have discussed putting it into 0.6.1.2 stable (see linked thread). > QEMU should then pick that release up. Ah, good. And what about the guest-triggerable qemu exit above? Jan --------------enig879A08FB1117EA2030637210 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/ iEYEARECAAYFAkzeQ5kACgkQitSsb3rl5xTAxACeJQV9cLkqdfaFrF4IwZWn9I5u TLUAoKEoAW1BGArwzT+aaIWTD0+wWf7p =yalY -----END PGP SIGNATURE----- --------------enig879A08FB1117EA2030637210--