Home
last modified time | relevance | path

Searched hist:"950 d94ba0671e7f154a9e87a277f8efbddcee28f" (Results 1 – 3 of 3) sorted by relevance

/qemu/include/hw/virtio/
H A Dvhost.h950d94ba0671e7f154a9e87a277f8efbddcee28f Tue Jul 26 21:15:25 UTC 2016 Marc-André Lureau <marcandre.lureau@redhat.com> 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>
/qemu/hw/net/
H A Dvhost_net.c950d94ba0671e7f154a9e87a277f8efbddcee28f Tue Jul 26 21:15:25 UTC 2016 Marc-André Lureau <marcandre.lureau@redhat.com> 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>
/qemu/hw/virtio/
H A Dvhost.c950d94ba0671e7f154a9e87a277f8efbddcee28f Tue Jul 26 21:15:25 UTC 2016 Marc-André Lureau <marcandre.lureau@redhat.com> 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>