Home
last modified time | relevance | path

Searched hist:"9 ad54686" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/i386/
H A Dmicrovm.c9ad54686 Wed Feb 19 16:09:16 GMT 2020 Igor Mammedov <imammedo@redhat.com> x86/microvm: use memdev for RAM

memory_region_allocate_system_memory() API is going away, so
replace it with memdev allocated MemoryRegion. The later is
initialized by generic code, so board only needs to opt in
to memdev scheme by providing
MachineClass::default_ram_id
and using MachineState::ram instead of manually initializing
RAM memory region.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200219160953.13771-43-imammedo@redhat.com>