Introduce VIR_DOMAIN_RUNNING_POSTCOPY_FAILED

This new "post-copy failed" reason for the running state will be used on
the destination host when post-copy migration fails while the domain is
already running there.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Jiri Denemark
2022-05-10 15:20:25 +02:00
parent 8cd5edfdfe
commit aab9d64d4d
7 changed files with 23 additions and 8 deletions

View File

@@ -196,6 +196,9 @@ eventDetailToString(int event,
case VIR_DOMAIN_EVENT_RESUMED_POSTCOPY:
return "Post-copy";
case VIR_DOMAIN_EVENT_RESUMED_POSTCOPY_FAILED:
return "Post-copy Error";
case VIR_DOMAIN_EVENT_RESUMED_LAST:
break;
}