From nobody Tue Feb 10 21:40:06 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1770731591; cv=none; d=zohomail.com; s=zohoarc; b=EgbN2L3aLq3Iov6J/73Dy/t2hmhOMv1Ho/xgRfWJm2FJpPTDZxzmY1tA2aZHbASxE5u6FPntiVC7NVAhT7uLm9ex/azHQaWMEqqMoIDWHPwFw51/+jEUQgqgxXRmPp5ZEXsT1ijSU/aBc9JtXniutrngoe9xg4wnKjt7jw0pgoo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770731591; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=kq2OeTrUcPIegeZ5VRCi1cFtIhc0er3FyZyNyjg0Krw=; b=kFhLRj3INux2lqtJ+spYFENu61ttnsdSJxsiXOpSPFil0JHH9uYoS8mKwZ+oVbt0HiY4lduFvf3kAd/srin/+A3nOLKkTuhXEQthCHOvJe8DjfuTkuCTD0HxJisQUKYfKkEVOLtZKZBuZmlq0YcYdK5ooxpPGFEMReFefkCld3g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1770731591338204.62747209526526; Tue, 10 Feb 2026 05:53:11 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vpoAL-0002EX-Aj; Tue, 10 Feb 2026 08:52:33 -0500 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 1vpoAH-0002Br-MW for qemu-devel@nongnu.org; Tue, 10 Feb 2026 08:52:29 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vpoAG-0006N9-30 for qemu-devel@nongnu.org; Tue, 10 Feb 2026 08:52:29 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-436309f1ad7so2702877f8f.3 for ; Tue, 10 Feb 2026 05:52:27 -0800 (PST) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4834d5d77f9sm64344875e9.3.2026.02.10.05.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Feb 2026 05:52:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1770731546; x=1771336346; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kq2OeTrUcPIegeZ5VRCi1cFtIhc0er3FyZyNyjg0Krw=; b=R8nTJPOP8JkEEcuIQjye4i1DcboGnfcHbcwRL3V+gNloasHAj5ur6OVfB7Mkw0kMWt xp2ZKvv07ZDEVseDHTFDE7pW/FdzJ5eqr4wN788k4M1gCu8iwoxu+V3WeUXqw/pfqzam H7Frw/llDpM0uEJ/JzobqQ/PUBb7I26LpLYnsiaByqMN1/4f8fo186SKSHBX28MVKRLc uk3kQrX3jb6Q778MR3bt0o67W66bG8JHpmVHYqxWvvUATGIQHS7T+i38JhZuO5iq2Ig/ FE0Cq4U3m14saLakzsD6/qjrzPp658mr8LG0Zfz/GpX95OzSDtFNx9+4WzMCUuIkUjiw jnvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770731546; x=1771336346; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=kq2OeTrUcPIegeZ5VRCi1cFtIhc0er3FyZyNyjg0Krw=; b=YovnQ2tcSJoPR1dweijtd3trG1HA2y4k2XF4Pqb69pV33VtEnem18X9+2Rgb+DretC rP9tCfnS7I+aJCnL1H5TAg3va08Znn30dH3/UjckI1k8FThIq4W9Sh5/BnfXtsWuHNub gOQ/ZaFEmASLjasP3LlkjDcOFd9tzQRU+lrpFI9D6Q9So829RsBuc3tmhy4tua2GARoJ fjlUL/4VlM+QDQV1JMtBvs9j91ZKoA4GqkLg+HIYMTHB3cuZ4CXVTILQ90FImlYM9a5d tA51fPlqVJO9RXSSm9QEB0dXGmaLC7uLkdvcjBFa4In3NCx/hF2lo2Ak3y9iqy4X9ePN rYzw== X-Gm-Message-State: AOJu0YyhDFxY1UFi9D5a91jMtTxOUU2VLWrbu+vkiXMtuPqkisfm9feq QwABIBxFonhU1sVBg09/7s2hlTMtFj9cMKSIXAZAvHeCoruSLDhLFtTwhRg8CIFO0LPYcy8IjgY /i+KL X-Gm-Gg: AZuq6aJ6H8HOAns38dxQn3KfY2PR4RJVAR16W6inI/4RFVc2whsvt/imijLIHWGgWLw I3hAc5YW/7AnBEcvMAOq3TuhcTkAQlzw4UINWoS8w3w5R20CCpnYYslgFZCWP/p/2M+yXxLGpUV Z3hYdGPCF2cMCBykU72UxiW0QrYIbad0ToHU/KHVIQgJQqsiBkJ2YsadXK0DMokEMBIdatQi1CZ J+Ze136Rtry0OmYfGKy3xj6up0h0f0XBsTlQr7NxFU0uCDZX6ET43kqpSrqaHwRvpM0mM+Udc8G DsS6z9ZO4P33W/HkvwFPei3Br8yj7WPo3FSQRNc+KD+Vd78+lmZsG8TCvrGh+ecxQ7KqPoJHWOO ZN9hRB9c93UiwulompYIVUDurdkdW3dhMNmSjxZZRlx5mMVhv9Ik7l4ayFGOh3aFDYtj+zmouVC 10QVhzuxNXqsoIPrqHXNvOUkfKaNC2yjI4wx17zz/qbrq8afzHUdAiKnpitste2OQaiVCkP5QCH lHQTrxrgtrMg0s8vFsuYfgXh3frXdaAS2NhpmKBLg== X-Received: by 2002:a05:600c:34c5:b0:480:1c69:9d36 with SMTP id 5b1f17b1804b1-48320212e11mr263320435e9.17.1770731546402; Tue, 10 Feb 2026 05:52:26 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 21/26] whpx: enable arm64 builds Date: Tue, 10 Feb 2026 13:52:01 +0000 Message-ID: <20260210135206.229528-22-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260210135206.229528-1-peter.maydell@linaro.org> References: <20260210135206.229528-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1770731593415158501 Content-Type: text/plain; charset="utf-8" From: Mohamed Mediouni Signed-off-by: Mohamed Mediouni Reviewed-by: Pierrick Bouvier Reviewed-by: Akihiko Odaki Signed-off-by: Peter Maydell --- meson.build | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 2d114e9018..e8fd77aac0 100644 --- a/meson.build +++ b/meson.build @@ -301,7 +301,8 @@ accelerator_targets +=3D { 'CONFIG_XEN': xen_targets } =20 if cpu =3D=3D 'aarch64' accelerator_targets +=3D { - 'CONFIG_HVF': ['aarch64-softmmu'] + 'CONFIG_HVF': ['aarch64-softmmu'], + 'CONFIG_WHPX': ['aarch64-softmmu'] } elif cpu =3D=3D 'x86_64' accelerator_targets +=3D { @@ -858,13 +859,18 @@ if get_option('mshv').allowed() and host_os =3D=3D 'l= inux' endif =20 if get_option('whpx').allowed() and host_os =3D=3D 'windows' - if get_option('whpx').enabled() and host_machine.cpu() !=3D 'x86_64' - error('WHPX requires 64-bit host') - elif cc.has_header('winhvplatform.h', required: get_option('whpx')) and \ - cc.has_header('winhvemulation.h', required: get_option('whpx')) - accelerators +=3D 'CONFIG_WHPX' + if cpu =3D=3D 'i386' + if get_option('whpx').enabled() + error('WHPX requires 64-bit host') + endif + # Leave CONFIG_WHPX disabled + else + if cc.has_header('winhvplatform.h', required: get_option('whpx')) and \ + cc.has_header('winhvemulation.h', required: get_option('whpx')) + accelerators +=3D 'CONFIG_WHPX' + endif endif -endif + endif =20 hvf =3D not_found if get_option('hvf').allowed() --=20 2.43.0