qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 for-1.2 0/2] stream: complete early if end of


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2 for-1.2 0/2] stream: complete early if end of backing file is reached
Date: Tue, 28 Aug 2012 21:08:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

Am 28.08.2012 16:26, schrieb Stefan Hajnoczi:
> Image streaming hangs if the backing image is smaller than the image file.  
> The
> problem is that the image streaming loop makes no progress when
> bdrv_co_is_allocated() returns 0 with pnum=0.  More details in the actual
> patch.
> 
> I have also included a qemu-iotest to check this scenario.  It hangs when run
> against qemu.git/master and passes when the patch is applied.
> 
> Stefan Hajnoczi (2):
>   stream: complete early if end of backing file is reached
>   qemu-iotests: add backing file smaller than image test case
> 
>  block/stream.c             |    6 ++++++
>  tests/qemu-iotests/030     |   33 +++++++++++++++++++++++++++++++++
>  tests/qemu-iotests/030.out |    4 ++--
>  3 files changed, 41 insertions(+), 2 deletions(-)
> 

Thanks, applied all to the block branch.

Kevin



reply via email to

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