qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 00/10] memory-device: Some cleanups


From: David Hildenbrand
Subject: Re: [PATCH 00/10] memory-device: Some cleanups
Date: Tue, 30 May 2023 13:41:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

This was supposed to carry the "v2" indicator ;)


On 30.05.23 13:38, David Hildenbrand wrote:
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.

v1 -> v2:
- Allocate ms->device_memory only if the size > 0.
- Split it up and include more cleanups

David Hildenbrand (10):
   memory-device: Unify enabled vs. supported error messages
   memory-device: Introduce memory_devices_init()
   hw/arm/virt: Use memory_devices_init()
   hw/ppc/spapr: Use memory_devices_init()
   hw/loongarch/virt: Use memory_devices_init()
   hw/i386/pc: Use memory_devices_init()
   hw/i386/acpi-build: Rely on machine->device_memory when building SRAT
   hw/i386/pc: Remove PC_MACHINE_DEVMEM_REGION_SIZE
   memory-device: Refactor memory_device_pre_plug()
   memory-device: Track used region size in DeviceMemoryState

  hw/arm/virt.c                  |  9 +----
  hw/i386/acpi-build.c           |  9 ++---
  hw/i386/pc.c                   | 36 +++---------------
  hw/loongarch/virt.c            | 14 ++-----
  hw/mem/memory-device.c         | 69 +++++++++++++++-------------------
  hw/ppc/spapr.c                 | 37 +++++++++---------
  hw/ppc/spapr_hcall.c           |  2 +-
  include/hw/boards.h            |  2 +
  include/hw/i386/pc.h           |  1 -
  include/hw/mem/memory-device.h |  2 +
  10 files changed, 68 insertions(+), 113 deletions(-)


--
Thanks,

David / dhildenb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]