From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbXAl-0004nT-1v for qemu-devel@nongnu.org; Tue, 07 Oct 2014 11:59:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbXAe-0005Cy-MU for qemu-devel@nongnu.org; Tue, 07 Oct 2014 11:59:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbXAe-0005Cf-FS for qemu-devel@nongnu.org; Tue, 07 Oct 2014 11:59:28 -0400 Message-ID: <54340DD9.5010005@redhat.com> Date: Tue, 07 Oct 2014 17:59:21 +0200 From: Max Reitz MIME-Version: 1.0 References: <1412683166-4934-1-git-send-email-armbru@redhat.com> <1412683166-4934-5-git-send-email-armbru@redhat.com> In-Reply-To: <1412683166-4934-5-git-send-email-armbru@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6 04/24] block: Connect BlockBackend and DriveInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel@nongnu.org Cc: kwolf@redhat.com, benoit.canet@nodalink.com, stefanha@redhat.com On 07.10.2014 13:59, Markus Armbruster wrote: > Make the BlockBackend own the DriveInfo. Change blockdev_init() to > return the BlockBackend instead of the DriveInfo. > > Signed-off-by: Markus Armbruster > --- > block.c | 2 -- > block/block-backend.c | 38 ++++++++++++++++++++++++ > blockdev.c | 73 ++++++++++++++++++++++++----------------------- > include/sysemu/blockdev.h | 4 +++ > 4 files changed, 79 insertions(+), 38 deletions(-) Reviewed-by: Max Reitz