Marc-André Lureau 8695de0fcf vhost: add assert() to check runtime behaviour
All these functions must be called only after the backend is connected.
They are called from virtio-net.c, after either virtio or link status
change.

The check for nc->peer->link_down should ensure vhost_net_{start,stop}()
are always called between vhost_user_{start,stop}().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-07-29 00:33:48 +03:00
..
2016-07-21 20:44:20 +03:00
2016-07-19 20:18:02 +02:00
2016-07-21 20:44:20 +03:00
2016-07-21 20:44:20 +03:00
2016-07-20 19:30:26 +03:00
2016-07-29 00:07:09 +03:00