block.h (9fcb025146676ab376e6159b58f5a5ddb67bf03c) block.h (4f6fd3491cf0f768b135ed2e242bd1d1d2a2efec)
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 "qapi/qmp/qobject.h"

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

117 bool readonly);
118int bdrv_create(BlockDriver *drv, const char* filename,
119 QEMUOptionParameter *options);
120int bdrv_create_file(const char* filename, QEMUOptionParameter *options);
121BlockDriverState *bdrv_new(const char *device_name);
122void bdrv_make_anon(BlockDriverState *bs);
123void bdrv_swap(BlockDriverState *bs_new, BlockDriverState *bs_old);
124void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top);
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 "qapi/qmp/qobject.h"

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

117 bool readonly);
118int bdrv_create(BlockDriver *drv, const char* filename,
119 QEMUOptionParameter *options);
120int bdrv_create_file(const char* filename, QEMUOptionParameter *options);
121BlockDriverState *bdrv_new(const char *device_name);
122void bdrv_make_anon(BlockDriverState *bs);
123void bdrv_swap(BlockDriverState *bs_new, BlockDriverState *bs_old);
124void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top);
125void bdrv_delete(BlockDriverState *bs);
126int bdrv_parse_cache_flags(const char *mode, int *flags);
127int bdrv_parse_discard_flags(const char *mode, int *flags);
128int bdrv_file_open(BlockDriverState **pbs, const char *filename,
129 QDict *options, int flags);
130int bdrv_open_backing_file(BlockDriverState *bs, QDict *options);
131int bdrv_open(BlockDriverState *bs, const char *filename, QDict *options,
132 int flags, BlockDriver *drv);
133BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue,

--- 314 unchanged lines hidden ---
125int bdrv_parse_cache_flags(const char *mode, int *flags);
126int bdrv_parse_discard_flags(const char *mode, int *flags);
127int bdrv_file_open(BlockDriverState **pbs, const char *filename,
128 QDict *options, int flags);
129int bdrv_open_backing_file(BlockDriverState *bs, QDict *options);
130int bdrv_open(BlockDriverState *bs, const char *filename, QDict *options,
131 int flags, BlockDriver *drv);
132BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue,

--- 314 unchanged lines hidden ---