On Tue, May 10, 2022 at 17:20:28 +0200, Jiri Denemark wrote:
The events would normally be triggered only if we're changing
domain
state. But most of the time the domain is already in the right state and
we're just changing its substate from {PAUSED,RUNNING}_POSTCOPY to
*_POSTCOPY_FAILED. Let's emit lifecycle events explicitly when post-copy
migration fails to make the failure visible without polling.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_migration.c | 10 ++++++++++
1 file changed, 10 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>