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 <[email protected]>
---
  hw/mem/memory-device.c | 22 +++-------------------
  include/hw/boards.h    |  2 ++
  2 files changed, 5 insertions(+), 19 deletions(-)

Nice.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to