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/include/sysemu
Peter Maydell cbad455118 Migration pull request for softfreeze
v2:
 - Patch "migration: Move cpu-throttle.c from system to migration",
   fix build on MacOS, and subject spelling
 
 NOTE: checkpatch.pl could report a false positive on this branch:
 
   WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
   #21:
    {include/sysemu => migration}/cpu-throttle.h | 0
 
 That's covered by "F: migration/" entry.
 
 Changelog:
 
 - Peter's cleanup patch on migrate_fd_cleanup()
 - Peter's cleanup patch to introduce thread name macros
 - Hanna's error path fix for vmstate subsection save()s
 - Hyman's auto converge enhancement on background dirty sync
 - Peter's additional tracepoints for save state entries
 - Thomas's build fix for OpenBSD in dirtyrate.c
 - Peter's deprecation of query-migrationthreads command
 - Peter's cleanup/fixes from the "export misc.h" series
 - Maciej's two small patches from multifd+vfio series
 -----BEGIN PGP SIGNATURE-----
 
 iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZyTbVRIccGV0ZXJ4QHJl
 ZGhhdC5jb20ACgkQO1/MzfOr1wan3wD+L4TVNDc34Hy4mvWu7u1lCOePX0GBdUEc
 oEeBGblwbrcBAIR8d+5z9O5YcWH1coozG1aUC4qCtSHHk5TGbJk4/UUD
 =XB5Q
 -----END PGP SIGNATURE-----

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

Migration pull request for softfreeze

v2:
- Patch "migration: Move cpu-throttle.c from system to migration",
  fix build on MacOS, and subject spelling

NOTE: checkpatch.pl could report a false positive on this branch:

  WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
  #21:
   {include/sysemu => migration}/cpu-throttle.h | 0

That's covered by "F: migration/" entry.

Changelog:

- Peter's cleanup patch on migrate_fd_cleanup()
- Peter's cleanup patch to introduce thread name macros
- Hanna's error path fix for vmstate subsection save()s
- Hyman's auto converge enhancement on background dirty sync
- Peter's additional tracepoints for save state entries
- Thomas's build fix for OpenBSD in dirtyrate.c
- Peter's deprecation of query-migrationthreads command
- Peter's cleanup/fixes from the "export misc.h" series
- Maciej's two small patches from multifd+vfio series

# -----BEGIN PGP SIGNATURE-----
#
# iIgEABYKADAWIQS5GE3CDMRX2s990ak7X8zN86vXBgUCZyTbVRIccGV0ZXJ4QHJl
# ZGhhdC5jb20ACgkQO1/MzfOr1wan3wD+L4TVNDc34Hy4mvWu7u1lCOePX0GBdUEc
# oEeBGblwbrcBAIR8d+5z9O5YcWH1coozG1aUC4qCtSHHk5TGbJk4/UUD
# =XB5Q
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 01 Nov 2024 13:44:53 GMT
# gpg:                using EDDSA key B9184DC20CC457DACF7DD1A93B5FCCCDF3ABD706
# gpg:                issuer "peterx@redhat.com"
# gpg: Good signature from "Peter Xu <xzpeter@gmail.com>" [marginal]
# gpg:                 aka "Peter Xu <peterx@redhat.com>" [marginal]
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: B918 4DC2 0CC4 57DA CF7D  D1A9 3B5F CCCD F3AB D706

