|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 10/10] memory-device: Track used region size in DeviceMemoryState |
Date: | Tue, 30 May 2023 14:23:41 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 30/5/23 13:38, David Hildenbrand wrote:
Let's avoid iterating over all devices and simply track it in the DeviceMemoryState. Signed-off-by: David Hildenbrand <david@redhat.com> --- hw/mem/memory-device.c | 22 +++------------------- include/hw/boards.h | 2 ++ 2 files changed, 5 insertions(+), 19 deletions(-)
Nice. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |