Marc-André Lureau 950d94ba06 vhost: add vhost_net_set_backend()
Not all vhost-user backends support ops->vhost_net_set_backend(). It is
a nicer to provide an assert/error than to crash trying to
call. Furthermore, it improves a bit the code by hiding vhost_ops
details.

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:49 +03:00
..
2016-05-18 15:04:27 +03:00
2016-06-24 05:13:57 +03:00
2016-07-29 00:33:49 +03:00
2016-07-29 00:07:10 +03:00
2016-05-19 16:42:30 +02:00
2014-10-23 16:41:25 +02:00
2016-04-07 19:57:33 +03:00
2016-06-06 16:59:31 +01:00
2016-07-07 15:24:52 -03:00
2016-06-22 12:53:26 +02:00