block_int.h (5098699a51756f7e8934dc035112c8f8aa2a0ec3) block_int.h (cf8074b3825f7229a20c60e679511592bde41340)
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

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

159 const char *snapshot_id);
160 int (*bdrv_snapshot_delete)(BlockDriverState *bs, const char *snapshot_id);
161 int (*bdrv_snapshot_list)(BlockDriverState *bs,
162 QEMUSnapshotInfo **psn_info);
163 int (*bdrv_snapshot_load_tmp)(BlockDriverState *bs,
164 const char *snapshot_name);
165 int (*bdrv_get_info)(BlockDriverState *bs, BlockDriverInfo *bdi);
166
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

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

159 const char *snapshot_id);
160 int (*bdrv_snapshot_delete)(BlockDriverState *bs, const char *snapshot_id);
161 int (*bdrv_snapshot_list)(BlockDriverState *bs,
162 QEMUSnapshotInfo **psn_info);
163 int (*bdrv_snapshot_load_tmp)(BlockDriverState *bs,
164 const char *snapshot_name);
165 int (*bdrv_get_info)(BlockDriverState *bs, BlockDriverInfo *bdi);
166
167 int (*bdrv_save_vmstate)(BlockDriverState *bs, const uint8_t *buf,
168 int64_t pos, int size);
167 int (*bdrv_save_vmstate)(BlockDriverState *bs, QEMUIOVector *qiov,
168 int64_t pos);
169 int (*bdrv_load_vmstate)(BlockDriverState *bs, uint8_t *buf,
170 int64_t pos, int size);
171
172 int (*bdrv_change_backing_file)(BlockDriverState *bs,
173 const char *backing_file, const char *backing_fmt);
174
175 /* removable device specific */
176 int (*bdrv_is_inserted)(BlockDriverState *bs);

--- 205 unchanged lines hidden ---
169 int (*bdrv_load_vmstate)(BlockDriverState *bs, uint8_t *buf,
170 int64_t pos, int size);
171
172 int (*bdrv_change_backing_file)(BlockDriverState *bs,
173 const char *backing_file, const char *backing_fmt);
174
175 /* removable device specific */
176 int (*bdrv_is_inserted)(BlockDriverState *bs);

--- 205 unchanged lines hidden ---