From patchwork Tue Aug 21 17:01:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 960575 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VmxnzU46"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41vxyb0PBFz9s78 for ; Wed, 22 Aug 2018 03:10:47 +1000 (AEST) Received: from localhost ([::1]:54974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsAB2-0008Rf-Kl for incoming@patchwork.ozlabs.org; Tue, 21 Aug 2018 13:10:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsA3x-0001Ax-Dq for qemu-devel@nongnu.org; Tue, 21 Aug 2018 13:03:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsA3p-0005in-P3 for qemu-devel@nongnu.org; Tue, 21 Aug 2018 13:03:20 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:34301) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fsA3o-0005fC-Hd for qemu-devel@nongnu.org; Tue, 21 Aug 2018 13:03:16 -0400 Received: by mail-wr1-x444.google.com with SMTP id g33-v6so6430171wrd.1 for ; Tue, 21 Aug 2018 10:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=AF5HwraPFBsbM05xyzeAEuP20uZ7UIZNYYi44IfYtOs=; b=VmxnzU46LGJElfxHD/AwuKsNhaevlAll2OI09yGgK1wkZX+47DI+/PWH6Ye7BLMWyn CuL9N1g44guvpY4Cw4mpHxXSvHqi7zb6Nwhc8QGAaa0hIEr2rWeYOo0ivF9JTAXXLRcl I9aqY9AFPDNi6IoxZfBN0fxWt/GykZEOuAoupY9TCfZ/RLc73dgiGcwYiIzKm4ztw+vQ OKg/+SjKoxE3AX6A/wK3pSKalz8gtwQRVdYLmDBFUFn0NNa16aYvlD+qIp7viJl40Psj syNz7UcFarhVSR9mlR5oLxCiSlW9pkuTwk8JvHTXwCbKyrOydeOqkchEqk09lAIXtsDW SvMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=AF5HwraPFBsbM05xyzeAEuP20uZ7UIZNYYi44IfYtOs=; b=bh+FleMDyVVTV7todGDSBPwfCsUPtWEsKKeVDhk5U+uWtmcP2+8Ig9Zu8ib3+ZXH7U lD2NiyfAm0BooLYmJ5c5FNAYD80D2UzQ2qMz3wrJZoFuLwLV9X1O4uQhoc44GIf2AcVX 29Rbkr0sLUUV4q9QDOS0cjtAA1z9nd3sbNL5QI0ZoxJibHc93F3+FhupoXlVItquWl2b fJAydaP5HxyDJe1po0Us/kFbAd8doVw0cjJ3Ab27daSd4Og8hZ0rhovum82TBF5xGhI6 U5e+O+DloLigDYai/Aq9+d+verxFifWJP4xHzrma3+RDX8noU0KgB/wCFYA76+bre9hN 1Bzw== X-Gm-Message-State: AOUpUlEol9iZsfPCtD4aOrs+1BZA5gCB2WqSEUpvHdHiMNbqZjfPiNe5 sFASrwzwsb3EaL0zVcM3CQcawCX5 X-Google-Smtp-Source: AA+uWPz8hZ+4wxW87QVvfE+DlOcnzGWpeq/khzGuFg2875ICcA1+yQz8l1CjLe3CUFRTec2tUha2eQ== X-Received: by 2002:a5d:6381:: with SMTP id p1-v6mr14747060wru.106.1534870995177; Tue, 21 Aug 2018 10:03:15 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-184-244.clienti.tiscali.it. [78.12.184.244]) by smtp.gmail.com with ESMTPSA id v6-v6sm2608955wmc.43.2018.08.21.10.03.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 10:03:14 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 21 Aug 2018 19:01:43 +0200 Message-Id: <1534870966-9287-12-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1534870966-9287-1-git-send-email-pbonzini@redhat.com> References: <1534870966-9287-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 Subject: [Qemu-devel] [PULL 11/74] net: Silence 'has no peer' messages in testing mode X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth When running qtests with -nodefaults, we are not interested in these 'XYZ has no peer' messages. Signed-off-by: Thomas Huth Message-Id: <1534419358-10932-3-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- vl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 16b913f..7055df3 100644 --- a/vl.c +++ b/vl.c @@ -4559,11 +4559,10 @@ int main(int argc, char **argv, char **envp) * (2) CONFIG_SLIRP not set, in which case the implicit "-net nic" * sets up a nic that isn't connected to anything. */ - if (!default_net) { + if (!default_net && (!qtest_enabled() || has_defaults)) { net_check_clients(); } - if (boot_once) { qemu_boot_set(boot_once, &error_fatal); qemu_register_reset(restore_boot_order, g_strdup(boot_order));