Hi. It's a simple fix for problems reported in "Aborts in iotest 169" by Max: https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg05907.html
In thread Kevin described that a problem itself is bigger and needs more effort: https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg06136.html So, we may continue discussion in "Aborts in iotest 169", and in parallel apply these patches at least as a temporary fix. The problem of this fix is that we finally have a bit weird interface: User gets event MIGRATION_COMPLETED, and after it he can get error message "Migration is not finalized yet". But it is better than crash, anyway. Vladimir Sementsov-Ogievskiy (2): qmp: forbid qmp_cont in RUN_STATE_FINISH_MIGRATE iotest: fix 169: do not run qmp_cont in RUN_STATE_FINISH_MIGRATE qmp.c | 3 +++ tests/qemu-iotests/169 | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.18.0