block.h (1e4c797c759dea15a3d426f655532968d3973028) block.h (72373e40fbc7e4218061a8211384db362d3e7348)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "block/aio-wait.h"
6#include "qemu/iov.h"
7#include "qemu/coroutine.h"
8#include "block/accounting.h"

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

203typedef QTAILQ_HEAD(BlockReopenQueue, BlockReopenQueueEntry) BlockReopenQueue;
204
205typedef struct BDRVReopenState {
206 BlockDriverState *bs;
207 int flags;
208 BlockdevDetectZeroesOptions detect_zeroes;
209 bool backing_missing;
210 bool replace_backing_bs; /* new_backing_bs is ignored if this is false */
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "block/aio-wait.h"
6#include "qemu/iov.h"
7#include "qemu/coroutine.h"
8#include "block/accounting.h"

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

203typedef QTAILQ_HEAD(BlockReopenQueue, BlockReopenQueueEntry) BlockReopenQueue;
204
205typedef struct BDRVReopenState {
206 BlockDriverState *bs;
207 int flags;
208 BlockdevDetectZeroesOptions detect_zeroes;
209 bool backing_missing;
210 bool replace_backing_bs; /* new_backing_bs is ignored if this is false */
211 BlockDriverState *new_backing_bs; /* If NULL then detach the current bs */
212 uint64_t perm, shared_perm;
211 BlockDriverState *old_backing_bs; /* keep pointer for permissions update */
213 QDict *options;
214 QDict *explicit_options;
215 void *opaque;
216} BDRVReopenState;
217
218/*
219 * Block operation types
220 */

--- 636 unchanged lines hidden ---
212 QDict *options;
213 QDict *explicit_options;
214 void *opaque;
215} BDRVReopenState;
216
217/*
218 * Block operation types
219 */

--- 636 unchanged lines hidden ---