aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_output.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2012-11-14 15:15:50 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-01-02 15:55:47 +0100
commit88807f89d945acad54c8365ff7b6ef0f0d0ddd56 (patch)
tree2881d517920dc5c1737d9a1d422b4ff098525854 /slirp/tcp_output.c
parent185ecf40e3589fc2717b0856ee1df05dd63a46dd (diff)
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 'slirp/tcp_output.c')
0 files changed, 0 insertions, 0 deletions