vhost: support event index
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 19 May 2011 23:10:54 +0000 (02:10 +0300)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 30 May 2011 01:44:15 +0000 (11:14 +0930)
commit8ea8cf89e19aeb596b818ee5f2bec8a8b0586b60
tree3303edab83f45265f2e9d05a5ef59f67e758b5f7
parenta5c262c5fd83ece01bd649fb08416c501d4c59d7
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>
drivers/vhost/net.c
drivers/vhost/test.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h