hw/arm/virt: Use machine_memory_devices_init()
commit176d073029083dd52e28e92c5712d0535a83c34d
authorDavid Hildenbrand <david@redhat.com>
Fri, 23 Jun 2023 12:45:46 +0000 (23 14:45 +0200)
committerDavid Hildenbrand <david@redhat.com>
Wed, 12 Jul 2023 07:25:37 +0000 (12 09:25 +0200)
tree01a4893e30b1ad2433d4bd6e2aa4678d15aa2dc2
parentcc0afd8a72996352e9f3f11b1cdde49b08aa11b6
hw/arm/virt: Use machine_memory_devices_init()

Let's use our new helper. We'll add the subregion to system RAM now
earlier. That shouldn't matter, because the system RAM memory region should
already be alive at that point.

Cc: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230623124553.400585-4-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
hw/arm/virt.c