qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu-io: Rework alloc command


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH] qemu-io: Rework alloc command
Date: Mon, 20 Jul 2009 22:54:31 +0200
User-agent: Mutt/1.3.28i

On Mon, Jul 20, 2009 at 04:48:43PM +0200, Kevin Wolf wrote:
> The alloc command in qemu-io is mostly useless currently. Instead of doing a
> single call to bdrv_is_allocated, we must call bdrv_is_allocated in a loop
> until we have found out for each requested sector if it is allocated or not
> (bdrv_is_allocated returns a number of sectors that are known to be in the 
> same
> state as the first one, but it is not required to include all of them)
> 
> This changes the output format of the alloc command so that a change to the
> expected output of qemu-iotests 019 is necessary once this is included.

Looks good to me.  Can you post the corresponding qemu-iotests patch,
too?





reply via email to

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