Working on adding multi-memslot support for virtio-mem (teaching memory
device code about memory devices that can consume multiple memslots), I
have some preparatory cleanups in my queue that make sense independent of
the actual memory-device/virtio-mem extensions.

Most CCed people are most probably interested in patch #2.

Cc: Igor Mammedov <imamm...@redhat.com>
Cc: Xiao Guangrong <xiaoguangrong.e...@gmail.com>
Cc: Peter Maydell <peter.mayd...@linaro.org>
Cc: "Michael S. Tsirkin" <m...@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelb...@gmail.com>
Cc: Paolo Bonzini <pbonz...@redhat.com>
Cc: Richard Henderson <richard.hender...@linaro.org>
Cc: Eduardo Habkost <edua...@habkost.net>
Cc: Xiaojuan Yang <yangxiaoj...@loongson.cn>
Cc: Song Gao <gaos...@loongson.cn>
Cc: Daniel Henrique Barboza <danielhb...@gmail.com>
Cc: "Cédric Le Goater" <c...@kaod.org>
Cc: David Gibson <da...@gibson.dropbear.id.au>
Cc: Greg Kurz <gr...@kaod.org>
Cc: Harsh Prateek Bora <hars...@linux.ibm.com>
Cc: "Philippe Mathieu-Daudé" <phi...@linaro.org>
Cc: Yanan Wang <wangyana...@huawei.com>

David Hildenbrand (3):
  memory-device: Refactor memory_device_pre_plug()
  memory-device: Factor out device memory initialization into
    memory_devices_init()
  memory-device: Track used region size in DeviceMemoryState

 hw/arm/virt.c                  |  9 +---
 hw/i386/pc.c                   | 17 +++-----
 hw/loongarch/virt.c            | 14 ++----
 hw/mem/memory-device.c         | 80 ++++++++++++++++++----------------
 hw/ppc/spapr.c                 | 15 +++----
 include/hw/boards.h            |  2 +
 include/hw/mem/memory-device.h |  2 +
 7 files changed, 63 insertions(+), 76 deletions(-)

-- 
2.40.1


Reply via email to