qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v2 03/15] Explicitly mark BlockDriver function .bd


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC v2 03/15] Explicitly mark BlockDriver function .bdrv_create as coroutine and rename it bdrv_co_create.
Date: Wed, 14 Aug 2013 16:26:39 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Aug 09, 2013 at 07:43:53PM +0200, Charlie Shepherd wrote:
> diff --git a/block/cow.c b/block/cow.c
> index 1cc2e89..34c181a 100644
> --- a/block/cow.c
> +++ b/block/cow.c
> @@ -255,7 +255,7 @@ static void cow_close(BlockDriverState *bs)
>  {
>  }
>  
> -static int cow_create(const char *filename, QEMUOptionParameter *options)
> +static int coroutine_fn cow_co_create(const char *filename, 
> QEMUOptionParameter *options)

Please run scripts/checkpatch.pl on your patches.  QEMU coding style
enforces 80-character lines.

See here to automatically run it during git-commit(1):
http://blog.vmsplice.net/2011/03/how-to-automatically-run-checkpatchpl.html



reply via email to

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