From nobody Tue Nov 18 16:50:56 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=1611223030; cv=none; d=zohomail.com; s=zohoarc; b=UX/jp7OIO/1Wo0r3UfgMu8YVDUtHLWPVeJxMjoght6hgF0HUU7w8VjJHJG8pCjFr/RQMCICwOslX9aoNR8pts9YFozshLzOK1uM4aMxayc20y6zf2b9791X8B7L/ml5Rhc9ZqbwnEa/cLQRhnZaTuv++XWiaBJqHz+o60IZDtKY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611223030; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=xOiKAVPJaGqfgYBnZppGE6/hxz+oN+0H/H9woJ7QvuA=; b=JQJ9/KRfQGquJHaiZ1qYWrGupXK9wUmlSBTuDvjAR2o1Y2O0NrQJ8JD569MT/zqxfyW3X/I5qTS8VRno2cF1JPdeQ85v28f56M4LNokRB35pBJ6O0MVLkymVMcgCeDWqcULAblK8h4i86n7NNnPU7laEqXTf450Ii7SLe1hPbpY= 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 16112230306011021.2016979489755; Thu, 21 Jan 2021 01:57:10 -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-477-PxPvFG0TPjueQJhC4xOaZA-1; Thu, 21 Jan 2021 04:57:07 -0500 Received: by mail-ej1-f70.google.com with SMTP id by20so548547ejc.1 for ; Thu, 21 Jan 2021 01:57:07 -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 r18sm2551211edx.41.2021.01.21.01.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 01:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611223029; 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=xOiKAVPJaGqfgYBnZppGE6/hxz+oN+0H/H9woJ7QvuA=; b=XoGS4Vj3HQfe5NrjCrOesI3AGJ6cVnfUiIf/JQG8oFGBUZ2X++T9MlgzUvLtMRmmdBa7qR SdlRDDzTPWypT4C8cax521eIU7cnzUfi5EjzGeiJjbdMBaYTyX/VCDzXgV4zVoPkLcWDfI WJQSBDvwPQjNJ3NRzOgnTo098Jmb6G8= X-MC-Unique: PxPvFG0TPjueQJhC4xOaZA-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=xOiKAVPJaGqfgYBnZppGE6/hxz+oN+0H/H9woJ7QvuA=; b=fVSs1uACn4CqkFlHhu68BNLwbvT64oNxdgc79epZYRfY042S0sW09HpjxrXgrAA5wv +ZELbY41TRVUmgB76A9keXcs4WxS3riLJQde/zF7Dpbsj7M8Ki5UVSm8p0NBVlwSok9w 0QdsYrNxoRAPyJo6uO2lA+xCvlDWSv55GKK8+tSmLIcD+yyHvy17J/C/kRl3z1956C3s 74dVwLCZK0t8Uebb16ZB0mn0WBTSwCgIJRjt3xFLXyIE6B7VVqvllFkdmffEi+p7oie4 OpvYXZlUiYGxZUWvlJOY0YXCvHKOzbQ+kd7RUaCV7V1UrwRGcDRMKoOlIMchv1Jis8IB KOiw== X-Gm-Message-State: AOAM531qpxDUrlh/+J/TuxAfQbQTwRAMiWOw51WUEwwkYDIb7r1Jva27 CiVqIcK8IeRQvE+JZM9RitNW9uezpoVvZ4nfyC9c0RPx6CPohS1R8ZzF3ah3w9dik0VQ6nVvfQH pt9J0LIAR2lE4fg== X-Received: by 2002:a05:6402:4242:: with SMTP id g2mr10641283edb.103.1611223026478; Thu, 21 Jan 2021 01:57:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/4cdX5p6YhDC5NKcg738yMfFrtubErtywTuwzry63QqAxSB5jQ2WqOpS/iLkKmrm3Dbh25w== X-Received: by 2002:a05:6402:4242:: with SMTP id g2mr10641268edb.103.1611223026306; Thu, 21 Jan 2021 01:57:06 -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?= , qemu-block@nongnu.org Subject: [RFC PATCH v2 6/8] meson: Display block layer information altogether Date: Thu, 21 Jan 2021 10:56:14 +0100 Message-Id: <20210121095616.1471869-7-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 block layer information altogether, when it is relevant. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Cc: qemu-block@nongnu.org Should coroutine be displayed generically (here, in Misc?) or restricted to have_block? There is probably more features I missed... --- meson.build | 45 ++++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/meson.build b/meson.build index a0945749f94..e372b69f163 100644 --- a/meson.build +++ b/meson.build @@ -2325,6 +2325,7 @@ 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 {'block layer': have_block} 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} @@ -2427,6 +2428,31 @@ endif summary(summary_info, bool_yn: true, section: 'Targets and accelerators') =20 +# Block layer +summary_info =3D {} +summary_info +=3D {'coroutine backend': config_host['CONFIG_COROUTINE_BACK= END']} +summary_info +=3D {'coroutine pool': config_host['CONFIG_COROUTINE_POOL= '] =3D=3D '1'} +if have_block + summary_info +=3D {'Block whitelist (rw)': config_host['CONFIG_BDRV_RW_W= HITELIST']} + summary_info +=3D {'Block whitelist (ro)': config_host['CONFIG_BDRV_RO_W= HITELIST']} + summary_info +=3D {'VirtFS support': have_virtfs} + summary_info +=3D {'build virtiofs daemon': have_virtiofsd} + summary_info +=3D {'Live block migration': config_host.has_key('CONFIG_L= IVE_BLOCK_MIGRATION')} + summary_info +=3D {'replication support': config_host.has_key('CONFIG_RE= PLICATION')} + summary_info +=3D {'bochs support': config_host.has_key('CONFIG_BOCH= S')} + summary_info +=3D {'cloop support': config_host.has_key('CONFIG_CLOO= P')} + summary_info +=3D {'dmg support': config_host.has_key('CONFIG_DMG'= )} + summary_info +=3D {'qcow v1 support': config_host.has_key('CONFIG_QCOW= 1')} + summary_info +=3D {'vdi support': config_host.has_key('CONFIG_VDI'= )} + summary_info +=3D {'vvfat support': config_host.has_key('CONFIG_VVFA= T')} + summary_info +=3D {'qed support': config_host.has_key('CONFIG_QED'= )} + summary_info +=3D {'parallels support': config_host.has_key('CONFIG_PARA= LLELS')} + summary_info +=3D {'sheepdog support': config_host.has_key('CONFIG_SHEE= PDOG')} + summary_info +=3D {'FUSE exports': fuse.found()} + summary_info +=3D {'FUSE lseek': fuse_lseek.found()} +endif +summary(summary_info, bool_yn: true, section: 'Block layer support') + summary_info =3D {} summary_info +=3D {'sparse enabled': sparse.found()} if targetos =3D=3D 'darwin' @@ -2460,10 +2486,6 @@ # TODO: add back version summary_info +=3D {'virgl support': config_host.has_key('CONFIG_VIRGL'= )} summary_info +=3D {'curl support': curl.found()} -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': have_virtfs} -summary_info +=3D {'build virtiofs daemon': have_virtiofsd} summary_info +=3D {'Multipath support': mpathpersist.found()} summary_info +=3D {'VNC support': vnc.found()} if vnc.found() @@ -2509,14 +2531,11 @@ summary_info +=3D {'QGA MSI support': config_host.has_key('CONFIG_QGA_= MSI')} endif summary_info +=3D {'seccomp support': seccomp.found()} -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 {'crypto afalg': config_host.has_key('CONFIG_AF_ALG= ')} summary_info +=3D {'GlusterFS support': glusterfs.found()} 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': lzo.found()} summary_info +=3D {'snappy support': snappy.found()} summary_info +=3D {'bzip2 support': libbzip2.found()} @@ -2524,24 +2543,12 @@ summary_info +=3D {'zstd support': zstd.found()} 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 {'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': capstone_opt =3D=3D 'disabled' ? f= alse : capstone_opt} 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 {'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()} -summary_info +=3D {'FUSE lseek': fuse_lseek.found()} summary(summary_info, bool_yn: true, section: 'Misc') =20 if not supported_cpus.contains(cpu) --=20 2.26.2