Re: [Qemu-devel] [PATCH 16/19] block/nbd: Implement bdrv_dirname()

2016-05-03 Thread Max Reitz
On 02.05.2016 17:36, Kevin Wolf wrote: > Am 26.04.2016 um 23:32 hat Max Reitz geschrieben: >> The idea behind this implementation is that the export name might be >> interpreted as a path (which is the only apparent interpretation of >> relative filenames for NBD paths). >> >> The default implement

Re: [Qemu-devel] [PATCH 16/19] block/nbd: Implement bdrv_dirname()

2016-05-02 Thread Kevin Wolf
Am 26.04.2016 um 23:32 hat Max Reitz geschrieben: > The idea behind this implementation is that the export name might be > interpreted as a path (which is the only apparent interpretation of > relative filenames for NBD paths). > > The default implementation of bdrv_dirname() would handle that jus

[Qemu-devel] [PATCH 16/19] block/nbd: Implement bdrv_dirname()

2016-04-26 Thread Max Reitz
The idea behind this implementation is that the export name might be interpreted as a path (which is the only apparent interpretation of relative filenames for NBD paths). The default implementation of bdrv_dirname() would handle that just fine for nbd+tcp, but not for nbd+unix, because in that ca