diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-22 13:39:44 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-03 15:26:48 +0100 |
commit | d20d9b7c6723d0123b7d60dd5557aa0a6599f471 (patch) | |
tree | b59fe7af29b5d3f45e5204c6623407d36333a82d /include/block | |
parent | d51e9fe505f7c7b97762100dd0e42cef43c90524 (diff) | |
download | qemu-d20d9b7c6723d0123b7d60dd5557aa0a6599f471.zip qemu-d20d9b7c6723d0123b7d60dd5557aa0a6599f471.tar.gz qemu-d20d9b7c6723d0123b7d60dd5557aa0a6599f471.tar.bz2 |
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>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block.h b/include/block/block.h index 5beccbf..49e6719 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -311,6 +311,7 @@ typedef struct BlockRequest { /* Fields to be filled by multiwrite caller */ int64_t sector; int nb_sectors; + int flags; QEMUIOVector *qiov; BlockDriverCompletionFunc *cb; void *opaque; |