From nobody Tue Nov 18 15:23:55 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1611082242; cv=none; d=zohomail.com; s=zohoarc; b=Y8WBvINFkwyH35C6Kwv91uEkMhiD6E9zbsnGVmTkUGtWjH516nbRtlw7WUGfMCjJEdsdSYj3ecraBaDoOrsu5Hwx1IX287t0F/2dboiDrDFGgf5qzfNu3m+VHQaLCEhovfB/9ikKL0IWvC3Ej/GT1RBhZd21zE3yZ8bLOISXrmM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611082242; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/k5bjmk2LRLx9bl4raECw64bR1tmiiOlmpz+7iyHS6Q=; b=UQ7tx9kvJEzL1WhcfZ5mjNYVf8qOsS7Za91O39qtKsDrj7PKKd0txYCP57S1gNxWxjoeRIr1u2qO38lwXJkLiTdBjG9izZOQeWZaheQxWyQfAk524tDhr3KTniizEjetINYq1FTVrDGDNR1u/G12sGRPTEpPVpMxD25l6Ia6PgM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1611082242938660.9308398836737; Tue, 19 Jan 2021 10:50:42 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-404-tEegpuJFM4yGHcMFMw68mQ-1; Tue, 19 Jan 2021 13:50:40 -0500 Received: by mail-ed1-f72.google.com with SMTP id x13so9877968edi.7 for ; Tue, 19 Jan 2021 10:50:40 -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 e19sm4995705eds.79.2021.01.19.10.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 10:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611082241; 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=/k5bjmk2LRLx9bl4raECw64bR1tmiiOlmpz+7iyHS6Q=; b=FzRA+fKxPTrAfhwKc2ciNJiBWF5h3KHd6ZKU4XiDGzubeZCp535Fh4VNWks4yxQOo9cYZh t+FNSpw4VC33gUcv93R/weD24VKSze2P26JAbto3GNvf4N/Jx0YpOccbA7t9ij/btlIoph IQPlRaFrocAkCMjzLC9Jqox3vmrkch8= X-MC-Unique: tEegpuJFM4yGHcMFMw68mQ-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=/k5bjmk2LRLx9bl4raECw64bR1tmiiOlmpz+7iyHS6Q=; b=Jua3f1HOgh6IpiFO9WBjuLuZVqFYZiZ2Qya+Dpw+EIzt/4CmlkFFU1PCb/YuAxFxhg f2QqWbMMADigbIsrPH12gdkiaDevRUFx/t1A0fjQ+gm46h35PCw9FxOO8NQWJzYoTWaE DhAkmsM8U63VLmG3G5HhXsCY92/Z19vclgm1P5Tnh69bGATcCoqdH5uq75M8KrvBIjw7 KR6vyyxebvnM3aTPGCj+o1GiYlJItTrPZz377pdeBgAO7Nixu6VhprmcckecfRGdiU1P r8hbQv1F1SzmjmOs4hsTJ4k4Uo9q7EbuEn2CqJoozORtE3E3ynU4ACAqsku/lEt6fqEF eadQ== X-Gm-Message-State: AOAM531zvPm3nL0gpKB8sObgJKsPQbi5VHIlp/tVzbIa/MXp1pHURRNY BaCNtMu0GcNLbqwYlx46azqwbaNrPF55zoySyn7vSU7WMZnTLZjjd4cfcS0CZlA8CHemd8Q4Qa1 /1t1ltPA0taV1kg== X-Received: by 2002:a17:907:7356:: with SMTP id dq22mr3909417ejc.318.1611082238631; Tue, 19 Jan 2021 10:50:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJwR5zBQpn0TaTrJoscSk40oUMFE82EClnWUrZLVo3p9Vo5QSMZicsE4E85MDAbQ2wEauzQ2rw== X-Received: by 2002:a17:907:7356:: with SMTP id dq22mr3909411ejc.318.1611082238493; Tue, 19 Jan 2021 10:50:38 -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?= Subject: [PATCH 6/9] meson: Restrict system-mode specific accelerators Date: Tue, 19 Jan 2021 19:50:02 +0100 Message-Id: <20210119185005.880322-7-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210119185005.880322-1-philmd@redhat.com> References: <20210119185005.880322-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) Avoid displaying accelerators which are restricted to system-emulation. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 940898eb5b4..575e34d88ac 100644 --- a/meson.build +++ b/meson.build @@ -2377,13 +2377,15 @@ endif summary_info +=3D {'target list': ' '.join(target_dirs)} =20 -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_BA= CKEND')} -if config_host.has_key('CONFIG_XEN_BACKEND') - summary_info +=3D {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INT= ERFACE_VERSION']} +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') --=20 2.26.2