Message ID | 56cba233b43945efd2baeb50b0d2816279b3ff90.1259754427.git.quintela@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c index 838ec32..0b04d0d 100644 --- a/hw/virtio-blk.c +++ b/hw/virtio-blk.c @@ -20,13 +20,14 @@ #endif typedef struct VirtIOBlockReq VirtIOBlockReq; +typedef QLIST_HEAD (,VirtIOBlockReq) VirtIOBlockReqHead; typedef struct VirtIOBlock { VirtIODevice vdev; BlockDriverState *bs; VirtQueue *vq; - QLIST_HEAD (,VirtIOBlockReq) rq; + VirtIOBlockReqHead rq; char serial_str[BLOCK_SERIAL_STRLEN + 1]; QEMUBH *bh; size_t config_size;
Signed-off-by: Juan Quintela <quintela@redhat.com> --- hw/virtio-blk.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)