[PULL 00/18] Next patches

Peter Xu posted 18 patches 1 day, 21 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260623124759.125399-1-peterx@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Alex Williamson <alex@shazbot.org>, "Cédric Le Goater" <clg@redhat.com>, "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Mark Kanda <mark.kanda@oracle.com>, Ben Chaney <bchaney@akamai.com>, "Michael S. Tsirkin" <mst@redhat.com>, David Hildenbrand <david@kernel.org>, "Philippe Mathieu-Daudé" <philmd@mailo.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Cornelia Huck <cohuck@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>
MAINTAINERS                                   |    5 +
qapi/migration.json                           |    4 -
include/hw/vfio/vfio-container.h              |    2 +-
include/hw/vfio/vfio-cpr.h                    |    2 +-
include/hw/virtio/virtio-mem.h                |    3 -
include/system/memory.h                       |  282 +---
include/system/ram-discard-manager.h          |  358 +++++
include/system/ramblock.h                     |    5 +-
migration/migration.h                         |    9 +-
tests/qtest/migration/aarch64/a-b-kernel.h    |    2 +
tests/qtest/migration/bootfile.h              |    4 +
tests/qtest/migration/i386/a-b-bootblock.h    |    2 +
.../qtest/migration/loongarch64/a-b-kernel.h  |   20 +
tests/qtest/migration/ppc64/a-b-kernel.h      |    2 +
tests/qtest/migration/s390x/a-b-bios.h        |  272 ++--
accel/kvm/kvm-all.c                           |    2 +-
hw/vfio/cpr-legacy.c                          |    4 +-
hw/vfio/listener.c                            |   10 +-
hw/virtio/virtio-mem.c                        |  259 +---
migration/migration.c                         |    7 +-
migration/ram.c                               |   16 +-
system/memory.c                               |   88 +-
system/memory_mapping.c                       |    4 +-
system/physmem.c                              |   43 +-
system/ram-block-attributes.c                 |  255 +---
system/ram-discard-manager.c                  |  612 ++++++++
target/i386/kvm/tdx.c                         |    2 +-
tests/qtest/migration/bootfile.c              |    4 +
tests/qtest/migration/framework.c             |    6 +
tests/unit/test-ram-discard-manager-stubs.c   |   48 +
tests/unit/test-ram-discard-manager.c         | 1235 +++++++++++++++++
util/thread-pool.c                            |    2 +-
rust/bindings/system-sys/lib.rs               |    2 +-
system/meson.build                            |    1 +
system/trace-events                           |    2 +-
tests/qtest/meson.build                       |    3 +-
tests/qtest/migration/Makefile                |    4 +-
tests/qtest/migration/loongarch64/Makefile    |   20 +
.../qtest/migration/loongarch64/a-b-kernel.S  |   46 +
tests/unit/meson.build                        |    8 +-
40 files changed, 2656 insertions(+), 999 deletions(-)
create mode 100644 include/system/ram-discard-manager.h
create mode 100644 tests/qtest/migration/loongarch64/a-b-kernel.h
create mode 100644 system/ram-discard-manager.c
create mode 100644 tests/unit/test-ram-discard-manager-stubs.c
create mode 100644 tests/unit/test-ram-discard-manager.c
create mode 100644 tests/qtest/migration/loongarch64/Makefile
create mode 100644 tests/qtest/migration/loongarch64/a-b-kernel.S
[PULL 00/18] Next patches
Posted by Peter Xu 1 day, 21 hours ago
The following changes since commit b83371668192a705b878e909c5ae9c1233cbd5fb:

  Merge tag 'pbouvier/pr/plugins-20260618' of https://gitlab.com/p-b-o/qemu into staging (2026-06-19 15:00:01 -0400)

are available in the Git repository at:

  https://gitlab.com/peterx/qemu.git tags/next-pull-request

for you to fetch changes up to 1f3241bcaeee0df47f72edf6abad71fe36f3b0e7:

  system/physmem: make ram_block_discard_range() handle guest_memfd (2026-06-22 17:08:49 -0400)

----------------------------------------------------------------
Migration and mem pull request

- Maciej's patch to fix rare crash in VFIO multifd thread pool mgmt
- Peter's cleanup of @cpr-exec-command doc in migration.json
- Akihiko's patch to fix a TSAN warning on ram_list operations
- Bibo's migration-test coverage for loongarch
- Peter's update on a-b-boot image
- Marc-André's virtio-mem fix for CoCo

