summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYuval Shaia2019-03-11 11:29:07 +0100
committerMarcel Apfelbaum2019-03-16 14:52:44 +0100
commit2cfa95300908f401f5b9bdf3de734cf6228a2722 (patch)
treec1b3ef94eb46a9a8f205bd22b5f9757ed9000859 /include
parenthw/rdma: Introduce protected qlist (diff)
downloadqemu-2cfa95300908f401f5b9bdf3de734cf6228a2722.tar.gz
qemu-2cfa95300908f401f5b9bdf3de734cf6228a2722.tar.xz
qemu-2cfa95300908f401f5b9bdf3de734cf6228a2722.zip
hw/rdma: Protect against concurrent execution of poll_cq
The function rdma_poll_cq is called from two contexts - completion handler thread which sense new completion on backend channel and explicitly as result of guest issuing poll_cq command. Add lock to protect against concurrent executions. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <1552300155-25216-4-git-send-email-yuval.shaia@oracle.com> Reviewed-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions