On 03/02/2016 17:48, Eric Blake wrote: > On 02/03/2016 09:33 AM, Max Reitz wrote: >> We have to introduce a new object (BlockdevOptionsNbd) for >> several reasons: - Neither of InetSocketAddress nor >> UnixSocketAddress alone is sufficient, because both are >> supported - We cannot use SocketAddress because NBD does not >> support an fd, and because it is not a flat union which >> BlockdevOptionsNbd is > > Can we do it anyways, and just error out/document that fd is > unsupported?
Especially because there's no reason _not_ to support fd. Sure, it's really fringe, but if qemu-socket APIs make it just work... Paolo