block_int.h (4235d77349e93e7157555f20f1892088f55edff4) block_int.h (eae041fe6f4314962e873615134eefb32cf8ba61)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

163 const char *snapshot_id,
164 const char *name,
165 Error **errp);
166 int (*bdrv_snapshot_list)(BlockDriverState *bs,
167 QEMUSnapshotInfo **psn_info);
168 int (*bdrv_snapshot_load_tmp)(BlockDriverState *bs,
169 const char *snapshot_name);
170 int (*bdrv_get_info)(BlockDriverState *bs, BlockDriverInfo *bdi);
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

163 const char *snapshot_id,
164 const char *name,
165 Error **errp);
166 int (*bdrv_snapshot_list)(BlockDriverState *bs,
167 QEMUSnapshotInfo **psn_info);
168 int (*bdrv_snapshot_load_tmp)(BlockDriverState *bs,
169 const char *snapshot_name);
170 int (*bdrv_get_info)(BlockDriverState *bs, BlockDriverInfo *bdi);
171 ImageInfoSpecific *(*bdrv_get_specific_info)(BlockDriverState *bs);
171
172 int (*bdrv_save_vmstate)(BlockDriverState *bs, QEMUIOVector *qiov,
173 int64_t pos);
174 int (*bdrv_load_vmstate)(BlockDriverState *bs, uint8_t *buf,
175 int64_t pos, int size);
176
177 int (*bdrv_change_backing_file)(BlockDriverState *bs,
178 const char *backing_file, const char *backing_fmt);

--- 245 unchanged lines hidden ---
172
173 int (*bdrv_save_vmstate)(BlockDriverState *bs, QEMUIOVector *qiov,
174 int64_t pos);
175 int (*bdrv_load_vmstate)(BlockDriverState *bs, uint8_t *buf,
176 int64_t pos, int size);
177
178 int (*bdrv_change_backing_file)(BlockDriverState *bs,
179 const char *backing_file, const char *backing_fmt);

--- 245 unchanged lines hidden ---