diff options
| author | David Hildenbrand <david@redhat.com> | 2023-06-23 14:45:45 +0200 |
|---|---|---|
| committer | David Hildenbrand <david@redhat.com> | 2023-07-12 09:25:35 +0200 |
| commit | cc0afd8a72996352e9f3f11b1cdde49b08aa11b6 (patch) | |
| tree | e20f32bdda208ee2862f760ec094188925c2dfb4 /hw/arm/virt.c | |
| parent | 99d88de6eb577ff70cc1b1ed59f1a50f16038c2e (diff) | |
| download | focaccia-qemu-cc0afd8a72996352e9f3f11b1cdde49b08aa11b6.tar.gz focaccia-qemu-cc0afd8a72996352e9f3f11b1cdde49b08aa11b6.zip | |
memory-device: Introduce machine_memory_devices_init()
Let's intrduce a new helper that we will use to replace existing memory device setup code during machine initialization. We'll enforce that the size has to be > 0. Once all machines were converted, we'll only allocate ms->device_memory if the size > 0. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20230623124553.400585-3-david@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions