2 ===================================================================
3 --- new.orig/qemu-img.c 2012-11-21 11:11:22.000000000 +0100
4 +++ new/qemu-img.c 2012-11-21 11:51:19.000000000 +0100
6 error_report("Could not delete snapshot '%s': %d (%s)",
7 snapshot_name, ret, strerror(-ret));
10 + // return success if snapshot does not exists
11 + if (ret == -ENOENT) ret = 0;