summary refs log tree commit diff stats
path: root/hw/virtio/virtio.c
diff options
context:
space:
mode:
authorArun Menon <armenon@redhat.com>2025-09-18 20:53:40 +0530
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:02 -0400
commit94272d9b45bbf17b8bb143b39fd3060aeef7dc3d (patch)
tree82fa7150a23aeff5d3403b260183c37c7c7c6e31 /hw/virtio/virtio.c
parentaa77746602cdf7e29d588d100e27f34bd6e46226 (diff)
downloadfocaccia-qemu-94272d9b45bbf17b8bb143b39fd3060aeef7dc3d.tar.gz
focaccia-qemu-94272d9b45bbf17b8bb143b39fd3060aeef7dc3d.zip
migration: Capture error in postcopy_ram_listen_thread()
This is an incremental step in converting vmstate loading
code to report error via Error objects instead of directly
printing it to console/monitor.
postcopy_ram_listen_thread() calls qemu_loadvm_state_main()
to load the vm, and in case of a failure, it should set the error
in the migration object.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Arun Menon <armenon@redhat.com>
Tested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/20250918-propagate_tpm_error-v14-23-36f11a6fb9d3@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'hw/virtio/virtio.c')
0 files changed, 0 insertions, 0 deletions