[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] Convert non-blocking connect and fix its err
From: |
Mao Zhongyi |
Subject: |
[Qemu-devel] [PATCH v2 0/4] Convert non-blocking connect and fix its error reporting |
Date: |
Wed, 26 Apr 2017 16:04:14 +0800 |
v2:
* PATCH 02 reworking of patch 2 following Markus's suggestion that convert
error_report()
in the function called by net_socket_*_init() to Error. Also add many error
handling
information.
* PATCH 03 net_socket_mcast_create(), net_socket_fd_init_dgram() and
net_socket_fd_init()
use the function such as fprintf, perror to report an error message. Convert
it to Error.
* PATCH 04 parse_host_port() may fail without reporting an error. Now, fix it
to set an
error when it fails.
CC: address@hidden, address@hidden, address@hidden, address@hidden,
address@hidden
Mao Zhongyi (4):
net/socket: Convert the non-blocking connection mechanism to
QIOchannel
net/socket: Improve -net socket error reporting
net/socket: Convert error report message to Error
net/net: Convert parse_host_port() to Error
include/qemu/sockets.h | 4 +-
net/net.c | 21 +++++--
net/socket.c | 159 ++++++++++++++++++++++++++++++-------------------
util/qemu-sockets.c | 2 +-
4 files changed, 117 insertions(+), 69 deletions(-)
--
2.9.3