From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dT16w-0002LG-JH for qemu-devel@nongnu.org; Thu, 06 Jul 2017 03:22:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dT16r-0004VF-S9 for qemu-devel@nongnu.org; Thu, 06 Jul 2017 03:22:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59172) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dT16r-0004Us-Lp for qemu-devel@nongnu.org; Thu, 06 Jul 2017 03:21:57 -0400 From: Markus Armbruster References: Date: Thu, 06 Jul 2017 09:21:54 +0200 In-Reply-To: (Mao Zhongyi's message of "Wed, 5 Jul 2017 19:01:55 +0800") Message-ID: <878tk29gj1.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v8 2/4] net/socket: Convert several helper functions to Error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mao Zhongyi Cc: qemu-devel@nongnu.org, jasowang@redhat.com Mao Zhongyi writes: > Currently, 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. > > Now, convert these functions to Error. > > Cc: jasowang@redhat.com > Cc: armbru@redhat.com > Cc: berrange@redhat.com > Signed-off-by: Mao Zhongyi > Reviewed-by: Daniel P. Berrange Reviewed-by: Markus Armbruster