From patchwork Thu Sep 29 11:41:51 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: 610579 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp867320pvb; Thu, 29 Sep 2022 05:50:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65SdqK6OMe2sFzsZ/K4233hCkKK9nKMnd0vTyoqC2xE0pxpiqk+2ym3Hbmf57Sd4UmLG7r X-Received: by 2002:a05:6214:daf:b0:49f:5ce8:e628 with SMTP id h15-20020a0562140daf00b0049f5ce8e628mr2250029qvh.115.1664455837147; Thu, 29 Sep 2022 05:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664455837; cv=none; d=google.com; s=arc-20160816; b=wE3NMXm5cXKfVGfj3kFB+QU8oe3LijR7Dy4d09xOLtEV77P7NY1UoEAAe/Ivry/q6k HlmI5qj1+6Hrjr8w7JAAc2plmTjub43nDr4BBs8WwZ9NTZ9+t7sNR9z2NeGfy5zMaI/7 t1qGeWJQ5KtcpEN2ewakgkkYJ8gnUxFS5pJDpTDE/vdseQ/wWS0nUbTeX5huEwPnjxPD eAGmVPh+oZs+QT4KwIkdiV4YSgA/NDa2/o04lOAZ2hmd/R7zwwp8PjAN6Pd+/mq6dBrm rqeqcBhUOfFCZTrZ6F2CTOKawvq8VjhVTeA0fLpN/WBna8FslOCy5BPeZ8+zfCDqE/Yu cBTg== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=b19pLmx/0RxOSHcyQbQM8vk8qEN24/JWEcEYJzVYwNg=; b=pOe/n+VBlqA8xUYY7zjG0TU0pExtVcFr3IJcAWFzdZKgxt0f25LTJzoJ5A+ge0fQy0 bvgrG0Fe29SJeSVvP1hS105ZulA16yOlSerZeQLUXSUHzgYw5NQvyGrNis+fiP7lINJu 5BWmcSXO8mXHnKGYkrLwtF8l1bUST0J90gM69B/M9nDBybQxEpke7I+re1e+p2/EQpwT XuoZRMy5mrQLkwi0v8/CZIH9pvGC3r0NLhy+xaEfk8AZj3uKjG7/EqlGGZgupgyAzx5o GNWYP4jFr7IoF+fE3wIFaEWDD5Q0lJME8bezz1k57nXTT7RvpzEjlkOAY13iCIpZ0EDl JOyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D3iBeKmT; 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 cm12-20020a05622a250c00b0035b9a35a97csi1284980qtb.456.2022.09.29.05.50.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Sep 2022 05:50:37 -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=D3iBeKmT; 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]:36834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odszs-0004KK-KV for patch@linaro.org; Thu, 29 Sep 2022 08:50:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odrwB-0004Ue-3Z for qemu-devel@nongnu.org; Thu, 29 Sep 2022 07:42:43 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:44601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odrw9-0001EZ-B7 for qemu-devel@nongnu.org; Thu, 29 Sep 2022 07:42:42 -0400 Received: by mail-wr1-x42b.google.com with SMTP id c11so1731940wrp.11 for ; Thu, 29 Sep 2022 04:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=b19pLmx/0RxOSHcyQbQM8vk8qEN24/JWEcEYJzVYwNg=; b=D3iBeKmTtnFBEixw6SYuxZwDafICEsockz8DiNxOkJHfyZFLJzkIeq6q+sJK0TX1BO wcov+jU5qz+06ydkL1icYhMDL36t9BbrbhMkSDBocis8leFoxpOwX3NuqpimkCJeJiMm USWZoQ5i+uzKN3bdMfXRdxaWNRDeHQ9pVepidP0nCUM5mIAXgpiZbYY+IOWpBZmPHgbs on3cuexlWPqaIwDkcRIUn2piGTh/yWNU3xq980NCtGA6KOTyRiMC6bgHvUc9wWDnlcPS AnuA48hrafVG6DinPBUX1FOv6zLqeHwbAuiTvDDQ1nw1TyZEhnX9/rsxJ605UFFRxqy+ Oe+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=b19pLmx/0RxOSHcyQbQM8vk8qEN24/JWEcEYJzVYwNg=; b=abgchFbPlK1BN51CCnkOATtAGxLP004GkV/e5XNJvRicCnJJb8CCMXLBJk2QuFywcG IxuB+/BYW7u7n+J6mMnzle7lLX7zsePB859eonEEjrcsX+aL64vbM9OXMptfZrRuHwwe Zn/ra0l76xSxd+dId0k+XgEO6riHKl+RP8Xd+ifN3eYLQN+VCImGWfPpLY3+xWXsCeCl 6jb1ArPtF2r9/6khmiVw63WeraHP+op91O5C6Az3R8urFcf612gppwna8KH4fNcP7lW/ rt2cchHiWV4aVS2b+uO5N77ki9L56jKAYSEAKXaxLebBcU2jZnNT1AMO3kkcrqlr9yjt Q88g== X-Gm-Message-State: ACrzQf11YnAFLThcbi4bmMbPx2hByO5W6kzlZubwnw9Se66aBBrl7Ykc wa3Y7DLWAYGm9palK+Fi+dkLUA== X-Received: by 2002:a5d:58fc:0:b0:22c:cefc:be99 with SMTP id f28-20020a5d58fc000000b0022ccefcbe99mr1980087wrd.457.1664451759968; Thu, 29 Sep 2022 04:42:39 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id z4-20020adfe544000000b0022cdbc76b1bsm460160wrm.82.2022.09.29.04.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 04:42:35 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 94A0A1FFC3; Thu, 29 Sep 2022 12:42:32 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, minyihh@uci.edu, ma.mandourr@gmail.com, Luke.Craig@ll.mit.edu, cota@braap.org, aaron@os.amperecomputing.com, kuhn.chenqun@huawei.com, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Laurent Vivier Subject: [PATCH v1 11/51] tests/qtest: bump up QOS_PATH_MAX_ELEMENT_SIZE Date: Thu, 29 Sep 2022 12:41:51 +0100 Message-Id: <20220929114231.583801-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220929114231.583801-1-alex.bennee@linaro.org> References: <20220929114231.583801-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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 stack 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: Thomas Huth Acked-by: Paolo Bonzini Message-Id: <20220927213501.4069117-1-alex.bennee@linaro.org> --- 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;