Patches applied successfully (
tree,
apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260226140001.3622334-1-marcandre.lureau@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>, Mark Kanda <mark.kanda@oracle.com>, Ben Chaney <bchaney@akamai.com>, Alex Williamson <alex@shazbot.org>, "Cédric Le Goater" <clg@redhat.com>, David Hildenbrand <david@kernel.org>, "Michael S. Tsirkin" <mst@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
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 | 287 +----
include/system/ram-discard-manager.h | 358 ++++++
include/system/ramblock.h | 3 +-
accel/kvm/kvm-all.c | 2 +-
hw/vfio/cpr-legacy.c | 4 +-
hw/vfio/listener.c | 12 +-
hw/virtio/virtio-mem.c | 290 +----
migration/ram.c | 6 +-
system/memory.c | 83 +-
system/memory_mapping.c | 4 +-
system/physmem.c | 2 +-
system/ram-block-attributes.c | 279 +----
system/ram-discard-manager.c | 612 +++++++++
tests/unit/test-ram-discard-manager-stubs.c | 48 +
tests/unit/test-ram-discard-manager.c | 1234 +++++++++++++++++++
system/meson.build | 1 +
tests/unit/meson.build | 8 +-
20 files changed, 2361 insertions(+), 879 deletions(-)
create mode 100644 include/system/ram-discard-manager.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