qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 14/17] vpc: Implement .bdrv_co_preadv() inter


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v2 14/17] vpc: Implement .bdrv_co_preadv() interface
Date: Fri, 29 Apr 2016 11:14:00 +0800
User-agent: Mutt/1.6.0 (2016-04-01)

On Thu, 04/28 15:16, Kevin Wolf wrote:
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  block/vpc.c | 79 
> ++++++++++++++++++++++++++++++++-----------------------------
>  1 file changed, 42 insertions(+), 37 deletions(-)
> 
> diff --git a/block/vpc.c b/block/vpc.c
> index 3e2ea69..0099a80 100644
> --- a/block/vpc.c
> +++ b/block/vpc.c
> @@ -454,22 +454,21 @@ static int vpc_reopen_prepare(BDRVReopenState *state,
>   * The parameter write must be 1 if the offset will be used for a write
>   * operation (the block bitmaps is updated then), 0 otherwise.
>   */
> -static inline int64_t get_sector_offset(BlockDriverState *bs,
> -    int64_t sector_num, int write)
> +static inline int64_t get_image_offset(BlockDriverState *bs, uint64_t offset,
> +                                        bool write)

Parameter's indentation is one column off.




reply via email to

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