ts to copy the full snapshot, delta snapshot is on the
way.
Changes from V1: all the comments from Kevin are addressed:
Add read-only checking
Fix coding style
Change the name from bdrv_snapshot_load to bdrv_snapshot_load_tmp
Signed-off-by: Disheng Su
---
block.c
From: edison
Add a new option when "savevm": savevm -n snapshotName, which only takes
snapshot on disk, but doesn't save vm state(memory,cpu,devices...).
Saving vm state on QCOW2 disk will take a long time, per my test, it will take
1~2 minutes to "savevm" on VM with 1G memory. Even worse, the
ts to copy the full snapshot, delta snapshot is on the
way.
Signed-off-by: Disheng Su
---
block.c| 11 +++
block.h|2 ++
block/qcow2-snapshot.c | 26 ++
block/qcow2.c |1 +
block/qcow2.h |1 +
b