[Qemu-devel] [PATCH] [V2] Copy snapshots out of QCOW2 disk

2010-09-21 Thread disheng . su
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

[Qemu-devel] [PATCH] [RFC] savevm only saves disk state

2010-09-09 Thread disheng . su
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

[Qemu-devel] [PATCH] Copy snapshots out of QCOW2 disk

2010-09-09 Thread disheng . su
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