block.h (077e8e2018bce66aa1d1a87fa42beb24992c490f) block.h (8546632e610f9b906ff9d34ecba167915fc8157c)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qapi/qapi-types-block-core.h"
6#include "block/aio-wait.h"
7#include "qemu/iov.h"
8#include "qemu/coroutine.h"

--- 173 unchanged lines hidden (view full) ---

182#define BDRV_BLOCK_OFFSET_MASK BDRV_SECTOR_MASK
183
184typedef QSIMPLEQ_HEAD(BlockReopenQueue, BlockReopenQueueEntry) BlockReopenQueue;
185
186typedef struct BDRVReopenState {
187 BlockDriverState *bs;
188 int flags;
189 BlockdevDetectZeroesOptions detect_zeroes;
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qapi/qapi-types-block-core.h"
6#include "block/aio-wait.h"
7#include "qemu/iov.h"
8#include "qemu/coroutine.h"

--- 173 unchanged lines hidden (view full) ---

182#define BDRV_BLOCK_OFFSET_MASK BDRV_SECTOR_MASK
183
184typedef QSIMPLEQ_HEAD(BlockReopenQueue, BlockReopenQueueEntry) BlockReopenQueue;
185
186typedef struct BDRVReopenState {
187 BlockDriverState *bs;
188 int flags;
189 BlockdevDetectZeroesOptions detect_zeroes;
190 bool backing_missing;
190 uint64_t perm, shared_perm;
191 QDict *options;
192 QDict *explicit_options;
193 void *opaque;
194} BDRVReopenState;
195
196/*
197 * Block operation types

--- 524 unchanged lines hidden ---
191 uint64_t perm, shared_perm;
192 QDict *options;
193 QDict *explicit_options;
194 void *opaque;
195} BDRVReopenState;
196
197/*
198 * Block operation types

--- 524 unchanged lines hidden ---