Received: from eggs.gnu.org ([2001:4830:134:3::10]:38124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX8lB-0002jO-I2 for qemu-devel@nongnu.org; Thu, 25 Sep 2014 09:07:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX8l5-0007KN-DB for qemu-devel@nongnu.org; Thu, 25 Sep 2014 09:07:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX8l5-0007Jy-5m for qemu-devel@nongnu.org; Thu, 25 Sep 2014 09:06:55 -0400 Date: Thu, 25 Sep 2014 15:06:44 +0200 From: Kevin Wolf Message-ID: <20140925130644.GM4667@noname.redhat.com> References: <1410891148-28849-1-git-send-email-armbru@redhat.com> <1410891148-28849-11-git-send-email-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1410891148-28849-11-git-send-email-armbru@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 10/23] block: Eliminate DriveInfo member bdrv, use blk_by_legacy_dinfo() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: mreitz@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, benoit.canet@nodalink.com Am 16.09.2014 um 20:12 hat Markus Armbruster geschrieben: > The patch is big, but all it really does is replacing > > dinfo->bdrv > > by > > blk_bs(blk_by_legacy_dinfo(dinfo)) > > The replacement is repetitive, but the conversion of device models to > BlockBackend is imminent, and will shorten it to just > blk_legacy_dinfo(dinfo). > > Line wrapping muddies the waters a bit. I also omit tests whether > dinfo->bdrv is null, because it never is. > > Signed-off-by: Markus Armbruster Reviewed-by: Kevin Wolf