Commit graph android_kernel_sony_sdm845/drivers/vhost/test.c
Message SHA1
tools/virtio: fix up vhost/test module build
commit ea5d404655
broke build for the vhost test module used
by tools/virtio. Fix it up.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Zhi Yong Wu   authored and   Michael S. Tsirkin   commited 2012-04-12 10:35:42 +03:00
5e7045b010
vhost: init used ring after backend was set
Move the used ring initialization after backend was set. This
makes it possible to disable the backend and tweak the used ring,
then restart. This will also make it possible to log the used ring
write correctly.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Jason Wang   authored and   Michael S. Tsirkin   commited 2011-07-19 13:28:34 +03:00
f59281dafb
vhost: support event index
Support the new event index feature. When acked,
utilize it to reduce the # of interrupts sent to the guest.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Michael S. Tsirkin   authored and   Rusty Russell   commited 2011-05-30 11:14:15 +09:30
8ea8cf89e1
vhost test module
This adds a test module for vhost infrastructure.
Intentionally not tied to kbuild to prevent people
from installing and loading it accidentally.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Michael S. Tsirkin   commited 2010-12-09 16:00:21 +02:00
71ccc212e5