From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGCdh-0005VK-JG for qemu-devel@nongnu.org; Thu, 14 Mar 2013 14:12:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGCde-0002Ut-1N for qemu-devel@nongnu.org; Thu, 14 Mar 2013 14:12:29 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:32837 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGCdd-0002UH-R1 for qemu-devel@nongnu.org; Thu, 14 Mar 2013 14:12:25 -0400 From: Peter Maydell Date: Thu, 14 Mar 2013 17:57:08 +0000 Message-Id: <1363283830-22717-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] configure: fix coroutine backend selection logic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , patches@linaro.org The main aim of this patchset is patch 2, which changes the coroutine backend selection logic so that it goes 'ucontext -> sigaltstack' rather than 'ucontext -> gthread', since the gthread backend is broken. To do this properly on all platforms we have to refactor the code a bit (which it needed anyway). The first patch here is a generic configure cleanup to how we print error messages, which I wanted for the third patch because otherwise the various error paths would have been rather verbose. Changes v1->v2: * fix the tests makefile too * CONFIG_COROUTINE_BACKEND=foo rather than CONFIG_FOO_COROUTINE=y; this simplifies both the configure code and the makefiles * dropped the 'move upper()' patch as no longer needed (in this series, anyway) Peter Maydell (2): configure: Provide and use convenience error reporting function configure: Don't fall back to gthread coroutine backend Makefile.objs | 11 +-- configure | 257 ++++++++++++++++++++++++++------------------------------ tests/Makefile | 14 +-- 3 files changed, 119 insertions(+), 163 deletions(-) -- 1.7.9.5