From: Jason Wang Date: Wed, 2 May 2012 03:42:54 +0000 (+0800) Subject: vhost: zerocopy: poll vq in zerocopy callback X-Git-Tag: v3.5-rc1~109^2~146^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70aa540c7a9f67add11ad3161096fb95233aa2e;p=pandora-kernel.git vhost: zerocopy: poll vq in zerocopy callback We add used and signal guest in worker thread but did not poll the virtqueue during the zero copy callback. This may lead the missing of adding and signalling during zerocopy. Solve this by polling the virtqueue and let it wakeup the worker during callback. Signed-off-by: Jason Wang Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed