From patchwork Fri Jun 9 17:07:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 13274216 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 887F4C7EE29 for ; Fri, 9 Jun 2023 17:08:59 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7fap-0005lm-54; Fri, 09 Jun 2023 13:08:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7fan-0005kd-A2 for qemu-devel@nongnu.org; Fri, 09 Jun 2023 13:08:05 -0400 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7fal-00027V-Ti for qemu-devel@nongnu.org; Fri, 09 Jun 2023 13:08:05 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5C24265A2F; Fri, 9 Jun 2023 17:08:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9D29C4339C; Fri, 9 Jun 2023 17:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686330482; bh=sirEIIl6otJqKLK3fIB8RQ2gvm6l1N15xKFUdbKurpA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bs4MJ9+Dn9c/HryFIqsuXkAt2ONbyWRoXHd0kp2BFnOBgP1RLJRy3NOJhM6aiu2+s qzMpjX4Ux2VucTXWBGqjCwsWUlkJasYrzaxkHNUxcPgMe31z9bvvFHVQRmqN3KsGSk 4RHIEturejGQqm9iqnSuecd9jKjKWHQ6ESguVpJclJUZHjrV8qcm0mpm3oy5PbLZZq ih+ND1cv607+OAmYKke65ndZTEFk83jAyg41sf0KtZlzsAbrVz+OZSRNrXVeXJFFVz 7H7sKLHQzKUBUMVUSCsyYB0pP7YQty42FNna8/wWEqxNyodgWyoCLsEZTcpc77ED7b EfrxiOjGlOjJg== From: Stefano Stabellini To: peter.maydell@linaro.org Cc: sstabellini@kernel.org, qemu-devel@nongnu.org, vikram.garhwal@amd.com, richard.henderson@linaro.org, Stefano Stabellini , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PULL v4 08/10] meson.build: do not set have_xen_pci_passthrough for aarch64 targets Date: Fri, 9 Jun 2023 10:07:49 -0700 Message-Id: <20230609170751.4059054-8-sstabellini@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=2604:1380:4641:c500::1; envelope-from=sstabellini@kernel.org; helo=dfw.source.kernel.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org From: Stefano Stabellini have_xen_pci_passthrough is only used for Xen x86 VMs. Signed-off-by: Stefano Stabellini Reviewed-by: Alex Bennée --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 34306a6205..481865bfa9 100644 --- a/meson.build +++ b/meson.build @@ -1726,6 +1726,8 @@ have_xen_pci_passthrough = get_option('xen_pci_passthrough') \ error_message: 'Xen PCI passthrough requested but Xen not enabled') \ .require(targetos == 'linux', error_message: 'Xen PCI passthrough not available on this platform') \ + .require(cpu == 'x86' or cpu == 'x86_64', + error_message: 'Xen PCI passthrough not available on this platform') \ .allowed()