diff options
| author | Paolo Bonzini | 2013-11-22 13:39:44 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-12-03 15:26:48 +0100 |
| commit | d20d9b7c6723d0123b7d60dd5557aa0a6599f471 (patch) | |
| tree | b59fe7af29b5d3f45e5204c6623407d36333a82d /include | |
| parent | block: generalize BlockLimits handling to cover bdrv_aio_discard too (diff) | |
| download | qemu-d20d9b7c6723d0123b7d60dd5557aa0a6599f471.tar.gz qemu-d20d9b7c6723d0123b7d60dd5557aa0a6599f471.tar.xz qemu-d20d9b7c6723d0123b7d60dd5557aa0a6599f471.zip | |
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')
| -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 5beccbf1cf..49e6719116 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; |
