]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: show error message when postcopy fails
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 21 Jul 2025 13:39:13 +0000 (14:39 +0100)
committerFabiano Rosas <farosas@suse.de>
Tue, 22 Jul 2025 22:39:29 +0000 (19:39 -0300)
commiteaec556bc88cc1196f7bbf23d5de311aac1d812f
tree780cbc9c9a77d08ae2dea89a35599325b4d2db9d
parentfd1514cbd97bcad5b3dc5d002cab6fee4d7cd45e
migration: show error message when postcopy fails

The 'info migrate' command only shows the error message when the
migration state is 'failed'. When postcopy is used, however,
the 'postcopy-paused' state is used instead of 'failed', so we
must show the error message there too.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20250721133913.2914669-1-berrange@redhat.com
[line break to satisfy checkpatch]
Signed-off-by: Fabiano Rosas <farosas@suse.de>
migration/migration-hmp-cmds.c