From patchwork Wed Apr 28 10:18:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 12228483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71A0DC433B4 for ; Wed, 28 Apr 2021 10:21:33 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D407360FE3 for ; Wed, 28 Apr 2021 10:21:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D407360FE3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6hjbwOujlRcAl7WcT/WbJz3qYAlBp/Fpy9eXgalemVY=; b=aYhTAemLNi2WereEUd83JvTdx PhQCQI0uL+ejFkrAdtL2E3mDqCl8Sr3zOK2Sl3S6MNFw0VbVksH3krtZWwdGtnalE+DZfleA6vOen wah0HdEYsbHs94ZobAVQpkArtzNJ3UHB3O5HzCgPlbRbSLaUPVk8VFiO5PE8dq0Wf+mivflsOB99i +VaPgJhvHrocVbvqB+b3BIIm96Up5tc1oxngBfSF+CmazGHBs3H5V4t7ODA/eYrG7FUCu3Ie48h4K mzZLCa5lzbnbEhy9lwVZaG+gKZFPH43/SVC7HNncAKTOhz7ty4CI5N9ktpgpJLLVDHmFTMd8z8DCY QdnwUGR+g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lbhI0-003H2N-SP; Wed, 28 Apr 2021 10:19:29 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lbhHR-003H0Z-3Q for linux-arm-kernel@desiato.infradead.org; Wed, 28 Apr 2021 10:18:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=JIGl3K3qE3k2BXQSfM80xkGe4hRnH3OA6tpOjjNrd3E=; b=h8q01o8F1W7JvAq1dG69hFxLif vWXXzfnC5JAv82peTCOEF/+EFl4ggkix04RcbMP2BGryZccpXWR977KSi9ftWKjTbeE8Qu9LQH9hd Xp8iBj21EqT/GXIb45QFmGMnUjdEkjCpzh/0Xn8nMbYswQy/YI0UgMXghhIZNI31CsOImBUrzEKCO laO6I+43dngiworulRJ78XuZNwE6EhwlFRY96T7xzeSnhSiVwUCxIJ9x1W8UYAI8GlsyFd7zfZwYg wOf0SugG17Dfkcn4v+3x/TM3G8HN9pKsvVkE02fhJP+LP0keGl4o2/j9Z9j9GosO3AfYOp18XArjS HveGwB3w==; Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lbhHO-00HLyn-Lt for linux-arm-kernel@lists.infradead.org; Wed, 28 Apr 2021 10:18:51 +0000 Received: by mail-wr1-x430.google.com with SMTP id n2so9266586wrm.0 for ; Wed, 28 Apr 2021 03:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JIGl3K3qE3k2BXQSfM80xkGe4hRnH3OA6tpOjjNrd3E=; b=Tocu2ZsTcx7VJN6+MVikFztL2wEkgN20wGnOqWs/UwSTwQ8IT1wNoZoLCbL1uytn3f qCa6ykXIJ39hLu4V+KCW1lOlOmcToymqvCX7t0lR3o87WapMMqa8pTdRKzo+7J5B3GdX cdiIdktldMin4hXEw4px5yAX0xr90WWmxO8smtcZti/I1/LApf837ST2k6Au1cXg6Z5y ZmqDDGg96rXNe6zD9MZlfwQRtM+smRh0A5U6Y4j93mTVpC8y5NGpu6NsLMBfYp2NIj7k 1sGEevKSlWBdzR0UJhugw5fzOXmVcF5hl8CdGbdCsoEuHBke8NPjMo+982KpfVcXN8mH 6ylw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JIGl3K3qE3k2BXQSfM80xkGe4hRnH3OA6tpOjjNrd3E=; b=LmzsCAKVXUdwey2qYxxZkHYgc395rahDMqZG2XQGqG+spmKREOi4jgfn/bbACiNbVN OnMLpwWNA6IzUmdk58oEFsDNFNTYH1R22k/7/co6dmSiqEDB3w+FDj5UDt/o9M7StXlB zT5tOaSX2g8iIPqF+7bcCK8GWNRoKEsMP5D0/gHZe8+X59hlHsI1GTb/5lhgb8sdBHzt cH4nqRtygHR5M441/I5lLfr7C85K0YsOyXR4bU/iJHaFwp0/bBIJXZqLnIBJU7jMSXTo vXBRC0uI71GTg97Ntg9TiBc3klmu+pwAr8J7nuYKiaORLQL2Mms/Q44Go/1E/WE+AXBv 2jzg== X-Gm-Message-State: AOAM530Rsmw7SdjVvkkk16GguunQolC+Lg1J2BdKoVzKmTSr+ZvajEbk 4ZWngBpowQK9l9XXL4w2JavLgw== X-Google-Smtp-Source: ABdhPJzY9oNGXhOxLJCihSwIGFeQ6N62MW7ZFy5SInbOGtC3xunUNEQ7q6CYNQ8xm6AW5+ASciIkSA== X-Received: by 2002:adf:fdcd:: with SMTP id i13mr34506297wrs.185.1619605126850; Wed, 28 Apr 2021 03:18:46 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s83sm3294855wms.16.2021.04.28.03.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 03:18:44 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 343B41FF8C; Wed, 28 Apr 2021 11:18:44 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: kvm@vger.kernel.org Cc: shashi.mallela@linaro.org, alexandru.elisei@arm.com, eric.auger@redhat.com, qemu-arm@nongnu.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@arm.com, maz@kernel.org, =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [kvm-unit-tests PATCH v1 2/4] scripts/arch-run: don't use deprecated server/nowait options Date: Wed, 28 Apr 2021 11:18:42 +0100 Message-Id: <20210428101844.22656-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210428101844.22656-1-alex.bennee@linaro.org> References: <20210428101844.22656-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210428_031850_735091_97FE953D X-CRM114-Status: GOOD ( 11.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The very fact that QEMU drops the deprecation warning while running is enough to confuse the its-migration test into failing. The boolean options server and wait have accepted the long form options for a long time. Signed-off-by: Alex Bennée --- scripts/arch-run.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/arch-run.bash b/scripts/arch-run.bash index 5997e38..70693f2 100644 --- a/scripts/arch-run.bash +++ b/scripts/arch-run.bash @@ -122,14 +122,14 @@ run_migration () trap 'kill 0; exit 2' INT TERM trap 'rm -f ${migout1} ${migsock} ${qmp1} ${qmp2} ${fifo}' RETURN EXIT - eval "$@" -chardev socket,id=mon1,path=${qmp1},server,nowait \ + eval "$@" -chardev socket,id=mon1,path=${qmp1},server=on,wait=off \ -mon chardev=mon1,mode=control | tee ${migout1} & # We have to use cat to open the named FIFO, because named FIFO's, unlike # pipes, will block on open() until the other end is also opened, and that # totally breaks QEMU... mkfifo ${fifo} - eval "$@" -chardev socket,id=mon2,path=${qmp2},server,nowait \ + eval "$@" -chardev socket,id=mon2,path=${qmp2},server=on,wait=off \ -mon chardev=mon2,mode=control -incoming unix:${migsock} < <(cat ${fifo}) & incoming_pid=`jobs -l %+ | awk '{print$2}'`