qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 08/24] vhost-user: return a read error


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH 08/24] vhost-user: return a read error
Date: Mon, 4 Jul 2016 18:47:56 +0300

On Fri, Jun 24, 2016 at 02:46:28PM +0200, Marc-André Lureau wrote:
> Hi
> 
> On Thu, Jun 23, 2016 at 7:03 PM, Michael S. Tsirkin <address@hidden> wrote:
> >> > 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?
> 
> 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.


> 
> -- 
> Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]