Re: [Qemu-block] [PATCH v7 for-2.12 14/25] block/nbd: Make bdrv_dirname() return NULL

2017-12-04 Thread Alberto Garcia
On Mon 20 Nov 2017 09:09:53 PM CET, Max Reitz wrote: > The generic bdrv_dirname() implementation would be able to generate some > form of directory name for many NBD nodes, but it would be always wrong. > Therefore, we have to explicitly make it an error (until NBD has some > form of specification

[Qemu-block] [PATCH v7 for-2.12 14/25] block/nbd: Make bdrv_dirname() return NULL

2017-11-20 Thread Max Reitz
The generic bdrv_dirname() implementation would be able to generate some form of directory name for many NBD nodes, but it would be always wrong. Therefore, we have to explicitly make it an error (until NBD has some form of specification for export paths, if it ever will). Signed-off-by: Max