[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH REPOST v3 36/80] s390x/s390-virtio-ccw: use memdev for RAM
From: |
Cornelia Huck |
Subject: |
Re: [PATCH REPOST v3 36/80] s390x/s390-virtio-ccw: use memdev for RAM |
Date: |
Thu, 23 Jan 2020 19:05:19 +0100 |
On Thu, 23 Jan 2020 12:38:01 +0100
Igor Mammedov <address@hidden> 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 <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Reviewed-by: David Hildenbrand <address@hidden>
> ---
> CC: address@hidden
> CC: address@hidden
> CC: address@hidden
> CC: address@hidden
> CC: address@hidden
> CC: address@hidden
> ---
> hw/s390x/s390-virtio-ccw.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Acked-by: Cornelia Huck <address@hidden>