The following changes since commit ffaf7f0376f8040ce9068d71ae9ae8722505c42e:
Merge tag 'pull-10.0-testing-and-gdstub-updates-100225-1' of https://gitlab.com/stsquad/qemu into staging (2025-02-10 13:26:17 -0500) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/mem-next-pull-request for you to fetch changes up to 13057e064a3edae7abf9ca2c207cdf48b82c5aad: overcommit: introduce mem-lock=on-fault (2025-02-12 11:36:13 -0500) ---------------------------------------------------------------- Memory pull request for 10.0 v2 changelog: - Fix Mac (and possibly some other) build issues for two patches - os: add an ability to lock memory on_fault - memory: pass MemTxAttrs to memory_access_is_direct() List of features: - William's fix on ram hole punching when with file offset - Daniil's patchset to introduce mem-lock=on-fault - William's hugetlb hwpoison fix for size report & remap - David's series to allow qemu debug writes to MMIOs ---------------------------------------------------------------- Daniil Tatianin (4): os: add an ability to lock memory on_fault system/vl: extract overcommit option parsing into a helper system: introduce a new MlockState enum overcommit: introduce mem-lock=on-fault David Hildenbrand (7): physmem: factor out memory_region_is_ram_device() check in memory_access_is_direct() physmem: factor out RAM/ROMD check in memory_access_is_direct() physmem: factor out direct access check into memory_region_supports_direct_access() physmem: disallow direct access to RAM DEVICE in address_space_write_rom() memory: pass MemTxAttrs to memory_access_is_direct() hmp: use cpu_get_phys_page_debug() in hmp_gva2gpa() physmem: teach cpu_memory_rw_debug() to write to more memory regions William Roche (3): system/physmem: take into account fd_offset for file fallocate system/physmem: handle hugetlb correctly in qemu_ram_remap() system/physmem: poisoned memory discard on reboot meson.build | 6 ++ include/exec/cpu-common.h | 2 +- include/exec/memattrs.h | 5 +- include/exec/memory.h | 35 ++++++++--- include/system/os-posix.h | 2 +- include/system/os-win32.h | 2 +- include/system/system.h | 12 +++- accel/kvm/kvm-all.c | 2 +- hw/core/cpu-system.c | 13 ++-- hw/core/loader.c | 2 +- hw/remote/vfio-user-obj.c | 2 +- hw/virtio/virtio-mem.c | 2 +- migration/postcopy-ram.c | 4 +- monitor/hmp-cmds-target.c | 3 +- os-posix.c | 15 ++++- system/globals.c | 12 +++- system/physmem.c | 121 ++++++++++++++++++++++++-------------- system/vl.c | 52 ++++++++++++---- system/memory_ldst.c.inc | 18 +++--- hw/display/apple-gfx.m | 3 +- qemu-options.hx | 14 +++-- 21 files changed, 229 insertions(+), 98 deletions(-) -- 2.47.0