]> Git Repo - qemu.git/commit
Change net/socket.c to use socket_*() functions
authorMarc-André Lureau <[email protected]>
Sat, 18 Jun 2016 07:54:02 +0000 (13:24 +0530)
committerPaolo Bonzini <[email protected]>
Wed, 14 Sep 2016 10:25:14 +0000 (12:25 +0200)
commit883e4f7624e10b98d16d9adaffb8b1795664d899
tree13db9ee9d182ab78262e3daa0d01c6295bc5dfbd
parentd9911d14e01f5e97c6ac1fe681ef15334250d149
Change net/socket.c to use socket_*() functions

Use socket_*() functions from include/qemu/sockets.h instead of
listen()/bind()/connect()/parse_host_port(). socket_*() fucntions are
QAPI based and this patch  performs this api conversion since
everything will be using QAPI based sockets in the future. Also add a
helper function socket_address_to_string() in util/qemu-sockets.c
which returns the string representation of socket address. The task was
listed on http://wiki.qemu.org/BiteSizedTasks page.

Signed-off-by: Ashijeet Acharya <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
net/socket.c
This page took 0.024452 seconds and 4 git commands to generate.