This series does some cleanups and changes how the monitor command 'savevm' handles overwriting snapshots with existing names and makes 'savevm' always create a name for an snapshot being taken.
I'm keeping track of some issues with savevm/loadvm on a wiki page [1]. All feedback is very appreciated. Regards, Miguel [1] http://wiki.qemu.org/Features/SnapshottingImprovements Miguel Di Ciurcio Filho (3): cleanup: bdrv_snaphost_find() returns zero or -ENOENT cleanup: del_existing_snapshots() must return the upstream error code savevm: prevent snapshot overwriting and generate a default name qemu-monitor.hx | 9 ++++--- savevm.c | 68 ++++++++++++++++++++++++++++++++---------------------- 2 files changed, 45 insertions(+), 32 deletions(-)