From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aydoh-0005M4-O5 for qemu-devel@nongnu.org; Fri, 06 May 2016 07:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aydoW-00074I-4q for qemu-devel@nongnu.org; Fri, 06 May 2016 07:21:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aydoW-00070r-0C for qemu-devel@nongnu.org; Fri, 06 May 2016 07:20:56 -0400 Date: Fri, 6 May 2016 13:20:39 +0200 From: Kevin Wolf Message-ID: <20160506112039.GD5093@noname.redhat.com> References: <4D4CF2CA-A28B-47A1-ABD5-0E99BA5DEF68@meituan.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D4CF2CA-A28B-47A1-ABD5-0E99BA5DEF68@meituan.com> Subject: Re: [Qemu-devel] qcow2 resize with snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zhangzhiming Cc: qemu-devel@nongnu.org Am 06.05.2016 um 07:57 hat zhangzhiming geschrieben: > hi, i want to implement the function of qcow2 resize which has snapshots. > each snapshot of qcow2 will have a separate total size, and when apply a snapshot, > the image can be shrunk, and the total size of image will change after apply to a snapshot > with different size. > now, there is a disk_size value in struct QcowSnapshot, i only need to change the size of current active > image layer when apply a snapshot with different size, and the io request will be limit in the range of active layer. > > and i want my code merged into the master of qemu. > please give me some comments. thanks. You asked the same a week ago, and I replied you there: https://lists.gnu.org/archive/html/qemu-devel/2016-05/msg00178.html In order to keep meaningful email threading, please reply to that mail if you need more information. Kevin