block.h (8b8277cdb05eef79bfe6b14c21dfaa027cebbd08) block.h (ae23f78646e9635ec9cbf15dbf82a717ea1b0e69)
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"

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

527 BlockDriverState *bs;
528} BdrvNextIterator;
529
530BlockDriverState *bdrv_first(BdrvNextIterator *it);
531BlockDriverState *bdrv_next(BdrvNextIterator *it);
532void bdrv_next_cleanup(BdrvNextIterator *it);
533
534BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs);
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"

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

527 BlockDriverState *bs;
528} BdrvNextIterator;
529
530BlockDriverState *bdrv_first(BdrvNextIterator *it);
531BlockDriverState *bdrv_next(BdrvNextIterator *it);
532void bdrv_next_cleanup(BdrvNextIterator *it);
533
534BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs);
535bool bdrv_supports_compressed_writes(BlockDriverState *bs);
535void bdrv_iterate_format(void (*it)(void *opaque, const char *name),
536 void *opaque, bool read_only);
537const char *bdrv_get_node_name(const BlockDriverState *bs);
538const char *bdrv_get_device_name(const BlockDriverState *bs);
539const char *bdrv_get_device_or_node_name(const BlockDriverState *bs);
540int bdrv_get_flags(BlockDriverState *bs);
541int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi);
542ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs,

--- 249 unchanged lines hidden ---
536void bdrv_iterate_format(void (*it)(void *opaque, const char *name),
537 void *opaque, bool read_only);
538const char *bdrv_get_node_name(const BlockDriverState *bs);
539const char *bdrv_get_device_name(const BlockDriverState *bs);
540const char *bdrv_get_device_or_node_name(const BlockDriverState *bs);
541int bdrv_get_flags(BlockDriverState *bs);
542int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi);
543ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs,

--- 249 unchanged lines hidden ---