Kevin Wolf e3f652b332 qcow2: Fix error path in qcow2_snapshot_load_tmp
If the bdrv_read() of the snapshot's L1 table fails, return the right
error code and make sure that the old L1 table is still loaded and we
don't break the BlockDriverState completely.

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-10-28 19:25:48 +02:00
2011-11-21 14:58:48 -06:00
2011-11-21 14:58:48 -06:00
2011-11-23 17:04:05 +01:00
2011-11-23 17:04:03 +01:00
2011-11-23 17:04:05 +01:00