From nobody Sun Apr 12 05:58:57 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=reject dis=none) header.from=unpredictable.fr ARC-Seal: i=1; a=rsa-sha256; t=1771154831; cv=none; d=zohomail.com; s=zohoarc; b=epcU+o6cFm9DX/+JgOuDr8af21YDmrLHrvZY28F98tbSQChYp7tYlsNbLZ/tkvp/prYlr39QMXCdZbFeJMi4LqKfekwwKm7gglJAKsY3gkwnDJo2U6iFgOs4ja15y4YUGPWVEw7Ks5hXZY+pzPiu6UMaO0dCEQKbV5FFuBy3RzE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1771154831; h=Content-Transfer-Encoding:Cc:Cc: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; bh=/azSuFgxZtyPhovo63n8+YZWHs84+y+5HTGGEjQkROk=; b=j8DwO9rC4YpTXuoHv3Z9KbXddjo+F5Wo1enwPyrgk+kWY/EG5R/nSTX+WfL5X8mzlfrloknWs1JgLD85ldWXzJCP33lKI0DyK81pjHxlHosbajO6Fx9L9vrr58r9yG2K3VwYLhu0oID05VGAMG16nFvJldYqllricMaKokojIsA= 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=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17711548313231005.124652570768; Sun, 15 Feb 2026 03:27:11 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vraGf-0005QB-T7; Sun, 15 Feb 2026 06:26:25 -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 1vraGb-0005Mz-W7 for qemu-devel@nongnu.org; Sun, 15 Feb 2026 06:26:22 -0500 Received: from p-west2-cluster1-host4-snip4-10.eps.apple.com ([57.103.68.83] helo=outbound.mr.icloud.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vraGZ-00081a-H9 for qemu-devel@nongnu.org; Sun, 15 Feb 2026 06:26:21 -0500 Received: from outbound.mr.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-west-2a-100-percent-0 (Postfix) with ESMTPS id 24B0018002A9; Sun, 15 Feb 2026 11:26:18 +0000 (UTC) Received: from localhost.localdomain (unknown [17.57.152.38]) by p00-icloudmta-asmtp-us-west-2a-100-percent-0 (Postfix) with ESMTPSA id 0802718002AA; Sun, 15 Feb 2026 11:26:15 +0000 (UTC) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unpredictable.fr; s=sig1; t=1771154778; x=1773746778; bh=/azSuFgxZtyPhovo63n8+YZWHs84+y+5HTGGEjQkROk=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=JIOZI0snpfzqoelgwqFp6+901ZBgpfuzFd5jKi1VLdr6fDmH11p/mUbHCNG9NL15G6KGIky5wKjssI+8t3Xk/DptiYsSwyH9sz37t44l/CZrhXf7Ra8atAfIAbjFudBu0s97/+NRQ92Ou+qfznKCtvHeGNH8LtUaCCtlelOFDGoJ8jfPc39xJjTqX1p5vLOg77jLAmMOQzwlCw6hHahITko0cIN9YCNs5SPRA8SiPgWxfBVkZwY+6QWH9KLSyxTuWlDvR5GOpo8YAaUofxQiO9FeCuy9UDRCCyt4w7c+HkUFZ7e0OPPTJDWA/+80BkE3JCUrR7fqRACAB//xADKWpw== mail-alias-created-date: 1752046281608 From: Mohamed Mediouni To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell , Mads Ynddal , Roman Bolshakov , Phil Dennis-Jordan , Alexander Graf , Paolo Bonzini , Cameron Esfahani , Mohamed Mediouni Subject: [PATCH v10 13/14] hvf: enable nested virtualisation support Date: Sun, 15 Feb 2026 12:25:42 +0100 Message-ID: <20260215112543.4817-14-mohamed@unpredictable.fr> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260215112543.4817-1-mohamed@unpredictable.fr> References: <20260215112543.4817-1-mohamed@unpredictable.fr> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: dQbyVxVvr3imzNBlgDXVRIw2qrGEBeMX X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjE1MDA5MiBTYWx0ZWRfX6Z5LB+R3M97F 5OY2X2joIN4FL8XhZ3NSxmpnBdqiPk77A1RizbnicyfBpjE5ScEDEOz4A1Lw8bsBm/AeD0xL6XA NE9OkOeST3zi9208wFUbolG8WRPjLy7+TJ+6korB05SVuNZ6M2V/IqWwEH+QEhfP1Qe9DmQtfVd Y6LfHZW/cagOJDukpmfBZEPw25qRgBXjsYqA6rRP+U46oSq9D8nfl5Jpfnad5w/FVkcCEeeqbpg 8oYyrgEVxgYUs35pFARvYC3H4onuDLcrTdXoIWp6SbS15kTvUxHcQHcEh2SorrsHtTObfpTigZ8 rTF/z4QB1pd36M9A57gprMnWl0RrKZpEtvAjeH1AsMUlJm0BiBf6sWJoiuW28g= X-Proofpoint-ORIG-GUID: dQbyVxVvr3imzNBlgDXVRIw2qrGEBeMX X-Authority-Info-Out: v=2.4 cv=JLY2csKb c=1 sm=1 tr=0 ts=6991ad5a cx=c_apl:c_apl_out:c_pps a=9OgfyREA4BUYbbCgc0Y0oA==:117 a=9OgfyREA4BUYbbCgc0Y0oA==:17 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22 a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=cdDYXil7g4BivNFjHqQA:9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-15_04,2026-02-13_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxlogscore=934 mlxscore=0 phishscore=0 clxscore=1030 suspectscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602150092 X-JNJ: AAAAAAABLlWq4IZ1m3J+MEv7Dcj8c9b99UmeguNnttm68WFAqjXUu3fBewXewKFXGreXI2lMs5BY5LIw4D+W1eBiWboKgwZP2uJ+yENB2257pGYIn7JrczPMwnl+GLohAUaodeaXw4f++Ljc5shH0Tr6pKEsJgj49GDrR/Z10BEmyUynYb+g7/9j9IqSOwhtc8Ha/LUhocSVOeAOR3D1JibLwHQgDvlasMNm16giZzvWC3v7YjvIad3zxCclHPBWnQlzhEF/poQCg5A32pM+3b/BqYeoPY2SxifF9xW3eN2jBt7/QavzZT7Gs+AHsKoBW8wQWn7X6o7/iyEllGPVSyq0QVzuTMILNU2bFZ49m9gwU7oUpmnxP/zs3O5LRSa78bh3IMrW7mM04rHH9Dj+/P7p2u9y+Z68UJP38SYqehhtIBE30hCRucnipWOhiCotQpU2FKV3KQ07irDgfipObC1/I/AuFikLUyP4MDQYhvLWi7iYEhYjPiw2TVuwIiTr22tKdmwrFA4lLZbqVotD3WyP3Weewnh4p2mDysThsWEmkMa5QmfhgiAmaaJG29gb/l3F8uNrGNI8v8QY5dSS27QezYrCt9dLjAok2XjtXcyDVdFK+1YPyrROVSH/aYrRJ2Uu3ICZx89rQVAq6peP12PPzIUEfjqnxhWu6YGwOqm20YT7QNMwkObHWlxaQzLUo8VZwSBW30sJ6RFUEg0R 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=57.103.68.83; envelope-from=mohamed@unpredictable.fr; helo=outbound.mr.icloud.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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 @unpredictable.fr) X-ZM-MESSAGEID: 1771154834573158500 Content-Type: text/plain; charset="utf-8" Signed-off-by: Mohamed Mediouni --- hw/arm/virt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 071b082786..a7cb6237f7 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -2394,13 +2394,20 @@ static void machvirt_init(MachineState *machine) exit(1); } =20 - if (vms->virt && !kvm_enabled() && !tcg_enabled() && !qtest_enabled())= { + if (vms->virt && !kvm_enabled() && !tcg_enabled() + && !hvf_enabled() && !qtest_enabled()) { error_report("mach-virt: %s does not support providing " "Virtualization extensions to the guest CPU", current_accel_name()); exit(1); } =20 + if (vms->virt && hvf_enabled() && !hvf_irqchip_in_kernel()) { + error_report("mach-virt: For HVF and Virtualization extensions " + "only kernel-irqchip=3Don is currently supported"); + exit(1); + } + if (vms->mte && hvf_enabled()) { error_report("mach-virt: %s does not support providing " "MTE to the guest CPU", --=20 2.50.1 (Apple Git-155)