]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit903e0df34a8bece0facd8fea9cc90b8c3f598e35
tree6c6237f7bbad368dfbdae34895430280af0d19b0
parentef503b13f1b556df0e55b3f1b38394946e48605f
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