This unifies the request structure used by dataplane and non-dataplane code, while dropping unnessary fields for bounce buffer and read flag.
Applies on top of the "[PATCH v3 0/2] dataplane: Enable "scsi=on" series. Fam Zheng (5): virtio-blk: Move VirtIOBlockReq to header virtio-blk: Convert VirtIOBlockReq.elem to pointer virtio-blk: Merge VirtIOBlockRequest into VirtIOBlockReq virtio-blk: Drop bounce buffer from dataplane code virtio-blk: Drop VirtIOBlockReq.read hw/block/dataplane/virtio-blk.c | 45 +++----------------- hw/block/virtio-blk.c | 92 ++++++++++++++++++++--------------------- include/hw/virtio/virtio-blk.h | 16 +++++++ 3 files changed, 66 insertions(+), 87 deletions(-) -- 1.9.2