[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 09/11] libqos: tolerate wait-unplug migration state
From: |
Jens Freimann |
Subject: |
[PATCH v6 09/11] libqos: tolerate wait-unplug migration state |
Date: |
Fri, 25 Oct 2019 14:19:28 +0200 |
Signed-off-by: Jens Freimann <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
---
tests/libqos/libqos.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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;
--
2.21.0
[PATCH v6 09/11] libqos: tolerate wait-unplug migration state,
Jens Freimann <=
[PATCH v6 10/11] net/virtio: add failover support, Jens Freimann, 2019/10/25
[PATCH v6 11/11] vfio: unplug failover primary device before migration, Jens Freimann, 2019/10/25
Re: [PATCH v6 0/11] add failover feature for assigned network devices, Roman Kagan, 2019/10/25
Re: [PATCH v6 0/11] add failover feature for assigned network devices, Jens Freimann, 2019/10/28
Re: [PATCH v6 0/11] add failover feature for assigned network devices, Michael S. Tsirkin, 2019/10/29