From nobody Tue Feb 10 14:33:39 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1597686281; cv=none; d=zohomail.com; s=zohoarc; b=DCBajuwCgHUmftDw+dw2T3pAMEw+m5bo0sI65jM6BEDXxq2S+kcxS3kCFFcjD6jZ0kASAM7yAwe9KabAzReIPLTdvmtqi1/atZR/wYQQG3saFinTkgXJb4JRHhRh3GWTMFqO9/9/snvvrzIt67Tlhg93zxiplH4msa5ZahZfuSk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597686281; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=kSCt/GneYlTLyTTFTzoZhd7T9PYsCWYFxNxdM95qa08=; b=RR3lv8AXnQnysyYGiyXV6yy8+MINUbmV2vrwbKZHeiv0cI4Mi5DfmjI/KqSA9rJbSnPy80akHs2Qos5cOF9BAah3M9xA6F1Cyi9REuciGAQ8qIyovAoG0hwHA6Aw86XFHG5FgcIctRlLbFFUrkUMGtP0YanLDkWn4dPV48WgA8E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597686281399306.62308676570615; Mon, 17 Aug 2020 10:44:41 -0700 (PDT) Received: from localhost ([::1]:38944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7gRy-0007Ut-JL for importer@patchew.org; Mon, 17 Aug 2020 10:49:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7gGl-0003l8-Kp for qemu-devel@nongnu.org; Mon, 17 Aug 2020 10:37:51 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:44027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7gGi-00063t-Ri for qemu-devel@nongnu.org; Mon, 17 Aug 2020 10:37:51 -0400 Received: by mail-wr1-x441.google.com with SMTP id a15so15232841wrh.10 for ; Mon, 17 Aug 2020 07:37:48 -0700 (PDT) Received: from donizetti.redhat.com ([2001:b07:6468:f312:a0d1:fc42:c610:f977]) by smtp.gmail.com with ESMTPSA id i22sm34966603wrb.45.2020.08.17.07.37.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 07:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kSCt/GneYlTLyTTFTzoZhd7T9PYsCWYFxNxdM95qa08=; b=FLdFuiqChMioVUF6/ZxqxG9xyB5cGvLt99HSqHzUJwktbh4EinlhRG1dwVlEjwaGBE IjRIWu9kyTfOq+7QAekqn0shCw+4daaNw+bgqZ9t2jKcK+K0OAAAFS8FoaP0TKeuJmx8 Izg1GoLWQ6Il4TFOZggEo6Gi+qa3UZSlGJz82m2l1vTcxtFfTNpABda9pgo0aKgJ0Ftw pcj9YV328KwgieMNsyBCSPgkDckFtrmewpzO9+I0KzcGLgx2DOKky3sTvTefX9ZErIIi NIjvHWv2I296IFDhQeYTtN5XyKsNQxhjZjNVDD4H4wxX59/A6HBzqCWrLp0iMvEVqdX3 xn4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kSCt/GneYlTLyTTFTzoZhd7T9PYsCWYFxNxdM95qa08=; b=pTg+1tgZjsjW3U+p6Tqi7mDzPeZDKyprH+w02kvE4QSCRQaTnfdKHAzCAMz8VQKHEm a2GsPHiQJ+xvlwb/kjuGOTt9/PaunGF5ccYJ8VXVfrpDo5uSMWeGTdoBIuKeKvdQRXEm Jr7/dd/XBJVNEh4iIel8mZ9F1D9qW6dgTVS1gu+ISHTArwByZbKA1l9oOie7vb9oh9RQ 7lRkXXqSsr3l1p3b5+1aEsB7Oj3BeYpKuV6V1iL9DaQurrS3JntK7Rfdz7/hJIMlkFxY exSKxrwtPQKl9GO4gU1wyCxM927AyAOuwzlK88hVwJlAis6frSawCgNgUVjOl4MqOdH4 Hw3w== X-Gm-Message-State: AOAM531tI0OeBGDpjJIGoSwA1AKMWSh9O6Yy2TnEb9No4fLD9WOsE9Y2 MSfNKygtV9szyqxmfVaQsBuBXqVM7Og= X-Google-Smtp-Source: ABdhPJybaDuWEadt7nHDOd8PrpeLd57Qe626xPutiTFp9PqRsDHBv8yiUAVrVq6PYSMqkXivwfTdcA== X-Received: by 2002:adf:92a1:: with SMTP id 30mr17127458wrn.56.1597675066633; Mon, 17 Aug 2020 07:37:46 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 019/150] meson: move summary to meson.build Date: Mon, 17 Aug 2020 16:35:12 +0200 Message-Id: <20200817143723.343284-20-pbonzini@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200817143723.343284-1-pbonzini@redhat.com> References: <20200817143723.343284-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- configure | 237 -------------------------------------------------- meson.build | 243 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 243 insertions(+), 237 deletions(-) diff --git a/configure b/configure index 45111a619d..7bcc9704d8 100755 --- a/configure +++ b/configure @@ -527,8 +527,6 @@ secret_keyring=3D"" libdaxctl=3D"" meson=3D"" =20 -supported_cpu=3D"no" -supported_os=3D"no" bogus_os=3D"no" malloc_trim=3D"" =20 @@ -767,35 +765,27 @@ ARCH=3D # Note that this case should only have supported host CPUs, not guests. case "$cpu" in ppc|ppc64|s390x|sparc64|x32|riscv32|riscv64) - supported_cpu=3D"yes" ;; ppc64le) ARCH=3D"ppc64" - supported_cpu=3D"yes" ;; i386|i486|i586|i686|i86pc|BePC) cpu=3D"i386" - supported_cpu=3D"yes" ;; x86_64|amd64) cpu=3D"x86_64" - supported_cpu=3D"yes" ;; armv*b|armv*l|arm) cpu=3D"arm" - supported_cpu=3D"yes" ;; aarch64) cpu=3D"aarch64" - supported_cpu=3D"yes" ;; mips*) cpu=3D"mips" - supported_cpu=3D"yes" ;; sparc|sun4[cdmuv]) cpu=3D"sparc" - supported_cpu=3D"yes" ;; *) # This will result in either an error or falling back to TCI later @@ -823,7 +813,6 @@ MINGW32*) audio_drv_list=3D"" fi supported_os=3D"yes" - pie=3D"no" ;; GNU/kFreeBSD) bsd=3D"yes" @@ -841,7 +830,6 @@ FreeBSD) libs_qga=3D"-lutil $libs_qga" netmap=3D"" # enable netmap autodetect HOST_VARIANT_DIR=3D"freebsd" - supported_os=3D"yes" ;; DragonFly) bsd=3D"yes" @@ -858,7 +846,6 @@ NetBSD) audio_possible_drivers=3D"oss sdl" oss_lib=3D"-lossaudio" HOST_VARIANT_DIR=3D"netbsd" - supported_os=3D"yes" ;; OpenBSD) bsd=3D"yes" @@ -866,7 +853,6 @@ OpenBSD) audio_drv_list=3D"try-sdl" audio_possible_drivers=3D"sdl" HOST_VARIANT_DIR=3D"openbsd" - supported_os=3D"yes" ;; Darwin) bsd=3D"yes" @@ -887,7 +873,6 @@ Darwin) # won't work when we're compiling with gcc as a C compiler. QEMU_CFLAGS=3D"-DOS_OBJECT_USE_OBJC=3D0 $QEMU_CFLAGS" HOST_VARIANT_DIR=3D"darwin" - supported_os=3D"yes" ;; SunOS) solaris=3D"yes" @@ -918,7 +903,6 @@ Linux) linux_user=3D"yes" kvm=3D"yes" QEMU_INCLUDES=3D"-isystem ${source_path}/linux-headers -I$PWD/linux-head= ers $QEMU_INCLUDES" - supported_os=3D"yes" libudev=3D"yes" ;; esac @@ -5272,8 +5256,6 @@ EOF spice=3D"yes" libs_softmmu=3D"$libs_softmmu $spice_libs" QEMU_CFLAGS=3D"$QEMU_CFLAGS $spice_cflags" - spice_protocol_version=3D$($pkg_config --modversion spice-protocol) - spice_server_version=3D$($pkg_config --modversion spice-server) else if test "$spice" =3D "yes" ; then feature_not_found "spice" \ @@ -6890,225 +6872,6 @@ QEMU_CFLAGS=3D"$pixman_cflags $fdt_cflags $QEMU_CFL= AGS" QEMU_LDFLAGS=3D"$fdt_ldflags $QEMU_LDFLAGS" libs_softmmu=3D"$pixman_libs $libs_softmmu" =20 -echo "Install prefix $prefix" -echo "BIOS directory $(eval echo $qemu_datadir)" -echo "firmware path $(eval echo $firmwarepath)" -echo "binary directory $(eval echo $bindir)" -echo "library directory $(eval echo $libdir)" -echo "module directory $(eval echo $qemu_moddir)" -echo "libexec directory $(eval echo $libexecdir)" -echo "include directory $(eval echo $includedir)" -echo "config directory $(eval echo $sysconfdir)" -if test "$mingw32" =3D "no" ; then -echo "local state directory $(eval echo $local_statedir)" -echo "Manual directory $(eval echo $mandir)" -echo "ELF interp prefix $interp_prefix" -else -echo "local state directory queried at runtime" -echo "Windows SDK $win_sdk" -fi -echo "Build directory $(pwd)" -echo "Source path $source_path" -echo "GIT binary $git" -echo "GIT submodules $git_submodules" -echo "C compiler $cc" -echo "Host C compiler $host_cc" -echo "C++ compiler $cxx" -echo "Objective-C compiler $objcc" -echo "ARFLAGS $ARFLAGS" -echo "CFLAGS $CFLAGS" -echo "QEMU_CFLAGS $QEMU_CFLAGS" -echo "QEMU_LDFLAGS $QEMU_LDFLAGS" -echo "make $make" -echo "install $install" -echo "python $python ($python_version)" -if test "$docs" !=3D "no"; then - echo "sphinx-build $sphinx_build" -fi -echo "genisoimage $genisoimage" -echo "slirp support $slirp $(echo_version $slirp $slirp_version)" -if test "$slirp" !=3D "no" ; then - echo "smbd $smbd" -fi -echo "module support $modules" -echo "alt path mod load $module_upgrades" -echo "host CPU $cpu" -echo "host big endian $bigendian" -echo "target list $target_list" -echo "gprof enabled $gprof" -echo "sparse enabled $sparse" -echo "strip binaries $strip_opt" -echo "profiler $profiler" -echo "static build $static" -echo "safe stack $safe_stack" -if test "$darwin" =3D "yes" ; then - echo "Cocoa support $cocoa" -fi -echo "SDL support $sdl $(echo_version $sdl $sdlversion)" -echo "SDL image support $sdl_image" -echo "GTK support $gtk $(echo_version $gtk $gtk_version)" -echo "GTK GL support $gtk_gl" -echo "VTE support $vte $(echo_version $vte $vteversion)" -echo "TLS priority $tls_priority" -echo "GNUTLS support $gnutls" -echo "libgcrypt $gcrypt" -if test "$gcrypt" =3D "yes" -then - echo " hmac $gcrypt_hmac" - echo " XTS $gcrypt_xts" -fi -echo "nettle $nettle $(echo_version $nettle $nettle_version)" -if test "$nettle" =3D "yes" -then - echo " XTS $nettle_xts" -fi -echo "libtasn1 $tasn1" -echo "PAM $auth_pam" -echo "iconv support $iconv" -echo "curses support $curses" -echo "virgl support $virglrenderer $(echo_version $virglrenderer $virg= l_version)" -echo "curl support $curl" -echo "mingw32 support $mingw32" -echo "Audio drivers $audio_drv_list" -echo "Block whitelist (rw) $block_drv_rw_whitelist" -echo "Block whitelist (ro) $block_drv_ro_whitelist" -echo "VirtFS support $virtfs" -echo "Multipath support $mpath" -echo "VNC support $vnc" -if test "$vnc" =3D "yes" ; then - echo "VNC SASL support $vnc_sasl" - echo "VNC JPEG support $vnc_jpeg" - echo "VNC PNG support $vnc_png" -fi -echo "xen support $xen" -if test "$xen" =3D "yes" ; then - echo "xen ctrl version $xen_ctrl_version" -fi -echo "brlapi support $brlapi" -echo "Documentation $docs" -echo "PIE $pie" -echo "vde support $vde" -echo "netmap support $netmap" -echo "Linux AIO support $linux_aio" -echo "Linux io_uring support $linux_io_uring" -echo "ATTR/XATTR support $attr" -echo "Install blobs $blobs" -echo "KVM support $kvm" -echo "HAX support $hax" -echo "HVF support $hvf" -echo "WHPX support $whpx" -echo "TCG support $tcg" -if test "$tcg" =3D "yes" ; then - echo "TCG debug enabled $debug_tcg" - echo "TCG interpreter $tcg_interpreter" -fi -echo "malloc trim support $malloc_trim" -echo "RDMA support $rdma" -echo "PVRDMA support $pvrdma" -echo "fdt support $fdt" -echo "membarrier $membarrier" -echo "preadv support $preadv" -echo "fdatasync $fdatasync" -echo "madvise $madvise" -echo "posix_madvise $posix_madvise" -echo "posix_memalign $posix_memalign" -echo "libcap-ng support $cap_ng" -echo "vhost-net support $vhost_net" -echo "vhost-crypto support $vhost_crypto" -echo "vhost-scsi support $vhost_scsi" -echo "vhost-vsock support $vhost_vsock" -echo "vhost-user support $vhost_user" -echo "vhost-user-fs support $vhost_user_fs" -echo "vhost-vdpa support $vhost_vdpa" -echo "Trace backends $trace_backends" -if have_backend "simple"; then -echo "Trace output file $trace_file-" -fi -echo "spice support $spice $(echo_version $spice $spice_protocol_versi= on/$spice_server_version)" -echo "rbd support $rbd" -echo "xfsctl support $xfs" -echo "smartcard support $smartcard" -echo "libusb $libusb" -echo "usb net redir $usb_redir" -echo "OpenGL support $opengl" -echo "OpenGL dmabufs $opengl_dmabuf" -echo "libiscsi support $libiscsi" -echo "libnfs support $libnfs" -echo "build guest agent $guest_agent" -echo "QGA VSS support $guest_agent_with_vss" -echo "QGA w32 disk info $guest_agent_ntddscsi" -echo "QGA MSI support $guest_agent_msi" -echo "seccomp support $seccomp" -echo "coroutine backend $coroutine" -echo "coroutine pool $coroutine_pool" -echo "debug stack usage $debug_stack_usage" -echo "mutex debugging $debug_mutex" -echo "crypto afalg $crypto_afalg" -echo "GlusterFS support $glusterfs" -echo "gcov $gcov_tool" -echo "gcov enabled $gcov" -echo "TPM support $tpm" -echo "libssh support $libssh" -echo "QOM debugging $qom_cast_debug" -echo "Live block migration $live_block_migration" -echo "lzo support $lzo" -echo "snappy support $snappy" -echo "bzip2 support $bzip2" -echo "lzfse support $lzfse" -echo "zstd support $zstd" -echo "NUMA host support $numa" -echo "libxml2 $libxml2" -echo "tcmalloc support $tcmalloc" -echo "jemalloc support $jemalloc" -echo "avx2 optimization $avx2_opt" -echo "avx512f optimization $avx512f_opt" -echo "replication support $replication" -echo "bochs support $bochs" -echo "cloop support $cloop" -echo "dmg support $dmg" -echo "qcow v1 support $qcow1" -echo "vdi support $vdi" -echo "vvfat support $vvfat" -echo "qed support $qed" -echo "parallels support $parallels" -echo "sheepdog support $sheepdog" -echo "capstone $capstone" -echo "libpmem support $libpmem" -echo "libdaxctl support $libdaxctl" -echo "libudev $libudev" -echo "default devices $default_devices" -echo "plugin support $plugins" -echo "fuzzing support $fuzzing" -echo "gdb $gdb_bin" -echo "rng-none $rng_none" -echo "Linux keyring $secret_keyring" - -if test "$supported_cpu" =3D "no"; then - echo - echo "WARNING: SUPPORT FOR THIS HOST CPU WILL GO AWAY IN FUTURE RELEAS= ES!" - echo - echo "CPU host architecture $cpu support is not currently maintained." - echo "The QEMU project intends to remove support for this host CPU in" - echo "a future release if nobody volunteers to maintain it and to" - echo "provide a build host for our continuous integration setup." - echo "configure has succeeded and you can continue to build, but" - echo "if you care about QEMU on this platform you should contact" - echo "us upstream at qemu-devel@nongnu.org." -fi - -if test "$supported_os" =3D "no"; then - echo - echo "WARNING: SUPPORT FOR THIS HOST OS WILL GO AWAY IN FUTURE RELEASE= S!" - echo - echo "Host OS $targetos support is not currently maintained." - echo "The QEMU project intends to remove support for this host OS in" - echo "a future release if nobody volunteers to maintain it and to" - echo "provide a build host for our continuous integration setup." - echo "configure has succeeded and you can continue to build, but" - echo "if you care about QEMU on this platform you should contact" - echo "us upstream at qemu-devel@nongnu.org." -fi - config_host_mak=3D"config-host.mak" =20 echo "# Automatically generated by configure - do not modify" >config-all-= disas.mak diff --git a/meson.build b/meson.build index 598b32d18c..d3b1f4b503 100644 --- a/meson.build +++ b/meson.build @@ -15,6 +15,8 @@ add_project_link_arguments(config_host['QEMU_LDFLAGS'].sp= lit(), add_project_arguments(config_host['QEMU_INCLUDES'].split(), language: ['c', 'cpp', 'objc']) =20 +python =3D import('python').find_installation() + if host_machine.system() =3D=3D 'darwin' add_languages('objc', required: false, native: false) endif @@ -22,3 +24,244 @@ endif configure_file(input: files('scripts/ninjatool.py'), output: 'ninjatool', configuration: config_host) + +supported_oses =3D ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', '= sunos', 'linux'] +supported_cpus =3D ['ppc', 'ppc64', 's390x', 'sparc64', 'riscv32', 'riscv6= 4', 'x86', 'x86_64', + 'arm', 'aarch64', 'mips', 'mips64', 'sparc', 'sparc64'] + +cpu =3D host_machine.cpu_family() +targetos =3D host_machine.system() + +summary_info =3D {} +summary_info +=3D {'Install prefix': config_host['prefix']} +summary_info +=3D {'BIOS directory': config_host['qemu_datadir']} +summary_info +=3D {'firmware path': config_host['qemu_firmwarepath']} +summary_info +=3D {'binary directory': config_host['bindir']} +summary_info +=3D {'library directory': config_host['libdir']} +summary_info +=3D {'module directory': config_host['qemu_moddir']} +summary_info +=3D {'libexec directory': config_host['libexecdir']} +summary_info +=3D {'include directory': config_host['includedir']} +summary_info +=3D {'config directory': config_host['sysconfdir']} +if targetos !=3D 'windows' + summary_info +=3D {'local state directory': config_host['qemu_localstate= dir']} + summary_info +=3D {'Manual directory': config_host['mandir']} +else + summary_info +=3D {'local state directory': 'queried at runtime'} +endif +summary_info +=3D {'Build directory': meson.current_build_dir()} +summary_info +=3D {'Source path': meson.current_source_dir()} +summary_info +=3D {'GIT binary': config_host['GIT']} +summary_info +=3D {'GIT submodules': config_host['GIT_SUBMODULES']} +summary_info +=3D {'C compiler': meson.get_compiler('c').cmd_array(= )[0]} +summary_info +=3D {'Host C compiler': meson.get_compiler('c', native: tr= ue).cmd_array()[0]} +summary_info +=3D {'C++ compiler': meson.get_compiler('cpp').cmd_arra= y()[0]} +if host_machine.system() =3D=3D 'darwin' + summary_info +=3D {'Objective-C compiler': meson.get_compiler('objc').cm= d_array()[0]} +endif +summary_info +=3D {'ARFLAGS': config_host['ARFLAGS']} +summary_info +=3D {'CFLAGS': config_host['CFLAGS']} +summary_info +=3D {'QEMU_CFLAGS': config_host['QEMU_CFLAGS']} +summary_info +=3D {'QEMU_LDFLAGS': config_host['QEMU_LDFLAGS']} +summary_info +=3D {'make': config_host['MAKE']} +summary_info +=3D {'install': config_host['INSTALL']} +summary_info +=3D {'python': '@0@ (version: @1@)'.format(python= .full_path(), python.language_version())} +summary_info +=3D {'sphinx-build': config_host['SPHINX_BUILD']} +summary_info +=3D {'genisoimage': config_host['GENISOIMAGE']} +# TODO: add back version +summary_info +=3D {'slirp support': config_host.has_key('CONFIG_SLIRP'= )} +if config_host.has_key('CONFIG_SLIRP') + summary_info +=3D {'smbd': config_host['CONFIG_SMBD_COMMAND']} +endif +summary_info +=3D {'module support': config_host.has_key('CONFIG_MODULE= S')} +if config_host.has_key('CONFIG_MODULES') + summary_info +=3D {'alternative module path': config_host.has_key('CONFI= G_MODULE_UPGRADES')} +endif +summary_info +=3D {'host CPU': cpu} +summary_info +=3D {'host endianness': build_machine.endian()} +summary_info +=3D {'target list': config_host['TARGET_DIRS']} +summary_info +=3D {'gprof enabled': config_host.has_key('CONFIG_GPROF'= )} +summary_info +=3D {'sparse enabled': meson.get_compiler('c').cmd_array(= ).contains('cgcc')} +summary_info +=3D {'strip binaries': get_option('strip')} +summary_info +=3D {'profiler': config_host.has_key('CONFIG_PROFIL= ER')} +summary_info +=3D {'static build': config_host.has_key('CONFIG_TOOLS'= )} +if targetos =3D=3D 'darwin' + summary_info +=3D {'Cocoa support': config_host.has_key('CONFIG_COCOA')} +endif +# TODO: add back version +summary_info +=3D {'SDL support': config_host.has_key('CONFIG_SDL')} +summary_info +=3D {'SDL image support': config_host.has_key('CONFIG_SDL_IM= AGE')} +# TODO: add back version +summary_info +=3D {'GTK support': config_host.has_key('CONFIG_GTK')} +summary_info +=3D {'GTK GL support': config_host.has_key('CONFIG_GTK_GL= ')} +# TODO: add back version +summary_info +=3D {'VTE support': config_host.has_key('CONFIG_VTE')} +summary_info +=3D {'TLS priority': config_host['CONFIG_TLS_PRIORITY']} +summary_info +=3D {'GNUTLS support': config_host.has_key('CONFIG_GNUTLS= ')} +# TODO: add back version +summary_info +=3D {'libgcrypt': config_host.has_key('CONFIG_GCRYPT= ')} +if config_host.has_key('CONFIG_GCRYPT') + summary_info +=3D {' hmac': config_host.has_key('CONFIG_GCR= YPT_HMAC')} + summary_info +=3D {' XTS': not config_host.has_key('CONFIG= _QEMU_PRIVATE_XTS')} +endif +# TODO: add back version +summary_info +=3D {'nettle': config_host.has_key('CONFIG_NETTLE= ')} +if config_host.has_key('CONFIG_NETTLE') + summary_info +=3D {' XTS': not config_host.has_key('CONFIG= _QEMU_PRIVATE_XTS')} +endif +summary_info +=3D {'libtasn1': config_host.has_key('CONFIG_TASN1'= )} +summary_info +=3D {'PAM': config_host.has_key('CONFIG_AUTH_P= AM')} +summary_info +=3D {'iconv support': config_host.has_key('CONFIG_ICONV'= )} +summary_info +=3D {'curses support': config_host.has_key('CONFIG_CURSES= ')} +# TODO: add back version +summary_info +=3D {'virgl support': config_host.has_key('CONFIG_VIRGL'= )} +summary_info +=3D {'curl support': config_host.has_key('CONFIG_CURL')} +summary_info +=3D {'mingw32 support': targetos =3D=3D 'windows'} +summary_info +=3D {'Audio drivers': config_host['CONFIG_AUDIO_DRIVERS'= ]} +summary_info +=3D {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_WHI= TELIST']} +summary_info +=3D {'Block whitelist (ro)': config_host['CONFIG_BDRV_RO_WHI= TELIST']} +summary_info +=3D {'VirtFS support': config_host.has_key('CONFIG_VIRTFS= ')} +summary_info +=3D {'Multipath support': config_host.has_key('CONFIG_MPATH'= )} +summary_info +=3D {'VNC support': config_host.has_key('CONFIG_VNC')} +if config_host.has_key('CONFIG_VNC') + summary_info +=3D {'VNC SASL support': config_host.has_key('CONFIG_VNC_= SASL')} + summary_info +=3D {'VNC JPEG support': config_host.has_key('CONFIG_VNC_= JPEG')} + summary_info +=3D {'VNC PNG support': config_host.has_key('CONFIG_VNC_= PNG')} +endif +summary_info +=3D {'xen support': config_host.has_key('CONFIG_XEN_BA= CKEND')} +if config_host.has_key('CONFIG_XEN_BACKEND') + summary_info +=3D {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INT= ERFACE_VERSION']} +endif +summary_info +=3D {'brlapi support': config_host.has_key('CONFIG_BRLAPI= ')} +summary_info +=3D {'Documentation': config_host.has_key('BUILD_DOCS')} +summary_info +=3D {'PIE': get_option('b_pie')} +summary_info +=3D {'vde support': config_host.has_key('CONFIG_VDE')} +summary_info +=3D {'netmap support': config_host.has_key('CONFIG_NETMAP= ')} +summary_info +=3D {'Linux AIO support': config_host.has_key('CONFIG_LINUX_= AIO')} +summary_info +=3D {'Linux io_uring support': config_host.has_key('CONFIG_L= INUX_IO_URING')} +summary_info +=3D {'ATTR/XATTR support': config_host.has_key('CONFIG_ATTR'= )} +summary_info +=3D {'Install blobs': config_host.has_key('INSTALL_BLOBS= ')} +# TODO: add back KVM/HAX/HVF/WHPX/TCG +#summary_info +=3D {'KVM support': have_kvm'} +#summary_info +=3D {'HAX support': have_hax'} +#summary_info +=3D {'HVF support': have_hvf'} +#summary_info +=3D {'WHPX support': have_whpx'} +#summary_info +=3D {'TCG support': have_tcg'} +#if get_option('tcg') +# summary_info +=3D {'TCG debug enabled': config_host.has_key('CONFIG_DEB= UG_TCG')} +# summary_info +=3D {'TCG interpreter': config_host.has_key('CONFIG_TCG= _INTERPRETER')} +#endif +summary_info +=3D {'malloc trim support': config_host.has_key('CONFIG_MALL= OC_TRIM')} +summary_info +=3D {'RDMA support': config_host.has_key('CONFIG_RDMA')} +summary_info +=3D {'PVRDMA support': config_host.has_key('CONFIG_PVRDMA= ')} +summary_info +=3D {'fdt support': config_host.has_key('CONFIG_FDT')} +summary_info +=3D {'membarrier': config_host.has_key('CONFIG_MEMBAR= RIER')} +summary_info +=3D {'preadv support': config_host.has_key('CONFIG_PREADV= ')} +summary_info +=3D {'fdatasync': config_host.has_key('CONFIG_FDATAS= YNC')} +summary_info +=3D {'madvise': config_host.has_key('CONFIG_MADVIS= E')} +summary_info +=3D {'posix_madvise': config_host.has_key('CONFIG_POSIX_= MADVISE')} +summary_info +=3D {'posix_memalign': config_host.has_key('CONFIG_POSIX_= MEMALIGN')} +summary_info +=3D {'libcap-ng support': config_host.has_key('CONFIG_LIBCAP= _NG')} +summary_info +=3D {'vhost-net support': config_host.has_key('CONFIG_VHOST_= NET')} +summary_info +=3D {'vhost-crypto support': config_host.has_key('CONFIG_VHO= ST_CRYPTO')} +summary_info +=3D {'vhost-scsi support': config_host.has_key('CONFIG_VHOST= _SCSI')} +summary_info +=3D {'vhost-vsock support': config_host.has_key('CONFIG_VHOS= T_VSOCK')} +summary_info +=3D {'vhost-user support': config_host.has_key('CONFIG_VHOST= _KERNEL')} +summary_info +=3D {'vhost-user-fs support': config_host.has_key('CONFIG_VH= OST_USER_FS')} +summary_info +=3D {'vhost-vdpa support': config_host.has_key('CONFIG_VHOST= _VDPA')} +summary_info +=3D {'Trace backends': config_host['TRACE_BACKENDS']} +if config_host['TRACE_BACKENDS'].split().contains('simple') + summary_info +=3D {'Trace output file': config_host['CONFIG_TRACE_FILE']= + '-'} +endif +# TODO: add back protocol and server version +summary_info +=3D {'spice support': config_host.has_key('CONFIG_SPICE'= )} +summary_info +=3D {'rbd support': config_host.has_key('CONFIG_RBD')} +summary_info +=3D {'xfsctl support': config_host.has_key('CONFIG_XFS')} +summary_info +=3D {'smartcard support': config_host.has_key('CONFIG_SMARTC= ARD')} +summary_info +=3D {'libusb': config_host.has_key('CONFIG_USB_LI= BUSB')} +summary_info +=3D {'usb net redir': config_host.has_key('CONFIG_USB_RE= DIR')} +summary_info +=3D {'OpenGL support': config_host.has_key('CONFIG_OPENGL= ')} +summary_info +=3D {'OpenGL dmabufs': config_host.has_key('CONFIG_OPENGL= _DMABUF')} +summary_info +=3D {'libiscsi support': config_host.has_key('CONFIG_LIBISC= SI')} +summary_info +=3D {'libnfs support': config_host.has_key('CONFIG_LIBNFS= ')} +summary_info +=3D {'build guest agent': config_host.has_key('CONFIG_GUEST_= AGENT')} +if targetos =3D=3D 'windows' + if 'WIN_SDK' in config_host + summary_info +=3D {'Windows SDK': config_host['WIN_SDK']} + endif + summary_info +=3D {'QGA VSS support': config_host.has_key('CONFIG_QGA_= VSS')} + summary_info +=3D {'QGA w32 disk info': config_host.has_key('CONFIG_QGA_= NTDDSCSI')} + summary_info +=3D {'QGA MSI support': config_host.has_key('CONFIG_QGA_= MSI_ENABLED')} +endif +summary_info +=3D {'seccomp support': config_host.has_key('CONFIG_SECCOM= P')} +summary_info +=3D {'coroutine backend': config_host['CONFIG_COROUTINE_BACK= END']} +summary_info +=3D {'coroutine pool': config_host['CONFIG_COROUTINE_POOL= '] =3D=3D '1'} +summary_info +=3D {'debug stack usage': config_host.has_key('CONFIG_DEBUG_= STACK_USAGE')} +summary_info +=3D {'mutex debugging': config_host.has_key('CONFIG_DEBUG_= MUTEX')} +summary_info +=3D {'crypto afalg': config_host.has_key('CONFIG_AF_ALG= ')} +summary_info +=3D {'GlusterFS support': config_host.has_key('CONFIG_GLUSTE= RFS')} +summary_info +=3D {'gcov': config_host.has_key('CONFIG_GCOV')} +summary_info +=3D {'TPM support': config_host.has_key('CONFIG_TPM')} +summary_info +=3D {'libssh support': config_host.has_key('CONFIG_LIBSSH= ')} +summary_info +=3D {'QOM debugging': config_host.has_key('CONFIG_QOM_CA= ST_DEBUG')} +summary_info +=3D {'Live block migration': config_host.has_key('CONFIG_LIV= E_BLOCK_MIGRATION')} +summary_info +=3D {'lzo support': config_host.has_key('CONFIG_LZO')} +summary_info +=3D {'snappy support': config_host.has_key('CONFIG_SNAPPY= ')} +summary_info +=3D {'bzip2 support': config_host.has_key('CONFIG_BZIP2'= )} +summary_info +=3D {'lzfse support': config_host.has_key('CONFIG_LZFSE'= )} +summary_info +=3D {'zstd support': config_host.has_key('CONFIG_ZSTD')} +summary_info +=3D {'NUMA host support': config_host.has_key('CONFIG_NUMA')} +summary_info +=3D {'libxml2': config_host.has_key('CONFIG_LIBXML= 2')} +summary_info +=3D {'tcmalloc support': config_host.has_key('CONFIG_TCMALL= OC')} +summary_info +=3D {'jemalloc support': config_host.has_key('CONFIG_JEMALL= OC')} +summary_info +=3D {'avx2 optimization': config_host.has_key('CONFIG_AVX2_O= PT')} +summary_info +=3D {'avx512f optimization': config_host.has_key('CONFIG_AVX= 512F_OPT')} +summary_info +=3D {'replication support': config_host.has_key('CONFIG_REPL= ICATION')} +summary_info +=3D {'bochs support': config_host.has_key('CONFIG_BOCHS'= )} +summary_info +=3D {'cloop support': config_host.has_key('CONFIG_CLOOP'= )} +summary_info +=3D {'dmg support': config_host.has_key('CONFIG_DMG')} +summary_info +=3D {'qcow v1 support': config_host.has_key('CONFIG_QCOW1'= )} +summary_info +=3D {'vdi support': config_host.has_key('CONFIG_VDI')} +summary_info +=3D {'vvfat support': config_host.has_key('CONFIG_VVFAT'= )} +summary_info +=3D {'qed support': config_host.has_key('CONFIG_QED')} +summary_info +=3D {'parallels support': config_host.has_key('CONFIG_PARALL= ELS')} +summary_info +=3D {'sheepdog support': config_host.has_key('CONFIG_SHEEPD= OG')} +summary_info +=3D {'capstone': config_host.has_key('CONFIG_CAPSTO= NE')} +summary_info +=3D {'libpmem support': config_host.has_key('CONFIG_LIBPME= M')} +summary_info +=3D {'libdaxctl support': config_host.has_key('CONFIG_LIBDAX= CTL')} +summary_info +=3D {'libudev': config_host.has_key('CONFIG_LIBUDE= V')} +summary_info +=3D {'default devices': config_host['CONFIG_MINIKCONF_MODE= '] =3D=3D '--defconfig'} +summary_info +=3D {'plugin support': config_host.has_key('CONFIG_PLUGIN= ')} +summary_info +=3D {'fuzzing support': config_host.has_key('CONFIG_FUZZ')} +if config_host.has_key('HAVE_GDB_BIN') + summary_info +=3D {'gdb': config_host['HAVE_GDB_BIN']} +endif +summary_info +=3D {'thread sanitizer': config_host.has_key('CONFIG_TSAN')} +summary_info +=3D {'rng-none': config_host.has_key('CONFIG_RNG_NO= NE')} +summary_info +=3D {'Linux keyring': config_host.has_key('CONFIG_SECRET= _KEYRING')} +summary(summary_info, bool_yn: true) + +if not supported_cpus.contains(cpu) + message() + warning('SUPPORT FOR THIS HOST CPU WILL GO AWAY IN FUTURE RELEASES!') + message() + message('CPU host architecture ' + cpu + ' support is not currently main= tained.') + message('The QEMU project intends to remove support for this host CPU in= ') + message('a future release if nobody volunteers to maintain it and to') + message('provide a build host for our continuous integration setup.') + message('configure has succeeded and you can continue to build, but') + message('if you care about QEMU on this platform you should contact') + message('us upstream at qemu-devel@nongnu.org.') +endif + +if not supported_oses.contains(targetos) + message() + warning('WARNING: SUPPORT FOR THIS HOST OS WILL GO AWAY IN FUTURE RELEAS= ES!') + message() + message('Host OS ' + targetos + 'support is not currently maintained.') + message('The QEMU project intends to remove support for this host OS in') + message('a future release if nobody volunteers to maintain it and to') + message('provide a build host for our continuous integration setup.') + message('configure has succeeded and you can continue to build, but') + message('if you care about QEMU on this platform you should contact') + message('us upstream at qemu-devel@nongnu.org.') +endif --=20 2.26.2