mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
configure: Don't fall back to gthread coroutine backend
The gthread coroutine backend is broken and does not produce a working QEMU; it is only useful for some very limited debugging situations. Clean up the backend selection logic in configure so that it now runs "if on windows use windows; else prefer ucontext; else sigaltstack". To do this we refactor the configure code to separate out "test whether we have a working ucontext", "pick a default if user didn't specify" and "validate that user didn't specify something invalid", rather than having all three of these run together. We also simplify the Makefile logic so it just links in the backend the configure script selects. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1365419487-19867-3-git-send-email-peter.maydell@linaro.org Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
76ad07a493
commit
7c2acc7062
3 changed files with 48 additions and 46 deletions
|
@ -24,19 +24,7 @@ gcov-files-test-string-input-visitor-y = qapi/string-input-visitor.c
|
|||
check-unit-y += tests/test-string-output-visitor$(EXESUF)
|
||||
gcov-files-test-string-output-visitor-y = qapi/string-output-visitor.c
|
||||
check-unit-y += tests/test-coroutine$(EXESUF)
|
||||
ifeq ($(CONFIG_WIN32),y)
|
||||
gcov-files-test-coroutine-y = coroutine-win32.c
|
||||
else
|
||||
ifeq ($(CONFIG_UCONTEXT_COROUTINE),y)
|
||||
gcov-files-test-coroutine-y = coroutine-ucontext.c
|
||||
else
|
||||
ifeq ($(CONFIG_SIGALTSTACK_COROUTINE),y)
|
||||
gcov-files-test-coroutine-y = coroutine-sigaltstack.c
|
||||
else
|
||||
gcov-files-test-coroutine-y = coroutine-gthread.c
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
gcov-files-test-coroutine-y = coroutine-$(CONFIG_COROUTINE_BACKEND).c
|
||||
check-unit-y += tests/test-visitor-serialization$(EXESUF)
|
||||
check-unit-y += tests/test-iov$(EXESUF)
|
||||
gcov-files-test-iov-y = util/iov.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue