]> git.proxmox.com Git - mirror_qemu.git/commit - numa.c
hostmem: add property to map memory with MAP_SHARED
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 11:15:24 +0000 (19:15 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:20 +0000 (18:44 +0300)
commitdbcb8981183592be129b2e624b7bcd4245e75fbc
tree639391848fc2cb66c281fb7e8a9fae377bee87f1
parenta35ba7be4b696d4c7b47318fd2022e6c3eca0a63
hostmem: add property to map memory with MAP_SHARED

A new "share" property can be used with the "memory-file" backend to
map memory with MAP_SHARED instead of MAP_PRIVATE.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
backends/hostmem-file.c
exec.c
include/exec/memory.h
include/exec/ram_addr.h
memory.c
numa.c