From: Jens Freimann Date: Tue, 29 Oct 2019 11:49:03 +0000 (+0100) Subject: libqos: tolerate wait-unplug migration state X-Git-Tag: v4.2.0-rc0~23^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea45cb8d84d25c3a3103932def12558de1bbe208;p=thirdparty%2Fqemu.git libqos: tolerate wait-unplug migration state Signed-off-by: Jens Freimann Message-Id: <20191029114905.6856-10-jfreimann@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/tests/libqos/libqos.c b/tests/libqos/libqos.c index d71557c5cb6..f229eb2cb83 100644 --- a/tests/libqos/libqos.c +++ b/tests/libqos/libqos.c @@ -125,7 +125,8 @@ void migrate(QOSState *from, QOSState *to, const char *uri) break; } - if ((strcmp(st, "setup") == 0) || (strcmp(st, "active") == 0)) { + if ((strcmp(st, "setup") == 0) || (strcmp(st, "active") == 0) + || (strcmp(st, "wait-unplug") == 0)) { qobject_unref(rsp); g_usleep(5000); continue;