Simple enough. RFC: Is there a better name we can give these to help tell them apart during analysis? Signed-off-by: John Snow --- util/oslib-posix.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/oslib-posix.c b/util/oslib-posix.c index dc001da66dd..454579c72df 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -60,6 +60,7 @@ #include "qemu/memalign.h" #include "qemu/mmap-alloc.h" +#include "qemu/mmap-vma.h" #define MAX_MEM_PREALLOC_THREAD_COUNT 32 @@ -742,6 +743,8 @@ void *qemu_alloc_stack(size_t *sz) abort(); } + qemu_name_vma(ptr, *sz, "coroutine-stack"); + /* Stack grows down -- guard page at the bottom. */ if (mprotect(ptr, pagesz, PROT_NONE) != 0) { perror("failed to set up stack guard page"); -- 2.56.0