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: 1683596 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wuxPGZvh; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4McXym5P1Mz1yqJ for ; Wed, 28 Sep 2022 07:37:19 +1000 (AEST) Received: from localhost ([::1]:35394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odIGR-0005kS-2S for incoming@patchwork.ozlabs.org; Tue, 27 Sep 2022 17:37:15 -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-Google-Smtp-Source: AMsMyM7Sv5hZeQUcPrK8q61wSr2FVzY6cctDrjwBggdUODGssJXw+LkRivvjP6l6thCERMmbv4cTVA== 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+incoming=patchwork.ozlabs.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;