Re: [Qemu-devel] [PATCH] qcow2: Fix snapshot restoration in snapshot_create

2013-10-09 Thread Kevin Wolf
Am 09.10.2013 um 14:42 hat Max Reitz geschrieben: > If the new snapshot table could not be written in qcow2_snapshot_create, > the old snapshot table has to be restored in memory and the new one > released. This should include restoration of the old snapshot count as > well, which is added by this

[Qemu-devel] [PATCH] qcow2: Fix snapshot restoration in snapshot_create

2013-10-09 Thread Max Reitz
If the new snapshot table could not be written in qcow2_snapshot_create, the old snapshot table has to be restored in memory and the new one released. This should include restoration of the old snapshot count as well, which is added by this patch. Signed-off-by: Max Reitz --- block/qcow2-snapsho