[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH 0/2] fix qmp-cont vs migration-finish race-crash

From: Vladimir Sementsov-Ogievskiy
Subject: [Qemu-block] [PATCH 0/2] fix qmp-cont vs migration-finish race-crash
Date: Thu, 24 Jan 2019 15:25:23 +0300


It's a simple fix for problems reported in "Aborts in iotest 169"
by Max:

In thread Kevin described that a problem itself is bigger and needs
more effort:

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(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]