From patchwork Tue Oct 4 13:00:55 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: 612223 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp164681pvb; Tue, 4 Oct 2022 06:16:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5zEUOyd//VmPHPw/AWkdpYPgP4HdEJXV7GjAFnmEFXJ9AaNvF89kzKOivTX5GMFZoHwWD6 X-Received: by 2002:a05:620a:988:b0:6cf:33cd:2be2 with SMTP id x8-20020a05620a098800b006cf33cd2be2mr16775777qkx.527.1664889371082; Tue, 04 Oct 2022 06:16:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664889371; cv=none; d=google.com; s=arc-20160816; b=pQz7wwUxjaSYbaH7UT2yPVlV9pIWVeUjDrkptIDfBe3Q4mXiJhyHSyPL5ZinnhwSbP bx4pn50LIceKc2d1nD2IpWjMq1CaE4okRN4Yet+KU8FcUQb5suM9Q8gf6FSmL76HKCcF /waWrrMT4EorvjPfT0B0hUlLUXoR11r7wSQ6xiTG5Xh8pYmo4Q4ORyjps0FsYb8vRMnv EXo5L8QE4SppFsoc+rjhfNM2wXW5MEZ6Fn50CYryWjPTi+Drz0/g0r236010lQnSzFHC avWq5uaWJF8GsutC+TkWlXtS5ew7Z0ztBsZxdbDSKZylSKFwHsUHcHPbBW4WFp+43hjs Fxdg== 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=BaHnxjvMW4fTyPvIodljy6k1DRCBm9AVpyaepMnYPJs=; b=escsNPR63oDWmyUBiNT5w+s0olfnhdpQ0z9vc6dTSgoQywBQEagrInhxOjKWjrsjqh 59jom4TJrq2C6vpSaNw4jCrsPx7EoZ+LXp2xRxMFe4dqjMMGQHMGZBQvPqFeJ3iZSwwa fP2eUiWQ2WaJn+8xfK0o8QKowKQUshigMASvhaMNJLfncYSekO9xF4LdDwxSLLaJwJ81 cfP+NKgtp4JmcME4OUpN15/pT1B/a0DF/0TzcuwnGbGwCAgD8rI4TqQG6rLjKn7miUzX XYyxzURN0bp5e2qEli9TljWD1sQuXV1uo+oZqGZdHFj90/RT8nCM1YP0okGWnFEvUrcq 6aig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XdkOfEtr; 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 s2-20020a0562140ca200b004af9816850csi996837qvs.194.2022.10.04.06.16.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2022 06:16:11 -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=XdkOfEtr; 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]:55230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofhmM-0003TH-KC for patch@linaro.org; Tue, 04 Oct 2022 09:16:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhYa-0008GA-HX for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:01:56 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:39802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofhYW-0007PR-E2 for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:01:56 -0400 Received: by mail-wr1-x430.google.com with SMTP id f11so18561930wrm.6 for ; Tue, 04 Oct 2022 06:01:52 -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=BaHnxjvMW4fTyPvIodljy6k1DRCBm9AVpyaepMnYPJs=; b=XdkOfEtr1cHXCVh0FqZD/w/eD5A3p7Xywrj5y4naHcMng4Q/tfolb9ves4/Eg5zMa5 SmhOQNS/JQwG02HRnhioASzR/Oi/atTzFErLZHw385Gy3i/+TDQno0SEzqccCw6ArZb0 bwvFumkfJuacc3N3CdDSfOj+W/1kNVx0dtkNBgsxpQJJSdd2eEeEVnhm6XcOjIkzxaBj saqMfjk0fg32lznzFBLumbGrkdyztVAK/11hYXFziddq8Vm0qaevJcnBQwwq9qDvrvMi MZ2DQ8iFg5Q1bH+zSRI3WeWpZaO88mGtNFkeOplMkAmu6Itb4BgMPRuu7nVdgKL0nNvz hubg== 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=BaHnxjvMW4fTyPvIodljy6k1DRCBm9AVpyaepMnYPJs=; b=2pC8kMLPmB/r0W/ji2wHK8x926A9mbyr3CaoEGZoLu0OXRt/IdE/so2ofxUIhEAbZo hZkZRzc5qKbjMhSc5CDKeNhdC7v/Ph2/pWG/h3QMCpIX2h6bRIVo8z+JSXSbu8xru4aa wzDIcB6W5ileCtHisNlNKOcel5/CZ9kIushfSwYlhSfu0V1fxLs0KBuzCeiwcvxZZ3Bj 1JxXU2QWZBG19BYAr9ksQSZSwZU6uFVDRMNkSoq99idQuomJlPG79Xph9gWsOztnQQtV 7wDZAObHvQCAdGhfeHp95a7cKOsa/3FDBsCnH+l/U2TVCABvhUcdfH6gJPleIZXddPOH cu4Q== X-Gm-Message-State: ACrzQf1i1thGRN6bnwWoudnqCvgTK30DoTshhiCg0sIa/evRauxIFQV9 MRjKOBrguXDW6zAvoI3/UlTUvA== X-Received: by 2002:a05:6000:156b:b0:22a:a83a:d349 with SMTP id 11-20020a056000156b00b0022aa83ad349mr16481632wrz.277.1664888511012; Tue, 04 Oct 2022 06:01:51 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id q11-20020adf9dcb000000b0022ac672654dsm12818823wre.58.2022.10.04.06.01.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 06:01:46 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9E5E61FFC3; Tue, 4 Oct 2022 14:01:39 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Paolo Bonzini , Laurent Vivier Subject: [PULL 11/54] tests/qtest: bump up QOS_PATH_MAX_ELEMENT_SIZE Date: Tue, 4 Oct 2022 14:00:55 +0100 Message-Id: <20221004130138.2299307-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221004130138.2299307-1-alex.bennee@linaro.org> References: <20221004130138.2299307-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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: <20220929114231.583801-12-alex.bennee@linaro.org> 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;