projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e0acd
)
libqos: tolerate wait-unplug migration state
author
Jens Freimann
<jfreimann@redhat.com>
Tue, 29 Oct 2019 11:49:03 +0000
(12:49 +0100)
committer
Michael S. Tsirkin
<mst@redhat.com>
Tue, 29 Oct 2019 22:55:26 +0000
(18:55 -0400)
Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Message-Id: <
20191029114905
.6856-10-jfreimann@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/libqos/libqos.c
patch
|
blob
|
history
diff --git
a/tests/libqos/libqos.c
b/tests/libqos/libqos.c
index d71557c5cb629da5b5540ada368e1068c76588ca..f229eb2cb831c95a4f74fa7937d0ff42a021bf3f 100644
(file)
--- 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;