vhost: Allow device specific fields per vq
authorAsias He <asias@redhat.com>
Sat, 27 Apr 2013 03:16:48 +0000 (11:16 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 May 2013 07:02:45 +0000 (10:02 +0300)
commit3ab2e420ec1caf4ead233f3161ac7d86fe5d2a9f
tree6c6237f7bbad368dfbdae34895430280af0d19b0
parentbc7562355fda8075793bf66094cda573206ec693
vhost: Allow device specific fields per vq

This is useful for any device who wants device specific fields per vq.
For example, tcm_vhost wants a per vq field to track requests which are
in flight on the vq. Also, on top of this we can add patches to move
things like ubufs from vhost.h out to net.c.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c
drivers/vhost/tcm_vhost.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h