[PATCH v2 0/4] system/memory: Constify various RAMBlock/MemoryRegion arguments

Philippe Mathieu-Daudé posted 4 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260309183536.88976-1-philmd@linaro.org
Maintainers: Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
include/system/memory.h       | 38 ++++++++++++++++-----------------
include/system/ramblock.h     | 28 ++++++++++++------------
include/system/xen-mapcache.h |  2 +-
include/system/xen.h          |  6 +++---
hw/xen/xen-hvm-common.c       |  8 +++----
hw/xen/xen-mapcache.c         |  2 +-
hw/xen/xen_stubs.c            |  6 +++---
stubs/physmem.c               |  2 +-
stubs/ram-block.c             |  6 +++---
system/memory.c               | 40 +++++++++++++++++++----------------
system/physmem.c              | 30 +++++++++++++-------------
11 files changed, 86 insertions(+), 82 deletions(-)
[PATCH v2 0/4] system/memory: Constify various RAMBlock/MemoryRegion arguments
Posted by Philippe Mathieu-Daudé 1 month ago
v2:
- Dropped "stubs: Merge physmem.c within ram-block.c" (Zoltan)
- Dropped "info mtree" patches (no time to update doc for freeze)
- New Xen patch

Philippe Mathieu-Daudé (4):
  system/ramblock: Constify various RAMBlock arguments
  system/memory: Constify various MemoryRegion arguments
  system/xen: Constify various MemoryRegion arguments
  system/memory: Have memory_region_type() correctly describe containers

 include/system/memory.h       | 38 ++++++++++++++++-----------------
 include/system/ramblock.h     | 28 ++++++++++++------------
 include/system/xen-mapcache.h |  2 +-
 include/system/xen.h          |  6 +++---
 hw/xen/xen-hvm-common.c       |  8 +++----
 hw/xen/xen-mapcache.c         |  2 +-
 hw/xen/xen_stubs.c            |  6 +++---
 stubs/physmem.c               |  2 +-
 stubs/ram-block.c             |  6 +++---
 system/memory.c               | 40 +++++++++++++++++++----------------
 system/physmem.c              | 30 +++++++++++++-------------
 11 files changed, 86 insertions(+), 82 deletions(-)

-- 
2.53.0


Re: [PATCH v2 0/4] system/memory: Constify various RAMBlock/MemoryRegion arguments
Posted by Peter Xu 1 month ago
On Mon, Mar 09, 2026 at 07:35:31PM +0100, Philippe Mathieu-Daudé wrote:
> v2:
> - Dropped "stubs: Merge physmem.c within ram-block.c" (Zoltan)
> - Dropped "info mtree" patches (no time to update doc for freeze)
> - New Xen patch
> 
> Philippe Mathieu-Daudé (4):
>   system/ramblock: Constify various RAMBlock arguments
>   system/memory: Constify various MemoryRegion arguments
>   system/xen: Constify various MemoryRegion arguments
>   system/memory: Have memory_region_type() correctly describe containers

queued

-- 
Peter Xu