[Qemu-devel] [PATCH 1/3] nbd: Fix filename generation

2014-09-24 Thread Max Reitz
Export names may be used with nbd+unix, too, fix nbd_refresh_filename() accordingly. Also, for nbd+tcp, the documented path schema is "nbd://host[:port]/export", so use it. Furthermore, as can be seen from that schema, the port is optional. That makes six single cases for how the filename can be f

Re: [Qemu-devel] [PATCH 1/3] nbd: Fix filename generation

2014-09-24 Thread Paolo Bonzini
Il 24/09/2014 21:38, Max Reitz ha scritto: > Export names may be used with nbd+unix, too, fix nbd_refresh_filename() > accordingly. Also, for nbd+tcp, the documented path schema is > "nbd://host[:port]/export", so use it. Furthermore, as can be seen from > that schema, the port is optional. > > Th