[RFC PATCH v2 1/6] src: Add ARM CCA support in qemu driver to launch VM

2025-02-28 Thread Akio Kakuno via Devel
- Add ARM CCA support to the qemu driver for aarch64 systems. [XML example] ... sha256 ... Signed-off-by: Akio Kakuno --- docs/formatdomain.rst | 28 src/conf/domain_capabilities.h | 6 ++ src/conf/domain_conf.c | 7 +++ sr

[RFC PATCH v2 0/6] RFC: Add Arm CCA support for getting capability information and running Realm VM

2025-02-28 Thread Akio Kakuno via Devel
Hi, all. This patch adds Arm CCA support to qemu driver for aarch64 system. CCA is an abbreviation for Arm Confidential Compute Architecture feature, it enhances the virtualization capabilities of the platform by separating the management of resources from access to those resources. We are not yet

[RFC PATCH v2 5/6] domaincapstest: Adds Arm CCA support

2025-02-28 Thread Akio Kakuno via Devel
- 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: Akio Kakuno --- .../qemu_9.1.0-virt.aarch64.xml | 243 ++ tests/domaincapsdata/qemu_9.1.0.aarch64.xml

[RFC PATCH v2 3/6] src: Add ARM CCA support in domain schema

2025-02-28 Thread Akio Kakuno via Devel
- Add ARM CCA support in domain schema files. Signed-off-by: Akio Kakuno --- src/conf/domain_conf.c| 9 +++ src/conf/schemas/domaincaps.rng | 14 src/conf/schemas/domaincommon.rng | 14 src/qemu/qemu_capabilities.c | 113 ++ src/qemu/q

[RFC PATCH v2 2/6] src: Add ARM CCA support in domain capabilities command

2025-02-28 Thread Akio Kakuno via Devel
- Add ARM CCA support in domain capabilies XML schema. [Capability example] - Execution results of 'virsh domcapability" on qemu ... ... sha256 sha512 ... Signed-off-by: Akio Kakuno --- docs/formatdomaincaps.rst | 27 +- src

[RFC PATCH v2 6/6] qemuxmlconftest: Adds Arm CCA support

2025-02-28 Thread Akio Kakuno via Devel
- This test was added to check the xml used to launch the VM for Arm CCA support. This test was created using the method described in the documentation. Signed-off-by: Akio Kakuno --- .../launch-security-cca.aarch64-latest.args | 30 +++ .../launch-security-cca.aarch64-la

[PATCH] qemuPrepareNVRAMFile: Fix NVRAM image conversion check

2025-02-28 Thread Peter Krempa
In case when user provides custom paths (those not covered by the JSON firmware descriptor files or the default locations) for the loader and nvram template no auto-detection will be performed and user's config will be taken at face value. Historically when 'templateFormat' didn't exist we assumed

Re: [PATCH] virDomainHostdevDefNew: update users not to check return value

2025-02-28 Thread Laine Stump
On 2/27/25 7:46 AM, Roman Bogorodskiy wrote: virDomainHostdevDefNew() has been using g_new0() for a while now. As it calls abort() on OOM, it's not necessary to check whether the return value is NULL. Signed-off-by: Roman Bogorodskiy Reviewed-by: Laine Stump (I had to check to make sure thi