From nobody Sun May 5 09:46:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1504545599124173.32872208521576; Mon, 4 Sep 2017 10:19:59 -0700 (PDT) Received: from localhost ([::1]:54987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dov2U-0002Wj-7n for importer@patchew.org; Mon, 04 Sep 2017 13:19:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dov1P-000259-Bn for qemu-devel@nongnu.org; Mon, 04 Sep 2017 13:18:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dov1K-0007cI-7B for qemu-devel@nongnu.org; Mon, 04 Sep 2017 13:18:51 -0400 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:37148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dov1J-0007bF-WF for qemu-devel@nongnu.org; Mon, 04 Sep 2017 13:18:46 -0400 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1dov1G-0005wS-8V; Mon, 04 Sep 2017 18:18:42 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 4 Sep 2017 18:19:00 +0100 Message-Id: <1504545540-8002-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:8b0:1d0::2 Subject: [Qemu-devel] [PATCH] configure: Drop AIX host support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: patches@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Nobody has mentioned AIX host support on the mailing list for years, and we have no test systems for it so it is most likely broken. We've advertised in configure for two releases now that we plan to drop support for this host OS, and have had no complaints. Drop the AIX host support code. We can also drop the now-unused AIX version of sys_cache_info(). Note that the _CALL_AIX define used in the PPC tcg backend is also used for Linux PPC64, and so that code should not be removed. Signed-off-by: Peter Maydell Reviewed-by: Greg Kurz Reviewed-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Stefan Hajnoczi Reviewed-by: Thomas Huth --- configure | 13 +------------ util/cacheinfo.c | 11 +---------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/configure b/configure index fb7e34a..931b3ba 100755 --- a/configure +++ b/configure @@ -350,7 +350,6 @@ cocoa=3D"no" softmmu=3D"yes" linux_user=3D"no" bsd_user=3D"no" -aix=3D"no" blobs=3D"yes" pkgversion=3D"" pie=3D"" @@ -554,8 +553,6 @@ elif check_define __NetBSD__; then targetos=3D'NetBSD' elif check_define __APPLE__; then targetos=3D'Darwin' -elif check_define _AIX; then - targetos=3D'AIX' else # This is a fatal error, but don't report it yet, because we # might be going to just print the --help text, or it might @@ -767,10 +764,6 @@ SunOS) LIBS=3D"$solarisnetlibs $LIBS" libs_qga=3D"$solarisnetlibs $libs_qga" ;; -AIX) - aix=3D"yes" - make=3D"${MAKE-gmake}" -;; Haiku) haiku=3D"yes" QEMU_CFLAGS=3D"-DB_USE_POSITIVE_POSIX_ERRORS $QEMU_CFLAGS" @@ -4214,7 +4207,7 @@ elif compile_prog "" "$pthread_lib -lrt" ; then fi =20 if test "$darwin" !=3D "yes" -a "$mingw32" !=3D "yes" -a "$solaris" !=3D y= es -a \ - "$aix" !=3D "yes" -a "$haiku" !=3D "yes" ; then + "$haiku" !=3D "yes" ; then libs_softmmu=3D"-lutil $libs_softmmu" fi =20 @@ -5523,10 +5516,6 @@ if test "$darwin" =3D "yes" ; then echo "CONFIG_DARWIN=3Dy" >> $config_host_mak fi =20 -if test "$aix" =3D "yes" ; then - echo "CONFIG_AIX=3Dy" >> $config_host_mak -fi - if test "$solaris" =3D "yes" ; then echo "CONFIG_SOLARIS=3Dy" >> $config_host_mak fi diff --git a/util/cacheinfo.c b/util/cacheinfo.c index 593940f..db5172d 100644 --- a/util/cacheinfo.c +++ b/util/cacheinfo.c @@ -15,16 +15,7 @@ int qemu_dcache_linesize =3D 0; * Operating system specific detection mechanisms. */ =20 -#if defined(_AIX) -# include - -static void sys_cache_info(int *isize, int *dsize) -{ - *isize =3D _system_configuration.icache_line; - *dsize =3D _system_configuration.dcache_line; -} - -#elif defined(_WIN32) +#if defined(_WIN32) =20 static void sys_cache_info(int *isize, int *dsize) { --=20 2.7.4