]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: reorganize file-based allocation
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 May 2014 09:43:18 +0000 (17:43 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:19 +0000 (18:44 +0300)
commite1c57ab86f3c4ea6532b51cfecf32770b45f5e7a
treeefabd38dd43f634554d6349998f94f0f92c61289
parentdfabb8b91655f680eaa1aa05e9f226fbd596a70f
memory: reorganize file-based allocation

Split the internal interface in exec.c to a separate function, and
push the check on mem_path up to memory_region_init_ram.

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>
exec.c
include/exec/cpu-all.h
include/exec/ram_addr.h
include/sysemu/sysemu.h
memory.c