block.h (f3947986d9bbbae1087c4c33880d3f8dbf1f1384) block.h (e12f3784097a26a1ba51be420f41038b4c0ae5d1)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu-common.h"
6#include "qemu/option.h"
7#include "block/coroutine.h"
8#include "block/accounting.h"

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

312 BlockDriverAmendStatusCB *status_cb);
313
314/* external snapshots */
315bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs,
316 BlockDriverState *candidate);
317bool bdrv_is_first_non_filter(BlockDriverState *candidate);
318
319/* check if a named node can be replaced when doing drive-mirror */
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu-common.h"
6#include "qemu/option.h"
7#include "block/coroutine.h"
8#include "block/accounting.h"

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

312 BlockDriverAmendStatusCB *status_cb);
313
314/* external snapshots */
315bool bdrv_recurse_is_first_non_filter(BlockDriverState *bs,
316 BlockDriverState *candidate);
317bool bdrv_is_first_non_filter(BlockDriverState *candidate);
318
319/* check if a named node can be replaced when doing drive-mirror */
320BlockDriverState *check_to_replace_node(const char *node_name, Error **errp);
320BlockDriverState *check_to_replace_node(BlockDriverState *parent_bs,
321 const char *node_name, Error **errp);
321
322/* async block I/O */
323typedef void BlockDriverDirtyHandler(BlockDriverState *bs, int64_t sector,
324 int sector_num);
325BlockAIOCB *bdrv_aio_readv(BlockDriverState *bs, int64_t sector_num,
326 QEMUIOVector *iov, int nb_sectors,
327 BlockCompletionFunc *cb, void *opaque);
328BlockAIOCB *bdrv_aio_writev(BlockDriverState *bs, int64_t sector_num,

--- 291 unchanged lines hidden ---
322
323/* async block I/O */
324typedef void BlockDriverDirtyHandler(BlockDriverState *bs, int64_t sector,
325 int sector_num);
326BlockAIOCB *bdrv_aio_readv(BlockDriverState *bs, int64_t sector_num,
327 QEMUIOVector *iov, int nb_sectors,
328 BlockCompletionFunc *cb, void *opaque);
329BlockAIOCB *bdrv_aio_writev(BlockDriverState *bs, int64_t sector_num,

--- 291 unchanged lines hidden ---