]> git.proxmox.com Git - mirror_qemu.git/commit - util/qemu-sockets.c
qemu-sockets: introduce socket_address_parse_named_fd()
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 10 Jun 2021 10:07:35 +0000 (13:07 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 18 Jun 2021 15:59:53 +0000 (10:59 -0500)
commitc5423704184c43cadd7b3c5ff0aea3925c5509bc
tree9ec78685f696ba2344ff9686108bdd7d8385106d
parentfb392b548eb4c6c2b2c7689e7fc6b1d2077d4f02
qemu-sockets: introduce socket_address_parse_named_fd()

Add function that transforms named fd inside SocketAddress structure
into number representation. This way it may be then used in a context
where current monitor is not available.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210610100802.5888-6-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: comment tweak]
Signed-off-by: Eric Blake <eblake@redhat.com>
include/qemu/sockets.h
util/qemu-sockets.c