You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/migration
Stefan Hajnoczi 7389992c84 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
 -----BEGIN PGP SIGNATURE-----
 
 iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZ6zcQBIccGV0ZXJ4QHJl
 ZGhhdC5jb20ACgkQO1/MzfOr1wbL3wEAqx94NpB/tEEBj6WXE3uV9LqQ0GCTYmV+
 MbM51Vep8ksA/35yFn3ltM2yoSnUf9WJW6LXEEKhQlwswI0vChQERgkE
 =++O1
 -----END PGP SIGNATURE-----

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

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

# -----BEGIN PGP SIGNATURE-----
#
# iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZ6zcQBIccGV0ZXJ4QHJl
# ZGhhdC5jb20ACgkQO1/MzfOr1wbL3wEAqx94NpB/tEEBj6WXE3uV9LqQ0GCTYmV+
# MbM51Vep8ksA/35yFn3ltM2yoSnUf9WJW6LXEEKhQlwswI0vChQERgkE
# =++O1
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 13 Feb 2025 01:37:04 HKT
# gpg:                using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706
# gpg:                issuer "peterx@redhat.com"
# gpg: Good signature from "Peter Xu <xzpeter@gmail.com>" [full]
# gpg:                 aka "Peter Xu <peterx@redhat.com>" [full]
# Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D  D1A9 3B5F CCCD F3AB D706

* tag 'mem-next-pull-request' of https://gitlab.com/peterx/qemu:
  overcommit: introduce mem-lock=on-fault
  system: introduce a new MlockState enum
  system/vl: extract overcommit option parsing into a helper
  os: add an ability to lock memory on_fault
  system/physmem: poisoned memory discard on reboot
  system/physmem: handle hugetlb correctly in qemu_ram_remap()
  physmem: teach cpu_memory_rw_debug() to write to more memory regions
  hmp: use cpu_get_phys_page_debug() in hmp_gva2gpa()
  memory: pass MemTxAttrs to memory_access_is_direct()
  physmem: disallow direct access to RAM DEVICE in address_space_write_rom()
  physmem: factor out direct access check into memory_region_supports_direct_access()
  physmem: factor out RAM/ROMD check in memory_access_is_direct()
  physmem: factor out memory_region_is_ram_device() check in memory_access_is_direct()
  system/physmem: take into account fd_offset for file fallocate

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
3 days ago
..
block-active.c migration/block-active: Remove global active flag 2 weeks ago
block-dirty-bitmap.c include: Rename sysemu/ -> system/ 2 months ago
channel-block.c io: follow coroutine AioContext in qio_channel_yield() 1 year ago
channel-block.h migration: introduce a QIOChannel impl for BlockDriverState VMState 3 years ago
channel.c migration: Fix hang after error in destination setup phase 1 week ago
channel.h migration: check magic value for deciding the mapping of channels 2 years ago
colo-failover.c migration/colo: Improve an x-colo-lost-heartbeat error message 2 years ago
colo-stubs.c migration/colo: make colo_incoming_co() return void 9 months ago
colo.c migration/block: Rewrite disk activation 1 month ago
cpr-transfer.c migration: cpr-transfer save and load 3 weeks ago
cpr.c migration: use parameters.mode in cpr_state_save 1 week ago
cpu-throttle.c include: Rename sysemu/ -> system/ 2 months ago
dirtyrate.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
dirtyrate.h include: Rename sysemu/ -> system/ 2 months ago
exec.c migration: simplify exec migration functions 12 months ago
exec.h migration: convert exec backend to accept MigrateAddress. 1 year ago
fd.c migration: Allow pipes to keep working for fd migrations 3 months ago
fd.h migration: Revert mapped-ram multifd support to fd: URI 11 months ago
file.c migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov 6 months ago
file.h migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov 6 months ago
global_state.c include: Rename sysemu/ -> system/ 2 months ago
meson.build migration: cpr-transfer save and load 3 weeks ago
migration-hmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
migration-stats.c migration: migration_rate_limit_reset() don't need the QEMUFile 1 year ago
migration-stats.h migration: Remove transferred atomic counter 1 year ago
migration.c migration: Don't set FAILED state when cancelling 1 week ago
migration.h migration: Change migrate_fd_ to migration_ 1 week ago
multifd-nocomp.c multifd: bugfix for migration using compression methods 1 month ago
multifd-qatzip.c multifd: bugfix for incorrect migration data with qatzip compression 1 month ago
multifd-qpl.c multifd: bugfix for incorrect migration data with QPL compression 1 month ago
multifd-uadk.c migration/multifd: Fix compile error caused by page_size usage 1 month ago
multifd-zero-page.c migration/multifd: Move pages accounting into multifd_send_zero_page_detect() 6 months ago
multifd-zlib.c migration/multifd: Make MultiFDMethods const 6 months ago
multifd-zstd.c migration/multifd: Fix loop conditions in multifd_zstd_send_prepare and multifd_zstd_recv 5 months ago
multifd.c migration: Change migrate_fd_ to migration_ 1 week ago
multifd.h migration/multifd: Add a compat property for TLS termination 1 week ago
options.c migration/multifd: Add a compat property for TLS termination 1 week ago
options.h migration: Use device_class_set_props_n 2 months ago
page_cache.c migration: Fix cache_init()'s "Failed to allocate" error messages 4 years ago
page_cache.h migration: Clean up signed vs. unsigned XBZRLE cache-size 4 years ago
postcopy-ram.c overcommit: introduce mem-lock=on-fault 1 week ago
postcopy-ram.h migration/postcopy: Add postcopy-recover-setup phase 8 months ago
qemu-file.c migration: SCM_RIGHTS for QEMUFile 3 weeks ago
qemu-file.h migration: SCM_RIGHTS for QEMUFile 3 weeks ago
ram.c migration: Set migration error outside of migrate_cancel 1 week ago
ram.h migration/ram: Move RAM_SAVE_FLAG* into ram.h 1 month ago
rdma.c migration: Change migrate_fd_ to migration_ 1 week ago
rdma.h migration/ram: Move RAM_SAVE_FLAG* into ram.h 1 month ago
savevm.c migration: Check migration error after loadvm 1 week ago
savevm.h migration: Unwrap qemu_savevm_state_complete_precopy() in postcopy 3 weeks ago
socket.c migration: Remove unused socket_send_channel_create_sync 5 months ago
socket.h migration: Remove unused socket_send_channel_create_sync 5 months ago
target.c migration: Add migration prefix to functions in target.c 1 year ago
threadinfo.c migration/multifd: Protect accesses to migration_threads 2 years ago
threadinfo.h migration/multifd: Protect accesses to migration_threads 2 years ago
tls.c migration/multifd: Terminate the TLS connection 1 week ago
tls.h migration/multifd: Terminate the TLS connection 1 week ago
trace-events migration: Change migrate_fd_ to migration_ 1 week ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
vmstate-types.c migration: cpr-transfer mode 3 weeks ago
vmstate.c qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
xbzrle.c migration/xbzrle: Use i386 host/cpuinfo.h 2 years ago
xbzrle.h migration/xbzrle: Use i386 host/cpuinfo.h 2 years ago
yank_functions.c migration/yank: Use channel features 1 year ago
yank_functions.h migration: Move the yank unregister of channel_close out 4 years ago