]> git.proxmox.com Git - mirror_qemu.git/commit - backends/hostmem-ram.c
add memdev backend infrastructure
authorIgor Mammedov <imammedo@redhat.com>
Fri, 6 Jun 2014 15:54:29 +0000 (17:54 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Jun 2014 18:10:30 +0000 (21:10 +0300)
commit1f07048933d9c21acb40bce18af4f3ad6bae59b6
tree2533a08b489ebf6abb7b4d6f56619fa13a987ce5
parent2d9c2725f7bd08ffaf824b8c823f1423258ec78d
add memdev backend infrastructure

Provides framework for splitting host RAM allocation/
policies into a separate backend that could be used
by devices.

Initially only legacy RAM backend is provided, which
uses memory_region_init_ram() allocator and compatible
with every CLI option that affects memory_region_init_ram().

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
backends/Makefile.objs
backends/hostmem-ram.c [new file with mode: 0644]
backends/hostmem.c [new file with mode: 0644]
include/sysemu/hostmem.h [new file with mode: 0644]