qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 10/23] block: Eliminate DriveInfo member bdrv


From: Benoît Canet
Subject: Re: [Qemu-devel] [PATCH v3 10/23] block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo()
Date: Wed, 17 Sep 2014 11:24:22 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 16, 2014 at 08:12:15PM +0200, Markus Armbruster wrote:

> -    s->enabled = dinfo ? bdrv_is_inserted(dinfo->bdrv) : 0;
> +    s->enabled = bs && bdrv_is_inserted(bs);

This is not so mechanical but seems correct anyway.

Reviewed-by: Benoit Canet <address@hidden>



reply via email to

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