block.h (9b2aa84f87f5b95cb0295dcae38fbfbf115df2be) | block.h (d5a8ee60a0fbc20a2c2d02f3bda1bb1bd365f1ee) |
---|---|
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" --- 368 unchanged lines hidden (view full) --- 377int bdrv_enable_write_cache(BlockDriverState *bs); 378void bdrv_set_enable_write_cache(BlockDriverState *bs, bool wce); 379int bdrv_is_inserted(BlockDriverState *bs); 380int bdrv_media_changed(BlockDriverState *bs); 381void bdrv_lock_medium(BlockDriverState *bs, bool locked); 382void bdrv_eject(BlockDriverState *bs, bool eject_flag); 383const char *bdrv_get_format_name(BlockDriverState *bs); 384BlockDriverState *bdrv_find_node(const char *node_name); | 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" --- 368 unchanged lines hidden (view full) --- 377int bdrv_enable_write_cache(BlockDriverState *bs); 378void bdrv_set_enable_write_cache(BlockDriverState *bs, bool wce); 379int bdrv_is_inserted(BlockDriverState *bs); 380int bdrv_media_changed(BlockDriverState *bs); 381void bdrv_lock_medium(BlockDriverState *bs, bool locked); 382void bdrv_eject(BlockDriverState *bs, bool eject_flag); 383const char *bdrv_get_format_name(BlockDriverState *bs); 384BlockDriverState *bdrv_find_node(const char *node_name); |
385BlockDeviceInfoList *bdrv_named_nodes_list(void); | 385BlockDeviceInfoList *bdrv_named_nodes_list(Error **errp); |
386BlockDriverState *bdrv_lookup_bs(const char *device, 387 const char *node_name, 388 Error **errp); 389bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); 390BlockDriverState *bdrv_next_node(BlockDriverState *bs); 391BlockDriverState *bdrv_next(BlockDriverState *bs); 392int bdrv_is_encrypted(BlockDriverState *bs); 393int bdrv_key_required(BlockDriverState *bs); --- 180 unchanged lines hidden --- | 386BlockDriverState *bdrv_lookup_bs(const char *device, 387 const char *node_name, 388 Error **errp); 389bool bdrv_chain_contains(BlockDriverState *top, BlockDriverState *base); 390BlockDriverState *bdrv_next_node(BlockDriverState *bs); 391BlockDriverState *bdrv_next(BlockDriverState *bs); 392int bdrv_is_encrypted(BlockDriverState *bs); 393int bdrv_key_required(BlockDriverState *bs); --- 180 unchanged lines hidden --- |