summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/test.c
Commit message (Collapse)AuthorAgeFilesLines
* vhost: init used ring after backend was setJason Wang2011-07-191-0/+5
| | | | | | | | | | 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>
* vhost: support event indexMichael S. Tsirkin2011-05-301-3/+3
| | | | | | | | 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>
* vhost test moduleMichael S. Tsirkin2010-12-091-0/+320
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>