qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] block: Fix is_allocated_above with resized file


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] block: Fix is_allocated_above with resized files
Date: Tue, 29 Jan 2013 15:51:49 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 24, 2013 at 10:02:08AM -0800, Vishvananda Ishaya wrote:
> In an image chain, if the base image is smaller than the current
> image, we need to make sure to use the current images count of
> unallocated blocks once we get to the end of the base image. Without
> this change the code will return 0 blocks when it gets to the end
> of the base image and mirror_run will fail its assertion.
> 
> Signed-off-by: Vishvananda Ishaya <address@hidden>
> ---
> Fixes https://bugs.launchpad.net/qemu/+bug/1103868
> 
>  block.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan



reply via email to

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