From: Jens Freimann Date: Tue, 29 Oct 2019 11:49:03 +0000 (+0100) Subject: libqos: tolerate wait-unplug migration state X-Git-Tag: qemu-xen-4.14.0~313^2~5 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ea45cb8d84d25c3a3103932def12558de1bbe208;p=qemu-xen.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 d71557c5cb..f229eb2cb8 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;