]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
virtio-blk: Use VirtIOBlockReq.in to drop VirtIOBlockReq.inhdr
authorFam Zheng <famz@redhat.com>
Wed, 11 Jun 2014 04:11:47 +0000 (12:11 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 27 Jun 2014 16:18:23 +0000 (18:18 +0200)
commiteddb102e86f61d4b71877f8ac268ebc4bf7265bf
tree4058caaea83d0bc8939641535efbccc5be31e0aa
parent04af2d70c58136be57d798ad684e1924dcde93f5
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>
hw/block/dataplane/virtio-blk.c
include/hw/virtio/virtio-blk.h