diff options
Diffstat (limited to 'include/block/block.h')
-rw-r--r-- | include/block/block.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/block/block.h b/include/block/block.h index 610db92..c8b40b7 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -335,10 +335,18 @@ void bdrv_aio_cancel_async(BlockAIOCB *acb); typedef struct BlockRequest { /* Fields to be filled by multiwrite caller */ - int64_t sector; - int nb_sectors; - int flags; - QEMUIOVector *qiov; + union { + struct { + int64_t sector; + int nb_sectors; + int flags; + QEMUIOVector *qiov; + }; + struct { + int req; + void *buf; + }; + }; BlockCompletionFunc *cb; void *opaque; |