block: add flags to BlockRequest
commitd20d9b7c6723d0123b7d60dd5557aa0a6599f471
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Nov 2013 12:39:44 +0000 (22 13:39 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 3 Dec 2013 14:26:48 +0000 (3 15:26 +0100)
treeb59fe7af29b5d3f45e5204c6623407d36333a82d
parentd51e9fe505f7c7b97762100dd0e42cef43c90524
block: add flags to BlockRequest

This lets bdrv_co_do_rw receive flags, so that it can be used for
zero writes.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
include/block/block.h