--- qemu/block.h 2018/04/24 16:56:47 1.1.1.3 +++ qemu/block.h 2018/04/24 17:02:01 1.1.1.4 @@ -169,4 +169,9 @@ void path_combine(char *dest, int dest_s const char *base_path, const char *filename); +int bdrv_put_buffer(BlockDriverState *bs, const uint8_t *buf, + int64_t pos, int size); + +int bdrv_get_buffer(BlockDriverState *bs, uint8_t *buf, int64_t pos, int size); + #endif