diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2012-11-14 15:15:50 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-01-02 15:55:47 +0100 |
commit | 88807f89d945acad54c8365ff7b6ef0f0d0ddd56 (patch) | |
tree | 2881d517920dc5c1737d9a1d422b4ff098525854 /hw/dataplane/Makefile.objs | |
parent | 185ecf40e3589fc2717b0856ee1df05dd63a46dd (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 'hw/dataplane/Makefile.objs')
-rw-r--r-- | hw/dataplane/Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dataplane/Makefile.objs b/hw/dataplane/Makefile.objs index 8c8dea1b21..34e6d579ec 100644 --- a/hw/dataplane/Makefile.objs +++ b/hw/dataplane/Makefile.objs @@ -1,3 +1,3 @@ ifeq ($(CONFIG_VIRTIO), y) -common-obj-$(CONFIG_VIRTIO_BLK_DATA_PLANE) += hostmem.o +common-obj-$(CONFIG_VIRTIO_BLK_DATA_PLANE) += hostmem.o vring.o endif |