summaryrefslogtreecommitdiffstats
path: root/tests/qtest/libqos
diff options
context:
space:
mode:
authorAlex Bennée2022-09-29 13:41:51 +0200
committerAlex Bennée2022-10-06 12:53:40 +0200
commit100c459f1948b9367cea44c76d5c633b0d23f23b (patch)
tree43d6717181a71705ebec6a7e0e82d3511e090dc8 /tests/qtest/libqos
parenttests/docker: move alpine from edge to tagged release (diff)
downloadqemu-100c459f1948b9367cea44c76d5c633b0d23f23b.tar.gz
qemu-100c459f1948b9367cea44c76d5c633b0d23f23b.tar.xz
qemu-100c459f1948b9367cea44c76d5c633b0d23f23b.zip
tests/qtest: bump up QOS_PATH_MAX_ELEMENT_SIZE
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 <alex.bennee@linaro.org> Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1186 Acked-by: Thomas Huth <thuth@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220929114231.583801-12-alex.bennee@linaro.org>
Diffstat (limited to 'tests/qtest/libqos')
-rw-r--r--tests/qtest/libqos/qgraph.h2
1 files changed, 1 insertions, 1 deletions
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;