Received: from eggs.gnu.org ([2001:4830:134:3::10]:50208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqmO4-0002Bj-6b for qemu-devel@nongnu.org; Mon, 26 Oct 2015 14:20:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqmO3-0003rR-C7 for qemu-devel@nongnu.org; Mon, 26 Oct 2015 14:20:52 -0400 Date: Mon, 26 Oct 2015 19:20:43 +0100 From: Kevin Wolf Message-ID: <20151026182043.GK4044@noname.redhat.com> References: <1445280546-26226-1-git-send-email-mreitz@redhat.com> <1445280546-26226-4-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445280546-26226-4-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v5 3/6] block: Add bdrv_filename() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org Am 19.10.2015 um 20:49 hat Max Reitz geschrieben: > Split the part which actually refreshes the BlockDriverState.filename > field off of bdrv_refresh_filename() into a more generic function > bdrv_filename(), which first calls bdrv_refresh_filename() and then > stores a qemu-usable filename in the given buffer instead of > BlockDriverState.filename. > > Since bdrv_refresh_filename() therefore no longer refreshes that field, > some calls to that function have to be replaced by calls to > bdrv_filename() "manually" refreshing the BDS filename field (this is > only temporary). > > Signed-off-by: Max Reitz Reviewed-by: Kevin Wolf