Received: from eggs.gnu.org ([2001:4830:134:3::10]:43756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS9vV-0004lv-AT for qemu-devel@nongnu.org; Thu, 11 Sep 2014 15:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS9vQ-0004vx-7m for qemu-devel@nongnu.org; Thu, 11 Sep 2014 15:21:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS9vQ-0004vo-0L for qemu-devel@nongnu.org; Thu, 11 Sep 2014 15:21:00 -0400 From: Markus Armbruster References: <1410336832-22160-1-git-send-email-armbru@redhat.com> <1410336832-22160-11-git-send-email-armbru@redhat.com> <20140911120747.GE8522@irqsave.net> Date: Thu, 11 Sep 2014 21:20:53 +0200 In-Reply-To: <20140911120747.GE8522@irqsave.net> (=?utf-8?Q?=22Beno=C3=AEt?= Canet"'s message of "Thu, 11 Sep 2014 14:07:47 +0200") Message-ID: <87wq9a6k16.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 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: =?utf-8?Q?Beno=C3=AEt?= Canet Cc: kwolf@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Beno=C3=AEt Canet writes: > I have trouble to review this as I don't understand the qdevs parts. > Maybe someone else could have a look at it. The patch is big, but all it really does is replacing dinfo->bdrv by blk_bs(blk_legacy_dinfo(dinfo)) Line wrapping muddies the waters a bit. I also omit tests whether dinfo->bdrv is null, because it never is.