tags 604735 pending
thanks

On Tue, Nov 23, 2010 at 10:16:55PM +0000, Richard W.M. Jones wrote:
> seabios 0.6.0+git20100710-2 is incompatible (sort of) with
> qemu 0.13 and virtio-blk.  In some circumstances you will
> hit errors like:
>
>   guest moved used index from 0 to [some number]
> 
> I was hitting this, and was able to resolve this by building
> myself a deb of today's git (20101123).

seems to be fixed in 0.6.1.2:

 commit 484dd5622be3190475c373fcbd3bf77b64157f23 or 
0f67397152be77c30791c04ba5dd0267cac6754c
 Author: Gleb Natapov <g...@redhat.com>
 Date:   Wed Sep 15 18:31:44 2010 +0200

    fix virtio-blk failure after reboot

    vring_virtqueue should be zeroed otherwise old values will be reused
    after reboot.

    Signed-off-by: Gleb Natapov <g...@redhat.com>

diff --git a/src/virtio-blk.c b/src/virtio-blk.c
index 34d7863..7a25826 100644
--- a/src/virtio-blk.c
+++ b/src/virtio-blk.c
@@ -109,6 +109,7 @@ init_virtio_blk(u16 bdf)
         goto fail;
     }
     memset(vdrive_g, 0, sizeof(*vdrive_g));
+    memset(vq, 0, sizeof(*vq));
     vdrive_g->drive.type = DTYPE_VIRTIO;
     vdrive_g->drive.cntl_id = bdf;
     vdrive_g->vq = vq;


i've been meaning to upload a new version of seabios soon. it's already fixed
in the debian git repo.

live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to