[libvirt PATCH 07/80] qemu: Explicitly emit events on post-copy failure

Peter Krempa pkrempa at redhat.com
Wed May 11 08:50:56 UTC 2022


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 at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list