static void virtio_blk_save_device(VirtIODevice *vdev, QEMUFile *f)

{

    VirtIOBlock *s = VIRTIO_BLK(vdev);

    VirtIOBlockReq *req = s->rq;



    while (req) {

        qemu_put_sbyte(f, 1);

        qemu_put_buffer(f, (unsigned char *)req->elem,

                        sizeof(VirtQueueElement));

        req = req->next;

    }

    qemu_put_sbyte(f, 0);

}

static void virtio_blk_save_device(VirtIODevice *vdev, QEMUFile *f)

{

    VirtIOBlock *s = VIRTIO_BLK(vdev);

    VirtIOBlockReq *req = s->rq;



    while (req) {

        qemu_put_sbyte(f, 1);

        qemu_put_buffer(f, (unsigned char *)req->elem,

                        sizeof(VirtQueueElement));

        req = req->next;

    }

    qemu_put_sbyte(f, 0);

}

        qemu_put_buffer(f, (unsigned char *)req->elem,
static void FUNC_0(VirtIODevice *VAR_0, QEMUFile *VAR_1)

{

    VirtIOBlock *s = VIRTIO_BLK(VAR_0);

    VirtIOBlockReq *req = s->rq;



    while (req) {

        qemu_put_sbyte(VAR_1, 1);

        qemu_put_buffer(VAR_1, (unsigned char *)req->elem,

                        sizeof(VirtQueueElement));

        req = req->next;

    }

    qemu_put_sbyte(VAR_1, 0);

}

static void FUNC_0(VirtIODevice *VAR_0, QEMUFile *VAR_1)
{ VirtIOBlock *s = VIRTIO_BLK(VAR_0); VirtIOBlockReq *req = s->rq; while (req) { qemu_put_sbyte(VAR_1, 1); qemu_put_buffer(VAR_1, (unsigned char *)req->elem,
sizeof(VirtQueueElement)); req = req->next; } qemu_put_sbyte(VAR_1, 0); }