summary refs log tree commit diff stats
path: root/include/hw/virtio
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-06-11 12:11:47 +0800
committerKevin Wolf <kwolf@redhat.com>2014-06-27 18:18:23 +0200
commiteddb102e86f61d4b71877f8ac268ebc4bf7265bf (patch)
tree4058caaea83d0bc8939641535efbccc5be31e0aa /include/hw/virtio
parent04af2d70c58136be57d798ad684e1924dcde93f5 (diff)
downloadfocaccia-qemu-eddb102e86f61d4b71877f8ac268ebc4bf7265bf.tar.gz
focaccia-qemu-eddb102e86f61d4b71877f8ac268ebc4bf7265bf.zip
virtio-blk: Use VirtIOBlockReq.in to drop VirtIOBlockReq.inhdr
In current virtio spec, inhdr is a single byte, and is unlikely to
change for both functionality and compatibility considerations.
Non-dataplane uses .in, and we are on the way to converge them. So
let's unify it to get cleaner code.

Remove .inhdr and use .in.

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 'include/hw/virtio')
-rw-r--r--include/hw/virtio/virtio-blk.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/virtio/virtio-blk.h b/include/hw/virtio/virtio-blk.h
index 4211cd645f..b495e42d6d 100644
--- a/include/hw/virtio/virtio-blk.h
+++ b/include/hw/virtio/virtio-blk.h
@@ -142,10 +142,6 @@ typedef struct VirtIOBlockReq {
     QEMUIOVector qiov;
     struct VirtIOBlockReq *next;
     BlockAcctCookie acct;
-
-#ifdef CONFIG_VIRTIO_BLK_DATA_PLANE
-    QEMUIOVector *inhdr;            /* iovecs for virtio_blk_inhdr */
-#endif
 } VirtIOBlockReq;
 
 #define DEFINE_VIRTIO_BLK_FEATURES(_state, _field) \