From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55052 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdJbQ-00082e-IC for qemu-devel@nongnu.org; Mon, 26 Jul 2010 05:04:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdJbL-00014k-In for qemu-devel@nongnu.org; Mon, 26 Jul 2010 05:04:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33527) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdJbL-00014b-Ak for qemu-devel@nongnu.org; Mon, 26 Jul 2010 05:03:59 -0400 Message-ID: <4C4D4F7C.2040306@redhat.com> Date: Mon, 26 Jul 2010 11:03:56 +0200 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix -snapshot deleting images on disk change References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel Am 25.07.2010 22:49, schrieb Blue Swirl: > Block device change command did not copy BDRV_O_SNAPSHOT flag. Thus > the new image did not have this flag and the file got deleted during > opening. > > Fix by copying BDRV_O_SNAPSHOT flag. > > Signed-off-by: Blue Swirl Thanks, applied to the block branch. > diff --git a/block.h b/block.h > index c2a7e4c..db131a3 100644 > --- a/block.h > +++ b/block.h > @@ -202,6 +202,7 @@ const char > *bdrv_get_encrypted_filename(BlockDriverState *bs); Please avoid wrapped lines when you send patches, e.g. by using git send-email. Kevin