Re: [Qemu-devel] NBD drives with literal IPv6 addresses or hostnames starting with a digit

2013-06-04 Thread Stefan Hajnoczi
On Fri, May 31, 2013 at 01:38:51PM +0200, Ján Tomko wrote: > Hello, > > since qemu's commit v1.4.0-736-gf17c90b [1]: > nbd: Keep hostname and port separate > > * literal IPv6 addresses no longer work in nbd URIs, because getaddrinfo is > called with the surrounding brackets: > $ qemu-system-x

[Qemu-devel] NBD drives with literal IPv6 addresses or hostnames starting with a digit

2013-05-31 Thread Ján Tomko
Hello, since qemu's commit v1.4.0-736-gf17c90b [1]: nbd: Keep hostname and port separate * literal IPv6 addresses no longer work in nbd URIs, because getaddrinfo is called with the surrounding brackets: $ qemu-system-x86_64 -drive file=nbd://[::1]:1234/quack qemu-system-x86_64: -drive file=nb