Marc-André Lureau e7c83a885f vhost-user: delay vhost_user_stop
Since commit b0a335e351103bf92f3f9d0bd5759311be8156ac, a socket write
may trigger a disconnect events, calling vhost_user_stop() and clearing
all the vhost_dev strutures holding data that vhost.c functions expect
to remain valid. Delay the cleanup to keep the vhost_dev structure
valid during the vhost.c functions.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170227104956.24729-1-marcandre.lureau@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-02-28 19:11:15 +00:00
..
2017-01-20 10:36:38 +08:00
2016-07-19 20:18:02 +02:00
2016-10-26 09:58:02 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-02-04 17:41:30 +00:00
2017-01-27 18:07:59 +01:00
2016-10-26 09:57:59 +08:00
2017-01-20 14:56:40 +00:00
2016-02-04 17:41:30 +00:00
2016-02-23 12:43:05 +00:00
2016-07-19 20:18:02 +02:00
2017-02-28 19:11:15 +00:00