commit | c70aa540c7a9f67add11ad3161096fb95233aa2e | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed May 02 11:42:54 2012 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed May 02 18:22:25 2012 +0300 |
tree | c02be13561a4a9347efd42cb6379950e5e277025 | |
parent | c8fb217af57c6c232af3517d3115d2af4ce9900e [diff] |
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 <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>