From 3af8554bd068576b0399087583df48518a2a98f6 Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Tue, 2 Feb 2021 13:55:21 +0000 Subject: migration: Add blocker information Modify query-migrate so that it has a flag indicating if outbound migration is blocked, and if it is a list of reasons. Signed-off-by: Dr. David Alan Gilbert Message-Id: <20210202135522.127380-2-dgilbert@redhat.com> Reviewed-by: Eric Blake Reviewed-by: Peter Xu Signed-off-by: Dr. David Alan Gilbert --- migration/savevm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'migration/savevm.h') diff --git a/migration/savevm.h b/migration/savevm.h index aaee2528ed..6461342cb4 100644 --- a/migration/savevm.h +++ b/migration/savevm.h @@ -30,6 +30,7 @@ #define QEMU_VM_SECTION_FOOTER 0x7e bool qemu_savevm_state_blocked(Error **errp); +void qemu_savevm_non_migratable_list(strList **reasons); void qemu_savevm_state_setup(QEMUFile *f); bool qemu_savevm_state_guest_unplug_pending(void); int qemu_savevm_state_resume_prepare(MigrationState *s); -- cgit v1.2.3