From nobody Mon Feb 9 14:50:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1572390948; cv=none; d=zoho.com; s=zohoarc; b=nBLveW/LKklY9HVUSr/8zVu6QYjffGmopYHN5/edIagGHzWIuxOAzESq2OStZmkrahmpjXFc81pExe51DsvEwf55pXlOpquPsmnkoX/1MEiEmGrH83Fl6rA84raOuQSXKAG97xh1X9evZ1KWYhOTI1AkFjHm+owH1kvbda4wESU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572390948; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=nXqJo2N6krLPlsmVICbK9BFQvUyjLuOzQw6gEq62j5U=; b=G+iH9qGXtGZ8QDdZdYU9GH0qHwK3EC6TorFRivzSI7GWICKB+cMvtNPASdrY4EHUHCTEf1r4JpBKa4PGVflfy8LlbmxclSgHgcFRi8OjLG4UI9875ngmtjeUsNDuozbWCzqQWGrF4pq1xudgtNXVC7nCTltWj72dyOZFimX17H8= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1572390948611684.925920749715; Tue, 29 Oct 2019 16:15:48 -0700 (PDT) Received: from localhost ([::1]:34980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaiJ-00066p-4C for importer@patchew.org; Tue, 29 Oct 2019 19:15:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43445) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaU3-0000S3-Kt for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:01:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPaU2-0004DN-DR for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:01:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPaU2-0004CR-0q for qemu-devel@nongnu.org; Tue, 29 Oct 2019 19:01:02 -0400 Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 32055C058CA4 for ; Tue, 29 Oct 2019 23:01:01 +0000 (UTC) Received: by mail-qt1-f198.google.com with SMTP id l32so521325qtk.9 for ; Tue, 29 Oct 2019 16:01:01 -0700 (PDT) Received: from redhat.com (94.222.26.109.rev.sfr.net. [109.26.222.94]) by smtp.gmail.com with ESMTPSA id x22sm96314qtq.15.2019.10.29.16.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 16:00:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nXqJo2N6krLPlsmVICbK9BFQvUyjLuOzQw6gEq62j5U=; b=jT84P2EYUhCrPVm7UyntjcCb1zb/Cl333CkUUz/7eHWMgw+w1mG+KdyDRL/R7E8Nph o1kK3IV++uXlc3Q3K94mWT6VyTIunqyRSLiJBBqhFslNPjay27UuGJQ8p/jyxDNbMGwF LsbSLZTL7ZhU7gtynitvb3r9SjDVFie3mW8/FvuGSEqCkv5syyBAKYGu6pG54aWd8QN6 v0R+y39dycbKZOWFFtKCMpNrWGXtrhBqh7QpKkElcta+bSG0TqW3cNmCcu9MAD3XApDU VUP6Sl1Yfe/BeDcH07RDd5QUE9RNsvMOWqgSFithUzteF6ersXBZNhHkflp4kc7otjt3 gm6Q== X-Gm-Message-State: APjAAAVDKKR/iZDb6pS9LhEalXbaXJOvj38TJiGQf1OAykQOPzucNE+o nHMlHxOEEFz0U/G2y0s919tu3BlIKgTP1fvJjuYMJvhUI10NjlMt/ET4xI6vbXVWWPNFfw0zhaz INEY6CHkW9NoBUHE= X-Received: by 2002:a05:6214:1109:: with SMTP id e9mr8074896qvs.129.1572390060148; Tue, 29 Oct 2019 16:01:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzv7t4sEPsB3INjZpjonLSyl7MxE64WcjeUoDgQm7aVZmTf66dTEDKUGbMDRSJxmrJKCOorpQ== X-Received: by 2002:a05:6214:1109:: with SMTP id e9mr8074876qvs.129.1572390059953; Tue, 29 Oct 2019 16:00:59 -0700 (PDT) Date: Tue, 29 Oct 2019 19:00:56 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL 09/14] libqos: tolerate wait-unplug migration state Message-ID: <20191029225932.14585-10-mst@redhat.com> References: <20191029225932.14585-1-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191029225932.14585-1-mst@redhat.com> X-Mailer: git-send-email 2.22.0.678.g13338e74b8 X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Jens Freimann , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Jens Freimann Signed-off-by: Jens Freimann Message-Id: <20191029114905.6856-10-jfreimann@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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; } =20 - if ((strcmp(st, "setup") =3D=3D 0) || (strcmp(st, "active") =3D=3D= 0)) { + if ((strcmp(st, "setup") =3D=3D 0) || (strcmp(st, "active") =3D=3D= 0) + || (strcmp(st, "wait-unplug") =3D=3D 0)) { qobject_unref(rsp); g_usleep(5000); continue; --=20 MST