]> git.proxmox.com Git - mirror_qemu.git/commit - util/qemu-sockets.c
qemu-sockets: add socket_listen, socket_connect, socket_parse
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Oct 2012 19:31:53 +0000 (21:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Oct 2012 20:39:16 +0000 (22:39 +0200)
commit101f9cbc2b73340197ec610c095fd69f0b1413ed
tree5ffa7e8959764f61de599980164328289ce83c89
parent0ef3dd6c2de1fa4f80c5aa71fb5fdada0f35cc9a
qemu-sockets: add socket_listen, socket_connect, socket_parse

These are QAPI-friendly versions of the qemu-sockets functions.  They
support IP sockets, Unix sockets, and named file descriptors, using a
QAPI union to dispatch to the correct function.

Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile
qemu-sockets.c
qemu-tool.c
qemu_socket.h