commit | 589f284b7690bbb4ed37170590bae9527ed31b42 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Nov 16 15:04:11 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Dec 05 14:51:36 2011 +0100 |
tree | 283187088f5bbdc0692bbdde711dcf53dc2d73b1 | |
parent | d1ea98d56dc2485b4637a1ca19feef786b3aee8f [diff] |
qcow2: Return real error in qcow2_snapshot_goto Besides fixing the return code, this adds some comments that make clear how the code works and that it potentially breaks images if we fail in the wrong place. Actually fixing this is left for the next patch. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>