Received: from eggs.gnu.org ([2001:4830:134:3::10]:50504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFOFl-0005V7-F4 for qemu-devel@nongnu.org; Mon, 17 Feb 2014 08:29:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFOFf-0003jM-H7 for qemu-devel@nongnu.org; Mon, 17 Feb 2014 08:28:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:62236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFOFf-0003jE-90 for qemu-devel@nongnu.org; Mon, 17 Feb 2014 08:28:51 -0500 Date: Mon, 17 Feb 2014 14:26:50 +0100 From: Kevin Wolf Message-ID: <20140217132650.GI3502@dhcp-200-207.str.redhat.com> References: <1392435024-26694-1-git-send-email-mreitz@redhat.com> <1392435024-26694-4-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1392435024-26694-4-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 3/8] block: Make bdrv_file_open() static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Jeff Cody , qemu-devel@nongnu.org, Stefan Hajnoczi , =?iso-8859-1?Q?Beno=EEt?= Canet Am 15.02.2014 um 04:30 hat Max Reitz geschrieben: > Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the > call to bdrv_file_open(). Additionally, make bdrv_file_open() static and > therefore bdrv_open() the only way to call it. > > Consequently, all existing calls to bdrv_file_open() have to be adjusted > to use bdrv_open() with the BDRV_O_PROTOCOL flag instead. > > Signed-off-by: Max Reitz Reviewed-by: Kevin Wolf