qemu-patch-raspberry4/include/block
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
..
aes.h block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
aio.h aio: add a ThreadPool instance to AioContext 2013-03-15 16:07:50 +01:00
block.h block: Add options QDict to bdrv_file_open() prototypes 2013-03-22 17:51:31 +01:00
block_int.h block: Add options QDict to bdrv_file_open() prototypes 2013-03-22 17:51:31 +01:00
blockjob.h block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
coroutine.h coroutine: use AioContext for CoQueue BH 2013-03-15 16:07:51 +01:00
coroutine_int.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
nbd.h nbd: Keep hostname and port separate 2013-03-22 17:51:31 +01:00
thread-pool.h threadpool: drop global thread pool 2013-03-15 16:07:51 +01:00