From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOUCr-0003ui-Cs for qemu-devel@nongnu.org; Tue, 24 Sep 2013 11:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOUCk-00016b-61 for qemu-devel@nongnu.org; Tue, 24 Sep 2013 11:07:17 -0400 Received: from nodalink.pck.nerim.net ([62.212.105.220]:38552 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOUCj-00016I-U1 for qemu-devel@nongnu.org; Tue, 24 Sep 2013 11:07:10 -0400 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Tue, 24 Sep 2013 17:07:03 +0200 Message-Id: <1380035224-7364-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH V4] introduce .bdrv_needs_filename List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, =?UTF-8?q?Beno=C3=AEt=20Canet?= , stefanha@redhat.com v4: Fix comment [Eric] Simplify if like the assertion [Kevin] v3: Add comment [Eric] v1-2: simplify assertion [Kevin] add .bdrv_needs_filename only to driver to having .bdrv_parse_filenam= e nor .bdrv_open [Kevin] Tested that raw, qed and ssh protocols works fine. Beno=C3=AEt Canet (1): block: introduce BlockDriver.bdrv_needs_filename to enable some drivers. block.c | 5 +++-- block/gluster.c | 4 ++++ block/iscsi.c | 1 + block/raw-posix.c | 5 +++++ block/raw-win32.c | 2 ++ block/rbd.c | 1 + block/sheepdog.c | 3 +++ include/block/block_int.h | 6 ++++++ 8 files changed, 25 insertions(+), 2 deletions(-) --=20 1.8.1.2