From patchwork Tue Sep 27 21:35:01 2022 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: 609619 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp602562pvb; Tue, 27 Sep 2022 14:37:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7mZNpRGTKGuDySrI7EyNSDchRYw5EF88hpRXTWJNgXnAxsi8j6dAqHuCsYomnRJ0xhwm9W X-Received: by 2002:ac8:57cf:0:b0:35c:ad7:93b8 with SMTP id w15-20020ac857cf000000b0035c0ad793b8mr24261772qta.375.1664314667663; Tue, 27 Sep 2022 14:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664314667; cv=none; d=google.com; s=arc-20160816; b=aw7GB1oF3c6dQHM6I1mTtG/p1fHq8givqwVkAwIaG67WQ7qdPS0mvqhK/Z99WUj4x2 PgpEuMx5pH2Ns/yxySp4uebp9ZKJ/gJ/Z8pb731bL76FY1fbyguB1xjqzF5C/IHDtvyh m/ZegbrO8ANlIiVgqOtMkFvQGVoDVZyai9/IJ7B2v08mObP4+sx39USrLR2BFORUS46K OBZQT4n8zCJSMSIAmh8vjC/SnP9R8t4Ehngxs+FZkzqBiLY66P6SixIf99fXCuCZnhZA /Z/RuaurLDhFbowfNaCwkhqg56TIvxokq4Dso2WythO7CvZPKnF8RYjfanfDtAv0sqE3 QkDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=JeOTEj0u9zgJJW0hLMI9IraBljRSe4nnDYuQlbMwrLA=; b=f/2kZVjbZ31O0YBStPEi4Ijg0tsdjR4dvUbWBdeMpluelGzB9BXo2vTVbLYrPbZFMm wlGjezKNec7MIh1E3/exGOs+UyRUXuX1IOeN7GZJgk5O2D1TNX4I6JgIiTDiLTbxTQuO MsYeIO8lk6H3F4fY0tbWER4X9yEw2Xpi7QHm2BDHB9zRx5nb+JHPgRZYcAQVumMSXqLm 3I3dbYu9hZQtVr9aKuR4/LNmdEb1Fh1cbFv0aDlBVb/Yq9OBgueE5ekc9A5QrSNpXsOW CBzHANBfMfD+3OLkbOGYfoNuEmXrrEBD86g31m0B3NZfUQql5Mei0uTRiU3OGs32PzGP 2nyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wuxPGZvh; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a2-20020a37b102000000b006bc62fc0712si1566203qkf.262.2022.09.27.14.37.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Sep 2022 14:37:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wuxPGZvh; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odIGx-0005kS-3r for patch@linaro.org; Tue, 27 Sep 2022 17:37:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odIER-0005k6-WB for qemu-devel@nongnu.org; Tue, 27 Sep 2022 17:35:12 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:52047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odIEQ-0006kP-4h for qemu-devel@nongnu.org; Tue, 27 Sep 2022 17:35:11 -0400 Received: by mail-wm1-x32d.google.com with SMTP id o5so7405167wms.1 for ; Tue, 27 Sep 2022 14:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=JeOTEj0u9zgJJW0hLMI9IraBljRSe4nnDYuQlbMwrLA=; b=wuxPGZvh4lPA4GWjR/6bi48WNFXlJ7vJzpHnED+s+mzz67ll18jANuF+moImr1MP54 DzN46+AcRhIJuk7B2H7Y6JRMe8IdEH99nuNiqBXZlByvUfWXaWRV8FIptTDWKxhdNpz1 xqxl9gcEKauBlldZbs2LQaK+0g9KPYPfd7Uh6ggnZa88dEd5MBVz30a/20PJfOBSpHy4 RI2yeHzLM41WAHhIOKVzKYk212YTrJniPVZHoS54PRzqZiSwSFMksgqWPKu7JYj8XcQn P3diEJxMpJMNtKFPrxYcopW1YgL0ARW3Lhh0l+b1xRkQF77JZWf/UAEfjV//7Y/tHgS9 Hcxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=JeOTEj0u9zgJJW0hLMI9IraBljRSe4nnDYuQlbMwrLA=; b=hzre8tJ3MO4cXUwE5+qQLjwj5JGE6mv46aH4fR/AtLfJk6G2TBT6mx8y4QsHeQXCqn eMNsgWUC0xIq54KsjD57xKTWljg7XyQskzT6Mk/WPAdyLkjJe1jhY2SGXF7hbRM86Qmv ue3ZP+3xiL8vPM4bwEyi2IzBWOXiw+qO2u/QiWwGOdWN69+f0tieCIGM3UlAPedH2j5Y wv5l3DEmpnQMmFJ0eBzMcONNaRVscEYvyIBhPm7uDzUBejQ0Nt6nRq5ioxWpRf2CZ49l iBw772vDSfN4jIhbpm2yXFZJ6EnPu+cp1Zj0j+ooZC6knEVIGT6EHvJrS7a8IHvMNfIi xqlA== X-Gm-Message-State: ACrzQf3854XjCcit64SNncGlvMcbZcQ6rhs/N5AQCA+faHDZ6jZII1IC z+9e1PkKiQ5SyOR8yI+N2JeYIw== X-Received: by 2002:a05:600c:3595:b0:3b4:8378:98d2 with SMTP id p21-20020a05600c359500b003b4837898d2mr4421183wmq.64.1664314508323; Tue, 27 Sep 2022 14:35:08 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id m20-20020a05600c4f5400b003b47e75b401sm16370006wmq.37.2022.09.27.14.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 14:35:07 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5AFEE1FFB7; Tue, 27 Sep 2022 22:35:06 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Laurent Vivier , Paolo Bonzini Subject: [RFC PATCH] tests/qtest: bump up QOS_PATH_MAX_ELEMENT_SIZE Date: Tue, 27 Sep 2022 22:35:01 +0100 Message-Id: <20220927213501.4069117-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" It seems the depth of path we need to support can vary depending on the order of the init constructors getting called. It seems --enable-lto shuffles things around just enough to push you over the limit. Signed-off-by: Alex Bennée Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1186 Acked-by: Paolo Bonzini Acked-by: Thomas Huth --- tests/qtest/libqos/qgraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/libqos/qgraph.h b/tests/qtest/libqos/qgraph.h index 6e94824d09..5c0046e989 100644 --- a/tests/qtest/libqos/qgraph.h +++ b/tests/qtest/libqos/qgraph.h @@ -24,7 +24,7 @@ #include "libqos-malloc.h" /* maximum path length */ -#define QOS_PATH_MAX_ELEMENT_SIZE 50 +#define QOS_PATH_MAX_ELEMENT_SIZE 64 typedef struct QOSGraphObject QOSGraphObject; typedef struct QOSGraphNode QOSGraphNode;