diff options
author | Fam Zheng <famz@redhat.com> | 2014-06-11 12:11:42 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-06-27 18:17:59 +0200 |
commit | 09f645877037590415016b59f6d32be1a27229c6 (patch) | |
tree | e782548c1e2f94f3fe8365010bdf7d8cc688ed69 /hw | |
parent | 4c828dc61a0d729ae9bfa6fdee55558314135737 (diff) | |
download | hqemu-09f645877037590415016b59f6d32be1a27229c6.zip hqemu-09f645877037590415016b59f6d32be1a27229c6.tar.gz |
virtio-blk: Move VirtIOBlockReq to header
For later reusing by dataplane code.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/block/virtio-blk.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c index 08562ea..4ff6487 100644 --- a/hw/block/virtio-blk.c +++ b/hw/block/virtio-blk.c @@ -27,17 +27,6 @@ #endif #include "hw/virtio/virtio-bus.h" -typedef struct VirtIOBlockReq -{ - VirtIOBlock *dev; - VirtQueueElement elem; - struct virtio_blk_inhdr *in; - struct virtio_blk_outhdr *out; - QEMUIOVector qiov; - struct VirtIOBlockReq *next; - BlockAcctCookie acct; -} VirtIOBlockReq; - static void virtio_blk_req_complete(VirtIOBlockReq *req, int status) { VirtIOBlock *s = req->dev; |