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
Markus Armbruster bfcaa18a14 migration/postcopy-ram: Improve error reporting after loadvm failure
One of two error messages show __func__.  Drop it; it doesn't help
users, and developers can grep for the message.  This also permits
de-duplicating the code to prepend to the error message.

Both error messages show a numeric error code.  I doubt that's
helpful, but I'm leaving it alone.

Use error_append_hint() for explaining that some dirty bitmaps may be
lost.  Polish the prose.

Don't faff around with g_clear_pointer(), it's not worth its keep
here.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20251115083500.2753895-4-armbru@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
6 days ago
..
block-active.c migration/block-active: Remove global active flag 10 months ago
block-dirty-bitmap.c migration: Rename save_live_complete_precopy to save_complete 5 months ago
channel-block.c migration: add FEATURE_SEEKABLE to QIOChannelBlock 3 weeks ago
channel-block.h migration: introduce a QIOChannel impl for BlockDriverState VMState 3 years ago
channel.c migration: Properly wait on G_IO_IN when peeking messages 3 weeks ago
channel.h migration: check magic value for deciding the mapping of channels 3 years ago
colo-failover.c migration/colo: Improve an x-colo-lost-heartbeat error message 3 years ago
colo-stubs.c migration/colo: make colo_incoming_co() return void 2 years ago
colo.c migration: Update qemu_file_get_return_path() docs and remove dead checks 2 months ago
cpr-exec.c migration: Plug memory leaks after migrate_set_error() 6 days ago
cpr-transfer.c migration: Support fd-based socket address in cpr_transfer_input 5 months ago
cpr.c migration/cpr: Fix coverity report in cpr_exec_persist_state() 3 weeks ago
cpu-throttle.c include: Rename sysemu/ -> system/ 11 months ago
dirtyrate.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
dirtyrate.h include: Rename sysemu/ -> system/ 11 months ago
exec.c migration: simplify exec migration functions 2 years ago
exec.h migration: convert exec backend to accept MigrateAddress. 2 years ago
fd.c migration: Allow pipes to keep working for fd migrations 1 year ago
fd.h migration: Revert mapped-ram multifd support to fd: URI 2 years ago
file.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
file.h migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov 1 year ago
global_state.c include: Rename sysemu/ -> system/ 11 months ago
meson.build migration: cpr-exec save and load 2 months ago
migration-hmp-cmds.c migration/cpr: Document obscure usage of g_autofree when parse str 3 weeks ago
migration-stats.c migration: migration_rate_limit_reset() don't need the QEMUFile 2 years ago
migration-stats.h migration: Remove transferred atomic counter 2 years ago
migration.c migration: set correct list pointer when removing notifier 6 days ago
migration.h migration: Introduce POSTCOPY_DEVICE state 3 weeks ago
multifd-device-state.c migration: Rename save_live_complete_precopy_thread to save_complete_precopy_thread 5 months ago
multifd-nocomp.c migration: enable multifd and postcopy together 6 months ago
multifd-qatzip.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
multifd-qpl.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
multifd-uadk.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
multifd-zero-page.c migration: write zero pages when postcopy enabled 6 months ago
multifd-zlib.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
multifd-zstd.c include/system: Move exec/ramblock.h to system/ramblock.h 7 months ago
multifd.c migration: Use warn_reportf_err() where appropriate 6 days ago
multifd.h migration/multifd: move macros to multifd header 7 months ago
options.c migration: mapped-ram: handle zero pages 3 weeks ago
options.h migration/savevm: Add a compatibility check for capabilities 3 weeks ago
page_cache.c migration: Fix cache_init()'s "Failed to allocate" error messages 5 years ago
page_cache.h migration: Clean up signed vs. unsigned XBZRLE cache-size 5 years ago
postcopy-ram.c migration/postcopy-ram: Improve error reporting after loadvm failure 6 days ago
postcopy-ram.h migration: Introduce postcopy incoming setup and cleanup functions 3 weeks ago
qemu-file.c io: Add qio_channel_wait_cond() helper 3 weeks ago
qemu-file.h migration: qemu_file_set_blocking(): add errp parameter 2 months ago
ram.c migration: mapped-ram: handle zero pages 3 weeks ago
ram.h migration: push Error **errp into loadvm_process_enable_colo() 2 months ago
rdma.c migration/rdma: Check ntohll() availability with meson 1 week ago
rdma.h migration: Unfold control_save_page() 7 months ago
savevm.c migration: Introduce POSTCOPY_DEVICE state 3 weeks ago
savevm.h migration: Introduce POSTCOPY_DEVICE state 3 weeks ago
socket.c qio: Provide accessor around QIONetListener->sioc 2 weeks ago
socket.h migration: Remove unused socket_send_channel_create_sync 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: activate TLS thread safety workaround 4 months ago
tls.h migration/multifd: Terminate the TLS connection 10 months ago
trace-events migration: Introduce POSTCOPY_DEVICE state 3 weeks ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
vfio-stub.c migration/vfio: compile only once 3 months ago
vfio.c migration/vfio: compile only once 3 months ago
vmstate-types.c migration: cpr-exec mode 2 months ago
vmstate.c migration: vmsd errp handlers: return bool 3 weeks ago
xbzrle.c migration/xbzrle: Use i386 host/cpuinfo.h 3 years ago
xbzrle.h migration/xbzrle: Use i386 host/cpuinfo.h 3 years ago
yank_functions.c migration/yank: Use channel features 2 years ago
yank_functions.h migration: Move the yank unregister of channel_close out 4 years ago