]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
virtio-blk: Convert VirtIOBlockReq.elem to pointer
authorFam Zheng <famz@redhat.com>
Wed, 11 Jun 2014 04:11:43 +0000 (12:11 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 27 Jun 2014 16:18:13 +0000 (18:18 +0200)
commit671ec3f056559f22a2531a91dce3a258b9b5eb8a
tree06e3fbd79cbf96fac9a475a4bbd0f2dbaa3f6a1e
parent09f645877037590415016b59f6d32be1a27229c6
virtio-blk: Convert VirtIOBlockReq.elem to pointer

This will make converging with dataplane code easier.

Add virtio_blk_free_request to handle the freeing of request internal
fields.

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/virtio-blk.c
include/hw/virtio/virtio-blk.h