qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 3/5] libvhost-user: quit when no more data re


From: Jens Freimann
Subject: Re: [Qemu-devel] [PATCH v2 3/5] libvhost-user: quit when no more data received
Date: Thu, 21 Sep 2017 18:05:10 +0200
User-agent: NeoMutt/20170914 (1.9.0)

On Thu, Sep 21, 2017 at 01:31:37PM +0000, Jens Freimann wrote:
On Wed, Sep 20, 2017 at 04:14:33PM +0000, Marc-Andr?? Lureau wrote:
On Wed, Sep 20, 2017 at 5:09 PM, Jens Freimann <address@hidden> wrote:
On Tue, Sep 19, 2017 at 04:46:24PM +0000, Marc-Andr?? Lureau wrote:
On Tue, Aug 8, 2017 at 10:52 PM Jens Freimann <address@hidden>
wrote:
We want to treat disconnect as a panic condition imho, that the
library user is free to implement in different way (abort() clean
exit, reconnect etc).

Ok, that wasn't obvious to me. Thanks for clarifying! So I was "fixing" the wrong part. On a disconnect vubr_panic() in
vhost-user-bridge.c is called and is supposed to do the right thing.

Currently it will print an error message "PANIC: Unhandled request:

Actually it is "Error while recvmsg" because in vu_message_read()
vu_panic is called if rc from recvmsg is <= 0. Followed by "Error
while dispatching" printed by vhost-user-bridge.
regards,
Jens


reply via email to

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