* tag 'migration-20241030-pull-request' of https://gitlab.com/peterx/qemu:
  migration/multifd: Zero p->flags before starting filling a packet
  migration/ram: Add load start trace event
  migration: Drop migration_is_idle()
  migration: Drop migration_is_setup_or_active()
  migration: Unexport ram_mig_init()
  migration: Unexport dirty_bitmap_mig_init()
  migration: Take migration object refcount earlier for threads
  migration: Deprecate query-migrationthreads command
  migration/dirtyrate: Silence warning about strcpy() on OpenBSD
  tests/migration: Add case for periodic ramblock dirty sync
  migration: Support periodic RAMBlock dirty bitmap sync
  migration: Remove "rs" parameter in migration_bitmap_sync_precopy
  migration: Move cpu-throttle.c from system to migration
  migration: Stop CPU throttling conditionally
  accel/tcg/icount-common: Remove the reference to the unused header file
  migration: Ensure vmstate_save() sets errp
  migration: Put thread names together with macros
  migration: Cleanup migrate_fd_cleanup() on accessing to_dst_file

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
1 month ago
..
accel-blocker.h bulk: Do not declare function prototypes using 'extern' keyword 1 year ago
accel-ops.h sysemu: add set_virtual_time to accel ops 5 months ago
arch_init.h system: Remove support for CRIS target 3 months ago
balloon.h qapi: Restrict balloon-related commands to machine code 4 years ago
block-backend-common.h block: drain from main loop thread in bdrv_co_yield_to_drain() 2 years ago
block-backend-global-state.h block-backend: Remove deadcode 2 months ago
block-backend-io.h util/defer-call: move defer_call() to util/ 1 year ago
block-backend.h include/sysemu/block-backend: split header into I/O and global state (GS) API 3 years ago
block-ram-registrar.h block: add BlockRAMRegistrar 2 years ago
blockdev.h include/sysemu/blockdev.h: global state API 3 years ago
cpu-throttle.h migration: Support periodic RAMBlock dirty bitmap sync 1 month ago
cpu-timers-internal.h system: Rename softmmu/ directory as system/ 1 year ago
cpu-timers.h sysemu: add set_virtual_time to accel ops 5 months ago
cpus.h cpus: Remove unused smp_cores/smp_threads declarations 1 year ago
cryptodev-vhost-user.h cryptodev: Fix Lesser GPL version number 4 years ago
cryptodev-vhost.h include/: spelling fixes 1 year ago
cryptodev.h qapi/cryptodev: Rename QCryptodevBackendAlgType to *Algo, and drop prefix 3 months ago
device_tree.h kconfig: allow compiling out QEMU device tree code per target 7 months ago
dirtylimit.h migration: Extend query-migrate to provide dirty page limit info 1 year ago
dirtyrate.h include: Include headers where needed 2 years ago
dma.h dma: Fix function names in documentation 2 months ago
dump-arch.h dump: Add arch cleanup function 1 year ago
dump.h dump: Allow directly outputting raw kdump format 1 year ago
event-loop-base.h Don't include headers already included by qemu/osdep.h 2 years ago
host_iommu_device.h vfio/iommufd: Add hw_caps field to HostIOMMUDeviceCaps 4 months ago
hostmem.h core/machine: Make create_default_memdev machine a virtual method 1 month ago
hvf.h exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET 7 months ago
hvf_int.h hvf: Split up hv_vm_create logic per arch 3 months ago
hw_accel.h accel: Remove HAX accelerator 1 year ago
iommufd.h vfio/iommufd: Implement VFIOIOMMUClass::query_dirty_bitmap support 4 months ago
iothread.h include/: spelling fixes 1 year ago
kvm.h kvm: Allow kvm_arch_get/put_registers to accept Error** 2 months ago
kvm_int.h KVM: Rename KVMState->nr_slots to nr_slots_max 2 months ago
kvm_xen.h hw/xen: select kernel mode for per-vCPU event channel upcall vector 1 year ago
memory_mapping.h memory: follow Error API guidelines 1 year ago
numa.h numa: remove types from typedefs.h 7 months ago
nvmm.h exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET 7 months ago
os-posix.h qemu_init: increase NOFILE soft limit on POSIX 10 months ago
os-win32.h qemu_init: increase NOFILE soft limit on POSIX 10 months ago
qtest.h qtest: move qtest_{get, set}_virtual_clock to accel/qtest/qtest.c 5 months ago
replay.h replay: Remove unused replay_disable_events 2 months ago
reset.h reset: Use ResetType for qemu_devices_reset() and MachineClass::reset() 2 months ago
rng-random.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 4 years ago
rng.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 4 years ago
rtc.h rtc: Use time_t for passing and returning time offsets 1 year ago
runstate-action.h system: Rename softmmu/ directory as system/ 1 year ago
runstate.h replay: allow runstate shutdown->running when replaying trace 4 months ago
seccomp.h sandbox: disable -sandbox if CONFIG_SECCOMP undefined 7 years ago
spdm-socket.h backends: Initial support for SPDM socket support 4 months ago
stats.h include/: spelling fixes 1 year ago
sysemu.h vl.c: Remove pxa2xx-specific -portrait and -rotate options 2 months ago
tcg.h accel: Document generic accelerator headers 1 year ago
tpm.h sysemu/tpm: Clean up global variable shadowing 1 year ago
tpm_backend.h include/: spelling fixes 1 year ago
tpm_util.h tpm: Fix Lesser GPL version number 4 years ago
vhost-user-backend.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 4 years ago
watchdog.h watchdog: remove -watchdog option 2 years ago
whpx.h exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET 7 months ago
xen-mapcache.h xen: mapcache: Pass the ram_addr offset to xen_map_cache() 6 months ago
xen.h xen: mapcache: Add support for grant mappings 6 months ago