950d94ba06
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> |
||
---|---|---|
.. | ||
vhost-backend.h | ||
vhost-scsi.h | ||
vhost.h | ||
virtio-access.h | ||
virtio-balloon.h | ||
virtio-blk.h | ||
virtio-bus.h | ||
virtio-gpu.h | ||
virtio-input.h | ||
virtio-net.h | ||
virtio-rng.h | ||
virtio-scsi.h | ||
virtio-serial.h | ||
virtio.h |