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(-)