From nobody Tue Feb 10 19:47:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@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 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1622536867; cv=none; d=zohomail.com; s=zohoarc; b=QSkaA0FKvT6FXMpihWnkFEfILgHw1XKc3zINzE4O1ZGLApbmzYsqfHxP+xY/bv3vAF8Gliav/3Zp+i4bCtzjIdq+JVEArDnfrwrRbdTQRfqK4/6VGMphOWmnaYOrzGGQ4OCzy6EbsfPpv23OHjYiSGua2D+nDg3w3JhRj3NrM0s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622536867; h=Content-Type: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=6aV8CnPnH0mM57uD+F3LEtXUI7GXFqBa5Qah8VhQGTs=; b=N776d5Em0xEmh6J0YL+E81DSCK9kkwDVSpNarpE2sr2Z+waRwzJtJavwPhFs7Z9J5GyNX9i9jpLWwWsIPtTaTwap54Cq1Pxw/1oJZT6h/aogCmQZ2e/tADLwoFGTsoc46chqDkWwQ6CKpAukY9mOkc5mYCDyQMRalMjlWq1GrPc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1622536867247171.33235322914095; Tue, 1 Jun 2021 01:41:07 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-536-SxAUCIrYMu-2DYKI0TboJQ-1; Tue, 01 Jun 2021 04:38:54 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C08861020C37; Tue, 1 Jun 2021 08:38:49 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9E5335C230; Tue, 1 Jun 2021 08:38:49 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3C8D71818486; Tue, 1 Jun 2021 08:38:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1518chx6026265 for ; Tue, 1 Jun 2021 04:38:43 -0400 Received: by smtp.corp.redhat.com (Postfix) id 506C1E2D4; Tue, 1 Jun 2021 08:38:43 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.195.114]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF3A41FBCF for ; Tue, 1 Jun 2021 08:38:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622536866; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6aV8CnPnH0mM57uD+F3LEtXUI7GXFqBa5Qah8VhQGTs=; b=TBlIDFltokCYt6/Oem+vuV0HKe397dqx95/i8/pZdhpPmPgyDbkQop35KnKK0IrUeNvB1A qRBJoglg+YEctS5uT57huu6P4A6CThqjrZtZTuoQKrcqpr6raz5pzrUcVl44ehP9pBUDoi JK6bAoAZNwjgn5qCSerqecoqIaUSFeM= X-MC-Unique: SxAUCIrYMu-2DYKI0TboJQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 25/26] meson: Reorganize summary Date: Tue, 1 Jun 2021 10:37:56 +0200 Message-Id: <20210601083757.10194-26-abologna@redhat.com> In-Reply-To: <20210601083757.10194-1-abologna@redhat.com> References: <20210601083757.10194-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Different types of drivers are more accurately sorted into separate categories, the "Windows" section has been absorbed into a more generic "Target" section which also contains other information about the OS configuration, and some other smaller tweaks have been applied. Signed-off-by: Andrea Bolognani --- meson.build | 90 ++++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 43 deletions(-) diff --git a/meson.build b/meson.build index 1d9c878fd0..a5f6ed6f9f 100644 --- a/meson.build +++ b/meson.build @@ -2208,7 +2208,7 @@ endforeach =20 # print configuration summary =20 -driver_summary =3D { +hypervisordriver_summary =3D { 'QEMU': conf.has('WITH_QEMU'), 'OpenVZ': conf.has('WITH_OPENVZ'), 'VMware': conf.has('WITH_VMWARE'), @@ -2219,13 +2219,8 @@ driver_summary =3D { 'Hyper-V': conf.has('WITH_HYPERV'), 'vz': conf.has('WITH_VZ'), 'Bhyve': conf.has('WITH_BHYVE'), - 'Test': conf.has('WITH_TEST'), - 'Remote': conf.has('WITH_REMOTE'), - 'Network': conf.has('WITH_NETWORK'), - 'Libvirtd': conf.has('WITH_LIBVIRTD'), - 'Interface': conf.has('WITH_INTERFACE'), } -summary(driver_summary, section: 'Drivers', bool_yn: true) +summary(hypervisordriver_summary, section: 'Hypervisor drivers', bool_yn: = true) =20 storagedriver_summary =3D { 'Dir': conf.has('WITH_STORAGE_DIR'), @@ -2243,18 +2238,21 @@ storagedriver_summary =3D { 'ZFS': conf.has('WITH_STORAGE_ZFS'), 'Virtuozzo storage': conf.has('WITH_STORAGE_VSTORAGE'), } -summary(storagedriver_summary, section: 'Storage Drivers', bool_yn: true) +summary(storagedriver_summary, section: 'Storage drivers', bool_yn: true) =20 secdriver_summary =3D { 'SELinux': conf.has('WITH_SECDRIVER_SELINUX'), 'AppArmor': conf.has('WITH_SECDRIVER_APPARMOR'), } -summary(secdriver_summary, section: 'Security Drivers', bool_yn: true) +summary(secdriver_summary, section: 'Security drivers', bool_yn: true) =20 -drivermod_summary =3D { - 'driver_modules': driver_modules_flags.length() > 0, +otherdriver_summary =3D { + 'Test': conf.has('WITH_TEST'), + 'Remote': conf.has('WITH_REMOTE'), + 'Network': conf.has('WITH_NETWORK'), + 'Interface': conf.has('WITH_INTERFACE'), } -summary(drivermod_summary, section: 'Driver Loadable Modules', bool_yn: tr= ue) +summary(otherdriver_summary, section: 'Other drivers', bool_yn: true) =20 libs_summary =3D { 'acl': acl_dep.found(), @@ -2296,54 +2294,60 @@ libs_summary =3D { } summary(libs_summary, section: 'Libraries', bool_yn: true) =20 -win_summary =3D { - 'MinGW': host_machine.system() =3D=3D 'windows', - 'windres': host_machine.system() =3D=3D 'windows', +feature_summary =3D { + 'DTrace': conf.has('WITH_DTRACE_PROBES'), + 'Libvirtd': conf.has('WITH_LIBVIRTD'), + 'driver_modules': driver_modules_flags.length() > 0, + 'firewalld': conf.has('WITH_FIREWALLD'), + 'firewalld-zone': conf.has('WITH_FIREWALLD_ZONE'), + 'nss': conf.has('WITH_NSS'), + 'numad': conf.has('WITH_NUMAD'), + 'pm_utils': conf.has('WITH_PM_UTILS'), + 'virt-host-validate': conf.has('WITH_HOST_VALIDATE'), + 'virt-login-shell': conf.has('WITH_LOGIN_SHELL'), + 'wireshark_dissector': wireshark_dep.found(), } -summary(win_summary, section: 'Windows', bool_yn: true) +summary(feature_summary, section: 'Other features', bool_yn: true) =20 test_summary =3D { + 'Enabled': build_tests, 'Expensive': use_expensive_tests, 'Coverage': coverage_flags.length() > 0, } summary(test_summary, section: 'Test suite', bool_yn: true) =20 -if conf.has('DEFAULT_LOADER_NVRAM') - loader_res =3D '@0@ !!! Using this configure option is strongly discoura= ged !!!'.format(conf.get_unquoted('DEFAULT_LOADER_NVRAM')) -else - loader_res =3D '' -endif -misc_summary =3D { +docs_summary =3D { + 'Enabled': gen_docs, +} +summary(docs_summary, section: 'Documentation', bool_yn: true) + +build_summary =3D { 'Warning Flags': supported_cc_flags, - 'docs': gen_docs, - 'tests': build_tests, - 'DTrace': conf.has('WITH_DTRACE_PROBES'), - 'firewalld': conf.has('WITH_FIREWALLD'), - 'firewalld-zone': conf.has('WITH_FIREWALLD_ZONE'), - 'nss': conf.has('WITH_NSS'), - 'numad': conf.has('WITH_NUMAD'), - 'Init script': init_script, - 'Char device locks': chrdev_lock_files, - 'Loader/NVRAM': loader_res, - 'pm_utils': conf.has('WITH_PM_UTILS'), - 'virt-login-shell': conf.has('WITH_LOGIN_SHELL'), - 'virt-host-validate': conf.has('WITH_HOST_VALIDATE'), - 'TLS priority': conf.get_unquoted('TLS_PRIORITY'), } -summary(misc_summary, section: 'Miscellaneous', bool_yn: true, list_sep: '= ') +summary(build_summary, section: 'Build', bool_yn: true, list_sep: ' ') =20 -devtools_summary =3D { - 'wireshark_dissector': wireshark_dep.found(), +target_summary =3D { + 'OS': host_machine.system(), + 'Init script': init_script, + 'TLS priority': conf.get_unquoted('TLS_PRIORITY'), + 'Char device locks': chrdev_lock_files, } -summary(devtools_summary, section: 'Developer Tools', bool_yn: true) =20 +if conf.has('DEFAULT_LOADER_NVRAM') + loader_nvram =3D conf.get_unquoted('DEFAULT_LOADER_NVRAM') + loader_nvram_warn =3D ' !!! configuring loader/NVRAM is strongly discour= aged !!!' + target_summary +=3D { + 'Loader/NVRAM': '@0@@1@'.format(loader_nvram, loader_nvram_warn), + } +endif if conf.has('WITH_QEMU') qemu_warn =3D '' if qemu_user =3D=3D 'root' qemu_warn =3D ' !!! running QEMU as root is strongly discouraged !!!' endif - priv_summary =3D { - 'QEMU': '@0@:@1@@2@'.format(qemu_user, qemu_group, qemu_warn), + target_summary +=3D { + 'QEMU processes run as': '@0@:@1@@2@'.format(qemu_user, qemu_group, qe= mu_warn), } - summary(priv_summary, section: 'Privileges') endif + +summary(target_summary, section: 'Target', bool_yn: true) --=20 2.31.1