Stefan Hajnoczi 185ecf40e3 dataplane: add host memory mapping code
The data plane thread needs to map guest physical addresses to host
pointers.  Normally this is done with cpu_physical_memory_map() but the
function assumes the global mutex is held.  The data plane thread does
not touch the global mutex and therefore needs a thread-safe memory
mapping mechanism.

Hostmem registers a MemoryListener similar to how vhost collects and
pushes memory region information into the kernel.  There is a
fine-grained lock on the regions list which is held during lookup and
when installing a new regions list.

When the physical memory map changes the MemoryListener callbacks are
invoked.  They build up a new list of memory regions which is finally
installed when the list has been completed.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-02 15:50:32 +01:00
2012-12-17 14:01:41 +01:00
2012-12-19 08:29:06 +01:00
2012-12-22 12:06:48 +00:00
2012-10-24 10:26:22 +02:00
2012-12-29 12:21:53 +00:00
2012-12-22 12:04:00 +00:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2012-05-14 07:27:24 +02:00
2012-12-20 23:08:47 +01:00
2011-12-09 11:25:22 +00:00
2012-12-22 12:04:00 +00:00
2012-12-20 23:09:25 +01:00
2011-02-09 10:33:54 +02:00
2011-12-11 17:50:43 -06:00
2010-03-14 22:04:50 +01:00
2012-12-03 14:08:40 -06:00
2012-12-22 12:04:44 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%