----------------------------------------------------------------

Akihiko Odaki (1):
  system/physmem: Synchronize ram_list accesses

Bibo Mao (1):
  tests/qtest/migration: Add migration test on loongarch

Gavin Shan (1):
  system/memory: Remove MAX_PHYS_ADDR

Maciej S. Szmigiero (1):
  thread-pool: Allow at least 1 thread in
    thread_pool_adjust_max_threads_to_work()

Marc-André Lureau (11):
  system/memory: split RamDiscardManager into source and manager
  system/memory: move RamDiscardManager to separate compilation unit
  system/memory: constify section arguments
  system/ram-discard-manager: implement replay via is_populated
    iteration
  virtio-mem: remove replay_populated/replay_discarded implementation
  system/ram-discard-manager: drop replay from source interface
  system/memory: implement RamDiscardManager multi-source aggregation
  system/physmem: destroy ram block attributes before RCU-deferred
    reclaim
  system/memory: add RamDiscardManager reference counting and cleanup
  tests: add unit tests for RamDiscardManager multi-source aggregation
  system/physmem: make ram_block_discard_range() handle guest_memfd

Peter Xu (3):
  qapi/migration: Remove @cpr-exec-command doc in MigrationParameter
  migration: Use OBJECT_DECLARE_SIMPLE_TYPE
  migration/tests: Update a-b-boot images for all archs

 MAINTAINERS                                   |    5 +
 qapi/migration.json                           |    4 -
 include/hw/vfio/vfio-container.h              |    2 +-
 include/hw/vfio/vfio-cpr.h                    |    2 +-
 include/hw/virtio/virtio-mem.h                |    3 -
 include/system/memory.h                       |  282 +---
 include/system/ram-discard-manager.h          |  358 +++++
 include/system/ramblock.h                     |    5 +-
 migration/migration.h                         |    9 +-
 tests/qtest/migration/aarch64/a-b-kernel.h    |    2 +
 tests/qtest/migration/bootfile.h              |    4 +
 tests/qtest/migration/i386/a-b-bootblock.h    |    2 +
 .../qtest/migration/loongarch64/a-b-kernel.h  |   20 +
 tests/qtest/migration/ppc64/a-b-kernel.h      |    2 +
 tests/qtest/migration/s390x/a-b-bios.h        |  272 ++--
 accel/kvm/kvm-all.c                           |    2 +-
 hw/vfio/cpr-legacy.c                          |    4 +-
 hw/vfio/listener.c                            |   10 +-
 hw/virtio/virtio-mem.c                        |  259 +---
 migration/migration.c                         |    7 +-
 migration/ram.c                               |   16 +-
 system/memory.c                               |   88 +-
 system/memory_mapping.c                       |    4 +-
 system/physmem.c                              |   43 +-
 system/ram-block-attributes.c                 |  255 +---
 system/ram-discard-manager.c                  |  612 ++++++++
 target/i386/kvm/tdx.c                         |    2 +-
 tests/qtest/migration/bootfile.c              |    4 +
 tests/qtest/migration/framework.c             |    6 +
 tests/unit/test-ram-discard-manager-stubs.c   |   48 +
 tests/unit/test-ram-discard-manager.c         | 1235 +++++++++++++++++
 util/thread-pool.c                            |    2 +-
 rust/bindings/system-sys/lib.rs               |    2 +-
 system/meson.build                            |    1 +
 system/trace-events                           |    2 +-
 tests/qtest/meson.build                       |    3 +-
 tests/qtest/migration/Makefile                |    4 +-
 tests/qtest/migration/loongarch64/Makefile    |   20 +
 .../qtest/migration/loongarch64/a-b-kernel.S  |   46 +
 tests/unit/meson.build                        |    8 +-
 40 files changed, 2656 insertions(+), 999 deletions(-)
 create mode 100644 include/system/ram-discard-manager.h
 create mode 100644 tests/qtest/migration/loongarch64/a-b-kernel.h
 create mode 100644 system/ram-discard-manager.c
 create mode 100644 tests/unit/test-ram-discard-manager-stubs.c
 create mode 100644 tests/unit/test-ram-discard-manager.c
 create mode 100644 tests/qtest/migration/loongarch64/Makefile
 create mode 100644 tests/qtest/migration/loongarch64/a-b-kernel.S

-- 
2.54.0