From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZZ6o-0002M4-9o for qemu-devel@nongnu.org; Mon, 24 Jul 2017 04:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZZ6k-0008I6-E0 for qemu-devel@nongnu.org; Mon, 24 Jul 2017 04:52:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55698) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZZ6k-0008Hs-8h for qemu-devel@nongnu.org; Mon, 24 Jul 2017 04:52:54 -0400 From: Thomas Huth Date: Mon, 24 Jul 2017 10:52:45 +0200 Message-Id: <1500886370-14572-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] target/s390x: Fix broken build with --disable-tcg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Richard Henderson Cc: Alexander Graf , Cornelia Huck , Christian Borntraeger Our configure script was recently equipped with a new --disable-tcg parameter, but this does unfortunately not work on s390x hosts yet. Fix the build by moving some code around and by adding some few #ifdefs in the right places. v3: - Fixed the problem when building the s390x-linux-user target - Added a g_assert_not_reached() to tcg_s390_program_interrupt() according to Richard's suggestion v2: - Reworked the changes to program_interrupt() according to the suggestions by Richard Thomas Huth (5): target/s390x: Move s390_cpu_dump_state() to helper.c target/s390x: Move diag helpers to a separate file target/s390x: Rework program_interrupt() and related functions target/s390x: Move exception-related functions to a new excp_helper.c file target/s390x: Add remaining switches to compile with --disable-tcg target/s390x/Makefile.objs | 8 +- target/s390x/cpu.c | 4 + target/s390x/cpu.h | 17 +- target/s390x/diag.c | 179 +++++++++++++++ target/s390x/excp_helper.c | 515 +++++++++++++++++++++++++++++++++++++++++++ target/s390x/helper.c | 528 +++++---------------------------------------- target/s390x/interrupt.c | 39 ++++ target/s390x/kvm.c | 16 +- target/s390x/misc_helper.c | 193 ----------------- target/s390x/translate.c | 60 ------ 10 files changed, 819 insertions(+), 740 deletions(-) create mode 100644 target/s390x/diag.c create mode 100644 target/s390x/excp_helper.c -- 1.8.3.1