From nobody Wed Sep 10 00:01:01 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail header.i=@fujitsu.com; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=reject dis=none) header.from=aa.jp.fujitsu.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1747730061059305.68413432996783; Tue, 20 May 2025 01:34:21 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id E47691514; Tue, 20 May 2025 04:34:19 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6B13317CE; Tue, 20 May 2025 04:30:43 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 9CABD154D; Tue, 20 May 2025 04:30:38 -0400 (EDT) Received: from esa12.hc1455-7.c3s2.iphmx.com (esa12.hc1455-7.c3s2.iphmx.com [139.138.37.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B128B1514 for ; Tue, 20 May 2025 04:30:11 -0400 (EDT) Received: from unknown (HELO yto-r3.gw.nic.fujitsu.com) ([218.44.52.219]) by esa12.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2025 17:29:05 +0900 Received: from yto-m3.gw.nic.fujitsu.com (yto-nat-yto-m3.gw.nic.fujitsu.com [192.168.83.66]) by yto-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id A3708D5053 for ; Tue, 20 May 2025 17:29:03 +0900 (JST) Received: from yto-om2.fujitsu.com (yto-om2.o.css.fujitsu.com [10.128.89.163]) by yto-m3.gw.nic.fujitsu.com (Postfix) with ESMTP id 74201F336 for ; Tue, 20 May 2025 17:29:03 +0900 (JST) Received: from sm-x86-amd03.ssoft.mng.com (sm-x86-stp01.soft.fujitsu.com [10.124.178.20]) by yto-om2.fujitsu.com (Postfix) with ESMTP id 43CD44005847D; Tue, 20 May 2025 17:29:03 +0900 (JST) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1747729811; x=1779265811; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mP9jeRMDHTkAhpuv47UG6KzZ6yWOB71WJUuLXv0V/is=; b=JrlIh0UfV2n5PCm1eqoTcb1lNM+CiG2NXKsThc0tbowaAvd09d7sydFB VgDzPL7O+Fepyr1H2do0LxrKXWf5KE0LCXV2+LX2BXbH6lupxy0ubgSiO vREb0LR6jj6KZppB4+92+sOaHXsx/AKQFG+KI+BYJ/yB732WnxrcvjLO1 5nbTQl/QeUpaFA4eiZbSIAdxr4ryxkEdb8yrq1uC0l5iom+WX0G0l12eq SWB+a2oCWocKzsOGrbEELrMPtx4+Dg7o8Fm7jSPPHCzARy70LJwo63JV3 GDhGeBV2WZ+Y+Jb+HxAK/MJfaiL/MF5/pAyZoI2z1wkbx7ecyzjVdJ6Ei A==; X-CSE-ConnectionGUID: JuyMuDrXSk6Gyb27LZaDLg== X-CSE-MsgGUID: iUKkmI92Qkyb72UF3MC20g== X-IronPort-AV: E=McAfee;i="6700,10204,11438"; a="178927426" X-IronPort-AV: E=Sophos;i="6.15,302,1739804400"; d="scan'208";a="178927426" From: Kazuhiro Abe To: devel@lists.libvirt.org Subject: [RFC PATCH v3 5/6] domaincapstest: Adds Arm CCA support Date: Tue, 20 May 2025 17:28:27 +0900 Message-ID: <20250520082842.199494-6-fj1078ii@aa.jp.fujitsu.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20250520082842.199494-1-fj1078ii@aa.jp.fujitsu.com> References: <20250520082842.199494-1-fj1078ii@aa.jp.fujitsu.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: EFNY4YHCMGOZDT62PTZ7JW7XOCXLV4QO X-Message-ID-Hash: EFNY4YHCMGOZDT62PTZ7JW7XOCXLV4QO X-MailFrom: fj1078ii@aa.jp.fujitsu.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: taketani.ryo@fujitsu.com X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1747730062770116600 Content-Type: text/plain; charset="utf-8" From: Akio Kakuno - This test was added to check domain capabilities for Arm CCA support. This test was created using the method described in the documentation. Signed-off-by: Kazuhiro Abe --- .../qemu_9.1.0-virt.aarch64.xml | 244 ++++++++++++++++++ tests/domaincapsdata/qemu_9.1.0.aarch64.xml | 244 ++++++++++++++++++ 2 files changed, 488 insertions(+) create mode 100644 tests/domaincapsdata/qemu_9.1.0-virt.aarch64.xml create mode 100644 tests/domaincapsdata/qemu_9.1.0.aarch64.xml diff --git a/tests/domaincapsdata/qemu_9.1.0-virt.aarch64.xml b/tests/domai= ncapsdata/qemu_9.1.0-virt.aarch64.xml new file mode 100644 index 0000000000..8e84b2c1a9 --- /dev/null +++ b/tests/domaincapsdata/qemu_9.1.0-virt.aarch64.xml @@ -0,0 +1,244 @@ + + /usr/bin/qemu-system-aarch64 + kvm + virt-9.2 + aarch64 + + + + + efi + + + /obviously/fake/firmware1.fd + /obviously/fake/firmware2.fd + + rom + pflash + + + yes + no + + + no + + + + + + + off + + + + + on + off + + + + + a64fx + arm1026 + arm1136 + arm1136-r2 + arm1176 + arm11mpcore + arm926 + arm946 + cortex-a15 + cortex-a35 + cortex-a53 + cortex-a55 + cortex-a57 + cortex-a7 + cortex-a710 + cortex-a72 + cortex-a76 + cortex-a8 + cortex-a9 + cortex-m0 + cortex-m3 + cortex-m33 + cortex-m4 + cortex-m55 + cortex-m7 + cortex-r5 + cortex-r52 + cortex-r5f + max + neoverse-n1 + neoverse-n2 + neoverse-v1 + pxa250 + pxa255 + pxa260 + pxa261 + pxa262 + pxa270 + pxa270-a0 + pxa270-a1 + pxa270-b0 + pxa270-b1 + pxa270-c0 + pxa270-c5 + sa1100 + sa1110 + ti925t + + + + + file + anonymous + memfd + + + + + + disk + cdrom + floppy + lun + + + fdc + scsi + virtio + usb + sata + + + virtio + virtio-transitional + virtio-non-transitional + + + + + rdp + dbus + + + + + + subsystem + + + default + mandatory + requisite + optional + + + usb + pci + scsi + + + + default + vfio + + + + + virtio + virtio-transitional + virtio-non-transitional + + + random + egd + builtin + + + + + path + handle + virtiofs + + + + + tpm-tis + + + passthrough + emulator + external + + + 2.0 + + + + + + pty + unix + + + + + virtio + + + qemu + + + builtin + + + + + default + passt + + + + + pvpanic + + + + + + + 3 + + + + + + + + + + + + + sha256 + sha512 + + + + + cca + + + + diff --git a/tests/domaincapsdata/qemu_9.1.0.aarch64.xml b/tests/domaincaps= data/qemu_9.1.0.aarch64.xml new file mode 100644 index 0000000000..8e84b2c1a9 --- /dev/null +++ b/tests/domaincapsdata/qemu_9.1.0.aarch64.xml @@ -0,0 +1,244 @@ + + /usr/bin/qemu-system-aarch64 + kvm + virt-9.2 + aarch64 + + + + + efi + + + /obviously/fake/firmware1.fd + /obviously/fake/firmware2.fd + + rom + pflash + + + yes + no + + + no + + + + + + + off + + + + + on + off + + + + + a64fx + arm1026 + arm1136 + arm1136-r2 + arm1176 + arm11mpcore + arm926 + arm946 + cortex-a15 + cortex-a35 + cortex-a53 + cortex-a55 + cortex-a57 + cortex-a7 + cortex-a710 + cortex-a72 + cortex-a76 + cortex-a8 + cortex-a9 + cortex-m0 + cortex-m3 + cortex-m33 + cortex-m4 + cortex-m55 + cortex-m7 + cortex-r5 + cortex-r52 + cortex-r5f + max + neoverse-n1 + neoverse-n2 + neoverse-v1 + pxa250 + pxa255 + pxa260 + pxa261 + pxa262 + pxa270 + pxa270-a0 + pxa270-a1 + pxa270-b0 + pxa270-b1 + pxa270-c0 + pxa270-c5 + sa1100 + sa1110 + ti925t + + + + + file + anonymous + memfd + + + + + + disk + cdrom + floppy + lun + + + fdc + scsi + virtio + usb + sata + + + virtio + virtio-transitional + virtio-non-transitional + + + + + rdp + dbus + + + + + + subsystem + + + default + mandatory + requisite + optional + + + usb + pci + scsi + + + + default + vfio + + + + + virtio + virtio-transitional + virtio-non-transitional + + + random + egd + builtin + + + + + path + handle + virtiofs + + + + + tpm-tis + + + passthrough + emulator + external + + + 2.0 + + + + + + pty + unix + + + + + virtio + + + qemu + + + builtin + + + + + default + passt + + + + + pvpanic + + + + + + + 3 + + + + + + + + + + + + + sha256 + sha512 + + + + + cca + + + + --=20 2.43.5