From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ2Rm-00020N-QI for qemu-devel@nongnu.org; Mon, 09 Sep 2013 10:28:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ2Rg-0004Wr-H6 for qemu-devel@nongnu.org; Mon, 09 Sep 2013 10:28:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ2Rg-0004Wg-8e for qemu-devel@nongnu.org; Mon, 09 Sep 2013 10:28:04 -0400 Message-ID: <522DDAEC.1050102@redhat.com> Date: Mon, 09 Sep 2013 16:27:56 +0200 From: Max Reitz MIME-Version: 1.0 References: <1378463546-26671-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1378463546-26671-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] qcow2: Discard VM state in active L1 after creating snapshot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: xuanmao_001@163.com, qemu-devel@nongnu.org, stefanha@redhat.com 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