summaryrefslogtreecommitdiffstats
path: root/hw/dataplane/event-poll.h
diff options
context:
space:
mode:
authorStefan Hajnoczi2012-11-14 15:15:50 +0100
committerStefan Hajnoczi2013-01-02 15:55:47 +0100
commit88807f89d945acad54c8365ff7b6ef0f0d0ddd56 (patch)
tree2881d517920dc5c1737d9a1d422b4ff098525854 /hw/dataplane/event-poll.h
parentdataplane: add host memory mapping code (diff)
downloadqemu-88807f89d945acad54c8365ff7b6ef0f0d0ddd56.tar.gz
qemu-88807f89d945acad54c8365ff7b6ef0f0d0ddd56.tar.xz
qemu-88807f89d945acad54c8365ff7b6ef0f0d0ddd56.zip
dataplane: add virtqueue vring code
The virtio-blk-data-plane cannot access memory using the usual QEMU functions since it executes outside the global mutex and the memory APIs are this time are not thread-safe. This patch introduces a virtqueue module based on the kernel's vhost vring code. The trick is that we map guest memory ahead of time and access it cheaply outside the global mutex. Once the hardware emulation code can execute outside the global mutex it will be possible to drop this code. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/dataplane/event-poll.h')
0 files changed, 0 insertions, 0 deletions