From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9KcU-0002XM-1J for qemu-devel@nongnu.org; Fri, 31 Jan 2014 15:23:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9KcO-0004FN-2c for qemu-devel@nongnu.org; Fri, 31 Jan 2014 15:23:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9KcN-0004FG-QV for qemu-devel@nongnu.org; Fri, 31 Jan 2014 15:23:15 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0VKNFar029821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 31 Jan 2014 15:23:15 -0500 Message-ID: <52EC06B5.8070800@redhat.com> Date: Fri, 31 Jan 2014 21:25:25 +0100 From: Max Reitz MIME-Version: 1.0 References: <1390762963-25538-1-git-send-email-mreitz@redhat.com> <1390762963-25538-9-git-send-email-mreitz@redhat.com> <20140129134516.GJ2726@dhcp-200-207.str.redhat.com> In-Reply-To: <20140129134516.GJ2726@dhcp-200-207.str.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 08/10] block: Reuse bs->options setting from bdrv_open() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, Stefan Hajnoczi On 29.01.2014 14:45, Kevin Wolf wrote: > Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: >> Setting bs->options in bdrv_file_open() is not necessary if it is >> already done in bdrv_open(). >> >> Signed-off-by: Max Reitz > Perhaps squash this into patch 7? Because now the reference is created > by bdrv_open() instead of bdrv_file_open(). Yes, why not. > Also my suggestion in a reply to a patch earlier in this series (keeping > all option-related code at one place), probably means that it all needs > to be done together (or immediately after) handling the NULL options > case. I'll have a look. Thank you for reviewing. Max