since v1: simplify assertion [Kevin] add .bdrv_needs_filename only to driver to having .bdrv_parse_filename nor .bdrv_open [Kevin] Tested that raw, qed and ssh protocols works fine.
Benoît 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 | 1 + 8 files changed, 20 insertions(+), 2 deletions(-) -- 1.8.1.2