From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP9zG-0001GL-O5 for qemu-devel@nongnu.org; Mon, 08 Apr 2013 07:11:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP9z7-00083s-D9 for qemu-devel@nongnu.org; Mon, 08 Apr 2013 07:11:46 -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]:33646 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP9z7-00081g-3N for qemu-devel@nongnu.org; Mon, 08 Apr 2013 07:11:37 -0400 From: Peter Maydell Date: Mon, 8 Apr 2013 12:11:25 +0100 Message-Id: <1365419487-19867-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v3 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: Stefan Hajnoczi , Paolo Bonzini , Anthony Liguori , 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 v2->v3: * canonicalize user-facing 'windows' backend name to 'win32' so we pick up the right filename for windows builds 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 | 260 ++++++++++++++++++++++++++------------------------------ tests/Makefile | 14 +-- 3 files changed, 122 insertions(+), 163 deletions(-) -- 1.7.9.5