Kevin Wolf d1ea98d56d qcow2: Rework qcow2_snapshot_create error handling
Increase refcounts only after allocating a new L1 table has succeeded in
order to make leaks less likely. If writing the snapshot table fails,
revert in-memory state to be consistent with that on disk.

While at it, make it return the real error codes instead of -1.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2011-12-05 14:51:36 +01:00
2011-12-05 14:51:34 +01:00
2011-11-07 10:57:36 -06:00
2011-11-17 15:15:03 -02:00
2011-11-07 10:57:36 -06:00
2011-11-30 09:28:32 -06:00
2011-11-19 11:22:57 +00:00
2011-11-28 11:36:34 -06:00
2011-11-07 10:57:36 -06:00
2011-12-05 14:51:35 +01:00
2011-12-05 14:51:35 +01:00
2011-12-05 14:51:35 +01:00
2011-12-05 14:51:35 +01:00
2011-11-07 08:01:15 +00:00
2011-11-19 11:22:24 +00:00
2011-12-05 14:51:35 +01:00
2011-11-26 09:55:30 +00:00
2011-11-13 12:00:55 +02:00
2011-11-21 14:57:22 -06:00
2011-11-09 12:06:20 -06:00
2011-11-21 14:58:48 -06:00
2011-12-05 14:51:35 +01:00
2011-12-05 14:51:35 +01:00
2011-12-01 14:04:21 -06:00
2011-11-28 16:20:52 -06:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%