]> git.proxmox.com Git - mirror_qemu.git/commit
migrate: Fix cancelling state warning
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 19 Jul 2018 09:22:57 +0000 (10:22 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 24 Jul 2018 16:00:45 +0000 (17:00 +0100)
commit57225e5f32bb051c9eb03758647963aeb72cebbf
treee0b4981785c7bb94cd5a54283800f88b49e39ace
parent4fcefd44a074008e490ff54c3c28a08b8dbfb14b
migrate: Fix cancelling state warning

We've been getting the warning:

migration_iteration_finish: Unknown ending state 2

on a cancel.

I think that's originally due to 39b9e17905c;  although
I've only seen the warning, I think that in some cases
that we could find the VM stays paused after a cancel where
it should restart.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20180719092257.12703-1-dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/migration.c