From: Stefan Hajnoczi Date: Sat, 21 Jul 2012 06:55:37 +0000 (+0000) Subject: vhost: make vhost work queue visible X-Git-Tag: v3.6-rc1~125^2~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=163049aefdc04323a2d17ec9f2862027b43b0502;p=pandora-kernel.git vhost: make vhost work queue visible The vhost work queue allows processing to be done in vhost worker thread context, which uses the owner process mm. Access to the vring and guest memory is typically only possible from vhost worker context so it is useful to allow work to be queued directly by users. Currently vhost_net only uses the poll wrappers which do not expose the work queue functions. However, for tcm_vhost (vhost_scsi) it will be necessary to queue custom work. Signed-off-by: Stefan Hajnoczi Cc: Zhi Yong Wu Cc: Michael S. Tsirkin Cc: Paolo Bonzini Signed-off-by: Nicholas Bellinger Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed