From nobody Tue Nov 18 16:51:35 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1611223025; cv=none; d=zohomail.com; s=zohoarc; b=A+CQUUEk6xp56AcfCRiQeVtE6/eJ/S+4gFNJDvPwT82hvaf6yWNshYuF06uhiK01e+/e2UBpH2B3ILRGW6Qek3FWWVCP4PNPo6Giejjh189+ocpacu3ddf017bovz8642nsOcrApoFA9g7AC3tECIxh2+cmCF7p/s75djzgv9Qg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611223025; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=2LW2Kx/9H06kf4OWFEdjuF2232jMpxnHueaxVF+4wcs=; b=l9oF/bNEtviaNU4RWWRJOFAassADYd5q/CqTtyohAmnxXUj0wtkLDJ1qris/tI6ehLoldmjUvO6xfhaAj9njEW5auiSK7qkls/i6xvIMpQPP4dbixCkZH1iNQNB7EvFEQoD9uM+cu3pzM09tqEyozKwit9uCYPMZVpnkUj0r9EY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611223025555848.7432854653231; Thu, 21 Jan 2021 01:57:05 -0800 (PST) Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-453-g4apqk0_O0Sb7DYHgW9bNg-1; Thu, 21 Jan 2021 04:57:02 -0500 Received: by mail-ej1-f70.google.com with SMTP id p1so546228ejo.4 for ; Thu, 21 Jan 2021 01:57:02 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id lg21sm1604419ejb.91.2021.01.21.01.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 01:57:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611223024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2LW2Kx/9H06kf4OWFEdjuF2232jMpxnHueaxVF+4wcs=; b=PeOMYlAE24lLP0jRlcO/9buBqRub5FkDAxvtP2mO3DfAI8tPa9EKzpbJ5iwwmaYMBlDpS8 2uBj34brFz4rGtEQKRWCM6bqvcJNqr3x9fuyaSLUim11tKHPbvE6wkLQhUHxA8hGuew2gm 9ZGLPe1Aw1VgBEtt0unZWpi7baQTGGs= X-MC-Unique: g4apqk0_O0Sb7DYHgW9bNg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2LW2Kx/9H06kf4OWFEdjuF2232jMpxnHueaxVF+4wcs=; b=VCyOkUT/xY+xLouPMINOXxWxI3+Qhi0M8xEkox2gZR6aMFC3x2rOAbGRzx+uODGtD2 Wcg78l6u3ffsYvzQZ4OQVx5MU9FK+yT7EzCxb1m9cnR7hhhagpClxA2NN4gD+3hAOQTo OOzSouoxXayIlt4lekCqb8uH9h+DW4YOrsO/B2q0KLZ5Sjc8kzca4u2kWYh9vB/qQq22 pn9WG5VHahtlHwOyLZJe4T2Mm85Aa45N7TSbQ6ysXFzjZw7NaXLJFhMGZ5mYZnjzqZnr RMBfjfGJeqQf6ycxbe6yb76w+n1cnUHvvn5z/FRSOVv7zBqmOTv5TGULTP1D57M/twnH Y7GA== X-Gm-Message-State: AOAM533yaKVX0dNAeG3cv/9bU6eswQ1MFcvNI8JApdl9bxmCf3S4TTqo SjcMXm+i+88EC8U+sSh3oWO5m6vMMCx4qe+hY9Oeu4tjKzm5BEAy++hWTaxWe4ahgBSiIEVVKef n3ucuJ4SGSS+JZw== X-Received: by 2002:a50:b5c5:: with SMTP id a63mr10478105ede.227.1611223021152; Thu, 21 Jan 2021 01:57:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBRzttT7kC1yZ5t6KrcQ8gGr1cEItrMgHHFCKbZ2l/JY0cUsyBmAU/jNJNR11twZlXirghyg== X-Received: by 2002:a50:b5c5:: with SMTP id a63mr10478087ede.227.1611223020972; Thu, 21 Jan 2021 01:57:00 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Cameron Esfahani , Roman Bolshakov , Sunil Muthuswamy , Stefano Stabellini , Anthony Perard , Paul Durrant Subject: [PATCH v2 5/8] meson: Display accelerators and selected targets altogether Date: Thu, 21 Jan 2021 10:56:13 +0100 Message-Id: <20210121095616.1471869-6-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210121095616.1471869-1-philmd@redhat.com> References: <20210121095616.1471869-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Display accelerators and selected targets altogether, avoid to display unuseful information when not relevant. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Cc: Richard Henderson Cc: Paolo Bonzini Cc: Cameron Esfahani Cc: Roman Bolshakov Cc: Sunil Muthuswamy Cc: Stefano Stabellini Cc: Anthony Perard Cc: Paul Durrant --- meson.build | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/meson.build b/meson.build index 194b8523f77..a0945749f94 100644 --- a/meson.build +++ b/meson.build @@ -2323,6 +2323,8 @@ # Overall features summary_info =3D {} summary_info +=3D {'Documentation': build_docs} +summary_info +=3D {'system-mode emulation': have_system} +summary_info +=3D {'user-mode emulation': have_user} summary_info +=3D {'Install blobs': get_option('install_blobs')} # TODO: add back version summary_info +=3D {'slirp support': slirp_opt =3D=3D 'disabled' ? fals= e : slirp_opt} @@ -2402,8 +2404,30 @@ summary_info +=3D {'mingw32 support': targetos =3D=3D 'windows'} summary(summary_info, bool_yn: true, section: 'Compilation') =20 +# Targets and accelerators summary_info =3D {} +if have_system + summary_info +=3D {'KVM support': config_all.has_key('CONFIG_KVM')} + summary_info +=3D {'HAX support': config_all.has_key('CONFIG_HAX')} + summary_info +=3D {'HVF support': config_all.has_key('CONFIG_HVF')} + summary_info +=3D {'WHPX support': config_all.has_key('CONFIG_WHPX'= )} + summary_info +=3D {'Xen support': config_host.has_key('CONFIG_XEN_= BACKEND')} + if config_host.has_key('CONFIG_XEN_BACKEND') + summary_info +=3D {'xen ctrl version': config_host['CONFIG_XEN_CTRL_I= NTERFACE_VERSION']} + endif +endif +summary_info +=3D {'TCG support': config_all.has_key('CONFIG_TCG')} +if config_all.has_key('CONFIG_TCG') + summary_info +=3D {'TCG debug enabled': config_host.has_key('CONFIG_DEBU= G_TCG')} + summary_info +=3D {'TCG interpreter': config_host.has_key('CONFIG_TCG_= INTERPRETER')} +endif summary_info +=3D {'target list': ' '.join(target_dirs)} +if have_system + summary_info +=3D {'default devices': get_option('default_devices')} +endif +summary(summary_info, bool_yn: true, section: 'Targets and accelerators') + +summary_info =3D {} summary_info +=3D {'sparse enabled': sparse.found()} if targetos =3D=3D 'darwin' summary_info +=3D {'Cocoa support': cocoa.found()} @@ -2447,25 +2471,12 @@ summary_info +=3D {'VNC JPEG support': jpeg.found()} summary_info +=3D {'VNC PNG support': png.found()} 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': brlapi.found()} 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': libattr.found()} -summary_info +=3D {'KVM support': config_all.has_key('CONFIG_KVM')} -summary_info +=3D {'HAX support': config_all.has_key('CONFIG_HAX')} -summary_info +=3D {'HVF support': config_all.has_key('CONFIG_HVF')} -summary_info +=3D {'WHPX support': config_all.has_key('CONFIG_WHPX')} -summary_info +=3D {'TCG support': config_all.has_key('CONFIG_TCG')} -if config_all.has_key('CONFIG_TCG') - summary_info +=3D {'TCG debug enabled': config_host.has_key('CONFIG_DEBU= G_TCG')} - summary_info +=3D {'TCG interpreter': config_host.has_key('CONFIG_TCG_= INTERPRETER')} -endif 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': fdt_opt =3D=3D 'disabled' ? false = : fdt_opt} @@ -2527,7 +2538,6 @@ 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': libudev.found()} -summary_info +=3D {'default devices': get_option('default_devices')} 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_info +=3D {'FUSE exports': fuse.found()} --=20 2.26.2