Kevin Wolf f17c90bed1 nbd: Keep hostname and port separate
The NBD block supports an URL syntax, for which a URL parser returns
separate hostname and port fields. It also supports the traditional qemu
syntax encoded in a filename. Until now, after parsing the URL to get
each piece of information, a new string is built to be fed to socket
functions.

Instead of building a string in the URL case that is immediately parsed
again, parse the string in both cases and use the QemuOpts interface to
qemu-sockets.c.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2013-03-22 17:51:31 +01:00
..
2013-03-15 16:07:49 +01:00
2013-01-25 18:18:35 +01:00
2013-03-22 17:51:31 +01:00
2013-01-15 10:03:47 +01:00
2013-03-15 16:07:49 +01:00
2013-03-15 16:07:49 +01:00
2013-03-15 16:07:49 +01:00