qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 1/4] block: Add synchronous wrapper for bdrv_


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v7 1/4] block: Add synchronous wrapper for bdrv_co_is_allocated_above
Date: Wed, 19 Dec 2012 10:54:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/17/2012 06:39 AM, address@hidden wrote:
> From: Miroslav Rezanina <address@hidden>
> 
> There's no synchronous wrapper for bdrv_co_is_allocated_above function
> so it's not possible to check for sector allocation in image with

s/in image with/in an image with a/

> backing file.
> 
> This patch add missing synchronous wrapper.

s/add/adds the/

> 
> Signed-off-by: Miroslav Rezanina <address@hidden>
> ---
>  block.c | 39 +++++++++++++++++++++++++++++++++++++++
>  block.h |  2 ++
>  2 files changed, 41 insertions(+)
> 
> diff --git a/block.c b/block.c
> index c05875f..24c06ab 100644
> --- a/block.c
> +/*
> + * Synchronous wrapper around bdrv_co_is_allocated_above().
> + *
> + * See bdrv_co_is_allocated_above() for details.
> + */
> +int bdrv_is_allocated_above(BlockDriverState *top, BlockDriverState *base,
> +                      int64_t sector_num, int nb_sectors, int *pnum)

Indentation looks off.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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