qemu-e2k/include/sysemu
Marcel Apfelbaum 06329ccecf mem: add share parameter to memory-backend-ram
Currently only file backed memory backend can
be created with a "share" flag in order to allow
sharing guest RAM with other processes in the host.

Add the "share" flag also to RAM Memory Backend
in order to allow remapping parts of the guest RAM
to different host virtual addresses. This is needed
by the RDMA devices in order to remap non-contiguous
QEMU virtual addresses to a contiguous virtual address range.

Moved the "share" flag to the Host Memory base class,
modified phys_mem_alloc to include the new parameter
and a new interface memory_region_init_ram_shared_nomigrate.

There are no functional changes if the new flag is not used.

Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
2018-02-19 13:03:24 +02:00
..
accel.h
arch_init.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
balloon.h
block-backend.h block: Introduce buf register API 2018-02-08 09:22:03 +08:00
blockdev.h
bt.h
cpus.h
cryptodev.h
device_tree.h
dma.h
dump-arch.h
dump.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
hax.h hax: Support guest RAM sizes of 4GB or more 2018-02-13 11:44:13 +01:00
hostmem.h mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
hvf.h Clean up includes 2018-02-09 05:05:11 +01:00
hw_accel.h Add the WHPX acceleration enlightenments 2018-02-07 14:09:26 +01:00
iothread.h iothread: fix iothread_stop() race condition 2017-12-19 10:25:09 +00:00
kvm_int.h
kvm.h mem: add share parameter to memory-backend-ram 2018-02-19 13:03:24 +02:00
memory_mapping.h
numa.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
os-posix.h
os-win32.h
qtest.h
replay.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
reset.h
rng-random.h
rng.h
seccomp.h
sysemu.h Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
tpm_backend.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
tpm.h Drop superfluous includes of qapi-types.h and test-qapi-types.h 2018-02-09 05:05:11 +01:00
watchdog.h
whpx.h Add the WHPX vcpu API 2018-02-07 14:09:26 +01:00
xen-mapcache.h