block.h (009b03aaa233ccf5bd3014404995540158d7dc93) block.h (645ae7d88e5393a2a67ebe325f4456ecd49e33e5)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qapi/qapi-types-block-core.h"
6#include "block/aio-wait.h"
7#include "qemu/iov.h"
8#include "qemu/coroutine.h"

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

484 int64_t offset, int64_t bytes,
485 int64_t *cluster_offset,
486 int64_t *cluster_bytes);
487
488void bdrv_get_backing_filename(BlockDriverState *bs,
489 char *filename, int filename_size);
490void bdrv_get_full_backing_filename(BlockDriverState *bs,
491 char *dest, size_t sz, Error **errp);
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qapi/qapi-types-block-core.h"
6#include "block/aio-wait.h"
7#include "qemu/iov.h"
8#include "qemu/coroutine.h"

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

484 int64_t offset, int64_t bytes,
485 int64_t *cluster_offset,
486 int64_t *cluster_bytes);
487
488void bdrv_get_backing_filename(BlockDriverState *bs,
489 char *filename, int filename_size);
490void bdrv_get_full_backing_filename(BlockDriverState *bs,
491 char *dest, size_t sz, Error **errp);
492void bdrv_get_full_backing_filename_from_filename(const char *backed,
493 const char *backing,
494 char *dest, size_t sz,
495 Error **errp);
492char *bdrv_get_full_backing_filename_from_filename(const char *backed,
493 const char *backing,
494 Error **errp);
496
497int path_has_protocol(const char *path);
498int path_is_absolute(const char *path);
499char *path_combine(const char *base_path, const char *filename);
500
501int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
502int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
503int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf,

--- 213 unchanged lines hidden ---
495
496int path_has_protocol(const char *path);
497int path_is_absolute(const char *path);
498char *path_combine(const char *base_path, const char *filename);
499
500int bdrv_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
501int bdrv_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos);
502int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf,

--- 213 unchanged lines hidden ---