qcow2.h (ce2f51697bea03956c2ac1ccc17d81e170d68c3b) qcow2.h (79a558664840adf502fe94907b0a680836e3e98e)
1/*
2 * Block driver for the QCOW version 2 format
3 *
4 * Copyright (c) 2004-2006 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

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

967
968int GRAPH_RDLOCK
969qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id);
970
971int GRAPH_RDLOCK
972qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id,
973 const char *name, Error **errp);
974
1/*
2 * Block driver for the QCOW version 2 format
3 *
4 * Copyright (c) 2004-2006 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

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

967
968int GRAPH_RDLOCK
969qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id);
970
971int GRAPH_RDLOCK
972qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id,
973 const char *name, Error **errp);
974
975int qcow2_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_tab);
976int qcow2_snapshot_load_tmp(BlockDriverState *bs,
977 const char *snapshot_id,
978 const char *name,
979 Error **errp);
975int GRAPH_RDLOCK
976qcow2_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_tab);
980
977
978int GRAPH_RDLOCK
979qcow2_snapshot_load_tmp(BlockDriverState *bs, const char *snapshot_id,
980 const char *name, Error **errp);
981
981void qcow2_free_snapshots(BlockDriverState *bs);
982int coroutine_fn GRAPH_RDLOCK
983qcow2_read_snapshots(BlockDriverState *bs, Error **errp);
984int GRAPH_RDLOCK qcow2_write_snapshots(BlockDriverState *bs);
985
986int coroutine_fn GRAPH_RDLOCK
987qcow2_check_read_snapshot_table(BlockDriverState *bs, BdrvCheckResult *result,
988 BdrvCheckMode fix);

--- 75 unchanged lines hidden ---
982void qcow2_free_snapshots(BlockDriverState *bs);
983int coroutine_fn GRAPH_RDLOCK
984qcow2_read_snapshots(BlockDriverState *bs, Error **errp);
985int GRAPH_RDLOCK qcow2_write_snapshots(BlockDriverState *bs);
986
987int coroutine_fn GRAPH_RDLOCK
988qcow2_check_read_snapshot_table(BlockDriverState *bs, BdrvCheckResult *result,
989 BdrvCheckMode fix);

--- 75 unchanged lines hidden ---