qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-block] [PATCH v2 05/13] block: Move throttling fi


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v2 05/13] block: Move throttling fields from BDS to BB
Date: Mon, 9 May 2016 13:43:55 +0100
User-agent: Mutt/1.6.0 (2016-04-01)

On Fri, Apr 22, 2016 at 07:42:34PM +0200, Kevin Wolf wrote:
> @@ -1527,7 +1525,7 @@ static int bdrv_open_inherit(BlockDriverState **pbs, 
> const char *filename,
>              return -ENODEV;
>          }
>  
> -        if (bs->throttle_state) {
> +        if (blk_get_public(bs->blk)->throttle_state) {

The reference argument can be any nodename.  How can you be sure bs->blk
!= NULL?

Attachment: signature.asc
Description: PGP signature


reply via email to

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