Received: from eggs.gnu.org ([2001:4830:134:3::10]:43359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN46g-0003ZH-55 for qemu-devel@nongnu.org; Tue, 12 Jul 2016 16:16:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN46b-0008VR-UA for qemu-devel@nongnu.org; Tue, 12 Jul 2016 16:16:37 -0400 Received: from abufalia.dnsforhost.com ([67.220.212.159]:58811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN46b-0008VN-K8 for qemu-devel@nongnu.org; Tue, 12 Jul 2016 16:16:33 -0400 Received: from pc-45-35-46-190.cm.vtr.net ([190.46.35.45]:59544 helo=[192.168.0.15]) by abufalia.dnsforhost.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1bN46a-0006M1-3M for qemu-devel@nongnu.org; Tue, 12 Jul 2016 15:16:32 -0500 References: <4ba18341-3084-034c-a601-1ec216bc0558@imatronix.cl> <5784F994.5050402@redhat.com> From: Christopher Pereira Message-ID: <816099ab-b024-e9a7-e83d-6c304a73c319@imatronix.cl> Date: Tue, 12 Jul 2016 16:16:31 -0400 MIME-Version: 1.0 In-Reply-To: <5784F994.5050402@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-img convert of a backing qcow2 snapshot (THANKS) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 12-Jul-16 10:07, Eric Blake wrote: > On 07/11/2016 09:42 PM, Christopher Pereira wrote: >> Hi, >> >> Let's say we have this chain: >> >> base <--- sn1 <--- sn2 <--- active >> >> Can we shutdown the VM and "qemu-img convert sn2 -O qcow2 sn2_new" and >> rebase active to sn2_new like this: >> >> sn2_new <--- active >> >> ? > Yes. As long as the guest-visible data in 'base <- sn1 <- sn2' is > identical to the guest-visible data in 'sn2_new', then it doesn't matter > which of the two files is used as the backing file for 'active'. Nice! Thanks Eric for confirming and for all your brilliant work.