On 2013-09-06 12:32, Kevin Wolf wrote:
This series fixes that 'savevm' becomes much slower after the first snapshot.
The reason is unnecessary COW for the VM state, which is now avoided.
Kevin Wolf (2):
qcow2: Pass discard type to qcow2_discard_clusters()
qcow2: Discard VM state in active L1 after creating snapshot
block/qcow2-cluster.c | 8 ++++----
block/qcow2-snapshot.c | 7 +++++++
block/qcow2.c | 7 +------
block/qcow2.h | 7 ++++++-
4 files changed, 18 insertions(+), 11 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>