Commit 56fe2ca5b6 for qemu.org

commit 56fe2ca5b68d47075a3ee7317aafb74b8ce6f222
Merge: 63ec1f7694 40aa899d03
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Tue Mar 10 11:38:58 2026 +0000

    Merge tag 'staging-pull-request' of https://gitlab.com/peterx/qemu into staging

    Memory pull for 11.0 softfreeze

    - BALATON's memory cleanups on _nomigrate MRs and else
    - Phil's small constify series and else
    - Marc-André's initial cleanup patches around ram discard manager

    # -----BEGIN PGP SIGNATURE-----
    #
    # iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCaa8v2xIccGV0ZXJ4QHJl
    # ZGhhdC5jb20ACgkQO1/MzfOr1wbiNgD/ZLS5BtRGva5eUQNXKkE3oOiXfDBkLyQ1
    # BowQ12zjPZMBAOxrVvyGbpgsI5SOcSjsvFSsWLs1GFfHjVUAyCNusl4D
    # =+4wZ
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Mon Mar  9 20:38:51 2026 GMT
    # gpg:                using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706
    # gpg:                issuer "peterx@redhat.com"
    # gpg: Good signature from "Peter Xu <xzpeter@gmail.com>" [marginal]
    # gpg:                 aka "Peter Xu <peterx@redhat.com>" [marginal]
    # gpg: WARNING: The key's User ID is not certified with sufficiently trusted signatures!
    # gpg:          It is not certain that the signature belongs to the owner.
    # Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D  D1A9 3B5F CCCD F3AB D706

    * tag 'staging-pull-request' of https://gitlab.com/peterx/qemu:
      system/memory: Have memory_region_type() correctly describe containers
      system/xen: Constify various MemoryRegion arguments
      system/memory: Constify various MemoryRegion arguments
      system/ramblock: Constify various RAMBlock arguments
      kvm: replace RamDicardManager by the RamBlockAttribute
      system/memory: minor doc fix
      virtio-mem: use warn_report_err_once()
      memory: drop RamDiscardListener::double_discard_supported
      system/rba: use DIV_ROUND_UP
      memory: Factor out common ram ptr initialization
      memory: Factor out common ram region initialization
      memory: Add internal memory_region_register_ram function
      memory: Shorten memory_region_init_ram_device_ptr and memory_region_init_rom_device
      memory: Remove memory_region_init_ram_nomigrate()
      hw/xtensa/xtfpga: Do not use memory_region_init_ram_nomigrate()
      sun4m,sun4u,tcx: Do not use memory_region_init_ram_nomigrate()
      memory: Remove memory_region_init_rom_nomigrate()
      hw/display/{cg3.tcx}: Do not use memory_region_init_rom_nomigrate()

    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>