aboutsummaryrefslogtreecommitdiff
path: root/util/coroutine-sigaltstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/coroutine-sigaltstack.c')
-rw-r--r--util/coroutine-sigaltstack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/coroutine-sigaltstack.c b/util/coroutine-sigaltstack.c
index f6fc49a0e5..aade82afb8 100644
--- a/util/coroutine-sigaltstack.c
+++ b/util/coroutine-sigaltstack.c
@@ -30,6 +30,10 @@
#include "qemu-common.h"
#include "qemu/coroutine_int.h"
+#ifdef CONFIG_SAFESTACK
+#error "SafeStack is not compatible with code run in alternate signal stacks"
+#endif
+
typedef struct {
Coroutine base;
void *stack;