]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
tests/qtest: bump up QOS_PATH_MAX_ELEMENT_SIZE
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 29 Sep 2022 11:41:51 +0000 (12:41 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 6 Oct 2022 10:53:40 +0000 (11:53 +0100)
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>

tests/qtest/libqos/qgraph.h

index 6e94824d090a5cac79d7dcd13974b85f612712dc..5c0046e989a1d38f480a0aec83cf185d4540dd15 100644 (file)
@@ -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;