acpi-build: remove dependency from ram_addr.h
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Mar 2015 09:24:16 +0000 (10:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Apr 2015 16:24:18 +0000 (18:24 +0200)
commit339240b5cd42bd13d4f6629f2aedf8b4b07459fb
treeb221479a166d67300790dbde821200942b42411d
parent37d7c08413cd4307f53c83d43b1b06cf2701d7a7
acpi-build: remove dependency from ram_addr.h

ram_addr_t is an internal interface, everyone should go through
MemoryRegion.  Clean it up by making rom_add_blob return a
MemoryRegion* and using the new qemu_ram_resize infrastructure.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/loader.c
hw/i386/acpi-build.c
include/hw/loader.h