block.h (3d815ac82b0a3e816fd7a6d2561a73e780c3b685) block.h (b65a5e12a4136b20f9d06675d597b52d64ac903c)
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"

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

163
164/* disk I/O throttling */
165void bdrv_io_limits_enable(BlockDriverState *bs);
166void bdrv_io_limits_disable(BlockDriverState *bs);
167
168void bdrv_init(void);
169void bdrv_init_with_whitelist(void);
170BlockDriver *bdrv_find_protocol(const char *filename,
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"

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

163
164/* disk I/O throttling */
165void bdrv_io_limits_enable(BlockDriverState *bs);
166void bdrv_io_limits_disable(BlockDriverState *bs);
167
168void bdrv_init(void);
169void bdrv_init_with_whitelist(void);
170BlockDriver *bdrv_find_protocol(const char *filename,
171 bool allow_protocol_prefix);
171 bool allow_protocol_prefix,
172 Error **errp);
172BlockDriver *bdrv_find_format(const char *format_name);
173BlockDriver *bdrv_find_whitelisted_format(const char *format_name,
174 bool readonly);
175int bdrv_create(BlockDriver *drv, const char* filename,
176 QemuOpts *opts, Error **errp);
177int bdrv_create_file(const char *filename, QemuOpts *opts, Error **errp);
178BlockDriverState *bdrv_new_root(void);
179BlockDriverState *bdrv_new(void);

--- 381 unchanged lines hidden ---
173BlockDriver *bdrv_find_format(const char *format_name);
174BlockDriver *bdrv_find_whitelisted_format(const char *format_name,
175 bool readonly);
176int bdrv_create(BlockDriver *drv, const char* filename,
177 QemuOpts *opts, Error **errp);
178int bdrv_create_file(const char *filename, QemuOpts *opts, Error **errp);
179BlockDriverState *bdrv_new_root(void);
180BlockDriverState *bdrv_new(void);

--- 381 unchanged lines hidden ---