qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix -snapshot deleting images on disk change


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] Fix -snapshot deleting images on disk change
Date: Mon, 26 Jul 2010 11:03:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

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 <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]