]> git.proxmox.com Git - qemu.git/commit
configure: Don't fall back to gthread coroutine backend
authorBrad Smith <brad@comstyle.com>
Sun, 14 Apr 2013 06:24:06 +0000 (02:24 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 May 2013 19:35:48 +0000 (14:35 -0500)
commit0c70b5ad59133a5dbddd455f6d395bf3e8140ff7
tree71dc394ee2f7008491d3ef083c067e87b346bfaa
parentb90fd157f7e1e210c845f18e4c1c09343a5cce9d
configure: Don't fall back to gthread coroutine backend

This is a back port of 7c2acc7062fe863cb71ff5849bb121deafe8df4b to the
1.4 stable branch without needing the new error_exit() function.

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>
Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Makefile.objs
configure
tests/Makefile