diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-18 13:24:02 +0530 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-14 12:25:14 +0200 |
commit | 883e4f7624e10b98d16d9adaffb8b1795664d899 (patch) | |
tree | 13db9ee9d182ab78262e3daa0d01c6295bc5dfbd /util/qemu-thread-win32.c | |
parent | d9911d14e01f5e97c6ac1fe681ef15334250d149 (diff) | |
download | qemu-883e4f7624e10b98d16d9adaffb8b1795664d899.tar.gz qemu-883e4f7624e10b98d16d9adaffb8b1795664d899.tar.bz2 qemu-883e4f7624e10b98d16d9adaffb8b1795664d899.zip |
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 <ashijeetacharya@gmail.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-thread-win32.c')
0 files changed, 0 insertions, 0 deletions