Received: from eggs.gnu.org ([2001:4830:134:3::10]:53029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn01C-0006HN-0Q for qemu-devel@nongnu.org; Sat, 08 Nov 2014 02:01:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xn015-0003LB-TM for qemu-devel@nongnu.org; Sat, 08 Nov 2014 02:01:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn015-0003L2-MK for qemu-devel@nongnu.org; Sat, 08 Nov 2014 02:00:59 -0500 Date: Sat, 8 Nov 2014 15:01:16 +0800 From: Fam Zheng Message-ID: <20141108070116.GA4940@fam-t430.nay.redhat.com> References: <000001cffaa8$7cd57f50$76807df0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001cffaa8$7cd57f50$76807df0$@gmail.com> Subject: Re: [Qemu-devel] Security for QCOW2 format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Halsey Pian Cc: qemu-devel@nongnu.org On Sat, 11/08 00:32, Halsey Pian wrote: > Dear All, > > > > Nice to know all of you! > > > > Recently, I am reading codes of qcow2 format, in order to switch > virtualization solution in my project from VMWare to KVM for more specific > customization based on customer's requirements. > > > > I have one consideration related to qcow2 format in QEMU. > > As you know, there is all-in-one img file for QCOW2 format even if there is > much original data and a number of snapshots, then maybe we would get a huge > file, and maybe we cannot use this img if it is broken due to some > reason/exception during long term running especially for server application. > Is there a solution for this? Or is there a strategy similar to VMWare VMDK > format using the structure with parent pointer to manage separate sub vmdk > files? > > > > Could you give help on it? Many thanks! Qcow2 supports external snapshot with backing file, as alternative to internal snapshot. It is similar to VMDK parent pointer. There is no "sub image" in qcow2, if you mean something like two GB split extents in VMDK. Fam