From: Greg Kurz <groug@kaod.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, patches@linaro.org
Subject: Re: [Qemu-devel] [PATCH] configure: Drop AIX host support
Date: Tue, 5 Sep 2017 10:01:27 +0200 [thread overview]
Message-ID: <20170905100127.4892e02f@bahia> (raw)
In-Reply-To: <1504545540-8002-1-git-send-email-peter.maydell@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 3000 bytes --]
On Mon, 4 Sep 2017 18:19:00 +0100
Peter Maydell <peter.maydell@linaro.org> wrote:
> 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.
>
Yeah this is used by the old big-endian ABI.
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
Reviewed-by: Greg Kurz <groug@kaod.org>
> 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="no"
> softmmu="yes"
> linux_user="no"
> bsd_user="no"
> -aix="no"
> blobs="yes"
> pkgversion=""
> pie=""
> @@ -554,8 +553,6 @@ elif check_define __NetBSD__; then
> targetos='NetBSD'
> elif check_define __APPLE__; then
> targetos='Darwin'
> -elif check_define _AIX; then
> - targetos='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="$solarisnetlibs $LIBS"
> libs_qga="$solarisnetlibs $libs_qga"
> ;;
> -AIX)
> - aix="yes"
> - make="${MAKE-gmake}"
> -;;
> Haiku)
> haiku="yes"
> QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS $QEMU_CFLAGS"
> @@ -4214,7 +4207,7 @@ elif compile_prog "" "$pthread_lib -lrt" ; then
> fi
>
> if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \
> - "$aix" != "yes" -a "$haiku" != "yes" ; then
> + "$haiku" != "yes" ; then
> libs_softmmu="-lutil $libs_softmmu"
> fi
>
> @@ -5523,10 +5516,6 @@ if test "$darwin" = "yes" ; then
> echo "CONFIG_DARWIN=y" >> $config_host_mak
> fi
>
> -if test "$aix" = "yes" ; then
> - echo "CONFIG_AIX=y" >> $config_host_mak
> -fi
> -
> if test "$solaris" = "yes" ; then
> echo "CONFIG_SOLARIS=y" >> $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 = 0;
> * Operating system specific detection mechanisms.
> */
>
> -#if defined(_AIX)
> -# include <sys/systemcfg.h>
> -
> -static void sys_cache_info(int *isize, int *dsize)
> -{
> - *isize = _system_configuration.icache_line;
> - *dsize = _system_configuration.dcache_line;
> -}
> -
> -#elif defined(_WIN32)
> +#if defined(_WIN32)
>
> static void sys_cache_info(int *isize, int *dsize)
> {
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2017-09-05 8:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-04 17:19 [Qemu-devel] [PATCH] configure: Drop AIX host support Peter Maydell
2017-09-04 17:59 ` Philippe Mathieu-Daudé
2017-09-04 18:09 ` Thomas Huth
2017-09-04 18:20 ` Peter Maydell
2017-09-05 7:16 ` Markus Armbruster
2017-09-05 7:36 ` Thomas Huth
2017-09-05 15:28 ` Peter Maydell
2017-09-05 8:04 ` Daniel P. Berrange
2017-09-05 8:15 ` Thomas Huth
2017-09-04 18:57 ` Laurent Vivier
2017-09-04 20:50 ` Kamil Rytarowski
2017-09-05 8:01 ` Greg Kurz [this message]
2017-09-05 9:26 ` Stefan Hajnoczi
2017-09-08 9:21 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170905100127.4892e02f@bahia \
--to=groug@kaod.org \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).