Received: from eggs.gnu.org ([2001:4830:134:3::10]:48405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK66O-0002iT-BX for qemu-devel@nongnu.org; Mon, 04 Jul 2016 11:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK66L-0004he-6a for qemu-devel@nongnu.org; Mon, 04 Jul 2016 11:48:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK66L-0004ha-0t for qemu-devel@nongnu.org; Mon, 04 Jul 2016 11:48:01 -0400 Date: Mon, 4 Jul 2016 18:47:56 +0300 From: "Michael S. Tsirkin" Message-ID: <20160704184717-mutt-send-email-mst@redhat.com> References: <1466503372-28334-1-git-send-email-marcandre.lureau@redhat.com> <1466503372-28334-9-git-send-email-marcandre.lureau@redhat.com> <20160623072740-mutt-send-email-mst@redhat.com> <842458024.1343130.1466673244073.JavaMail.zimbra@redhat.com> <20160623200309-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 08/24] vhost-user: return a read error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: yuanhan liu , Victor Kaplansky , QEMU , jonshin@cisco.com, Tetsuya Mukawa On Fri, Jun 24, 2016 at 02:46:28PM +0200, Marc-Andr=E9 Lureau wrote: > Hi >=20 > On Thu, Jun 23, 2016 at 7:03 PM, Michael S. Tsirkin wr= ote: > >> > why bother? So callers can just ignore them in turn? > >> > >> The callers do not always ignore errors, fortunately (see > >> vhost_user_init() for ex). > > > > But that doesn't call set log base, right? >=20 > No, what is the point you are making? Why does vhost_user_set_log_base need to return error? If backend is not there to handle this message, then it is not changing memory so it's ok to ignore the error. Same logic applies to many other messages. >=20 > --=20 > Marc-Andr=E9 Lureau