block.h (f38d1ea49711232651a817ec9d04c9d9e4816c44) block.h (fb62b5889695825ea22f29d4eadb9ac1b8935a71)
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"

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

696 Error **errp);
697int bdrv_child_try_set_aio_context(BlockDriverState *bs, AioContext *ctx,
698 BdrvChild *ignore_child, Error **errp);
699bool bdrv_child_can_set_aio_context(BdrvChild *c, AioContext *ctx,
700 GSList **ignore, Error **errp);
701bool bdrv_can_set_aio_context(BlockDriverState *bs, AioContext *ctx,
702 GSList **ignore, Error **errp);
703AioContext *bdrv_child_get_parent_aio_context(BdrvChild *c);
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"

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

696 Error **errp);
697int bdrv_child_try_set_aio_context(BlockDriverState *bs, AioContext *ctx,
698 BdrvChild *ignore_child, Error **errp);
699bool bdrv_child_can_set_aio_context(BdrvChild *c, AioContext *ctx,
700 GSList **ignore, Error **errp);
701bool bdrv_can_set_aio_context(BlockDriverState *bs, AioContext *ctx,
702 GSList **ignore, Error **errp);
703AioContext *bdrv_child_get_parent_aio_context(BdrvChild *c);
704AioContext *child_of_bds_get_parent_aio_context(BdrvChild *c);
704
705int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz);
706int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo);
707
708void bdrv_io_plug(BlockDriverState *bs);
709void bdrv_io_unplug(BlockDriverState *bs);
710
711/**

--- 145 unchanged lines hidden ---
705
706int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz);
707int bdrv_probe_geometry(BlockDriverState *bs, HDGeometry *geo);
708
709void bdrv_io_plug(BlockDriverState *bs);
710void bdrv_io_unplug(BlockDriverState *bs);
711
712/**

--- 145 unchanged lines hidden ---