On Thu, 23 Jan 2020 12:38:01 +0100 Igor Mammedov <imamm...@redhat.com> wrote:
> 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 <imamm...@redhat.com> > Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> > Reviewed-by: David Hildenbrand <da...@redhat.com> > --- > CC: r...@twiddle.net > CC: da...@redhat.com > CC: coh...@redhat.com > CC: pa...@linux.ibm.com > CC: borntrae...@de.ibm.com > CC: qemu-s3...@nongnu.org > --- > hw/s390x/s390-virtio-ccw.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Acked-by: Cornelia Huck <coh...@redhat.com>