]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: Don't fall back to gthread coroutine backend
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Apr 2013 11:11:27 +0000 (12:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Apr 2013 15:38:44 +0000 (10:38 -0500)
commit7c2acc7062fe863cb71ff5849bb121deafe8df4b
tree9f02cbdcac4c105dd98b4e92164e65b05a990239
parent76ad07a4938aac69cb12bfdf52c3bf612c85e4df
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>
Makefile.objs
configure
tests/Makefile