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

2025-05-20 Thread Peter Krempa via Devel
On Tue, May 20, 2025 at 17:28:28 +0900, Kazuhiro Abe wrote: > From: Akio Kakuno > > - 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: Kazuhiro Abe > --- > .../l

Re: [RFC PATCH v3 4/6] qemucapabilitiestest: Adds Arm CCA support

2025-05-20 Thread Daniel P . Berrangé via Devel
On Tue, May 20, 2025 at 10:54:19AM +0200, Peter Krempa via Devel wrote: > On Tue, May 20, 2025 at 17:28:26 +0900, Kazuhiro Abe wrote: > > From: Akio Kakuno > > > > - This test was added to check qemu capabilities for Arm > > CCA support. > > IF > > > This test was created using the method

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

2025-05-20 Thread Peter Krempa via Devel
On Tue, May 20, 2025 at 17:28:27 +0900, Kazuhiro Abe wrote: > 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-

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

2025-05-20 Thread Kazuhiro Abe
From: Akio Kakuno - Add ARM CCA support in domain schema files. Signed-off-by: Kazuhiro Abe --- src/conf/schemas/domaincaps.rng | 36 ++ src/conf/schemas/domaincommon.rng | 26 +++ src/qemu/qemu_capabilities.c | 113 ++ src/qemu/qemu_capabilitie

Re: [RFC PATCH v3 4/6] qemucapabilitiestest: Adds Arm CCA support

2025-05-20 Thread Peter Krempa via Devel
On Tue, May 20, 2025 at 17:28:26 +0900, Kazuhiro Abe wrote: > From: Akio Kakuno > > - This test was added to check qemu capabilities for Arm > CCA support. IF > This test was created using the method described in the > documentation. > > Signed-off-by: Kazuhiro Abe > --- > .../caps_9.

Re: libvirt TLS certificates letsencrypt

2025-05-20 Thread Daniel P . Berrangé via Devel
On Tue, May 20, 2025 at 08:00:42AM +0200, Jani Heikkinen wrote: > Hello! I am part of infrastructure team at BFH and we are building an > openstack installation. > > A couple of months ago I was experimenting with setting up noVNC consoles > with encryption. > > Connecting until the novncproxy se

Re: [RFC PATCH 3/5] qemu: Implement support for associating iommufd to hostdev

2025-05-20 Thread Daniel P . Berrangé via Devel
On Thu, May 15, 2025 at 01:36:41PM -0700, Nathan Chen via Devel wrote: > Implement "iommufdId" and "iommufdFd" attributes for "hostdev" devices that > can be used to specify associated iommufd object and fd for externally opening > the /dev/iommu and VFIO cdev, when launching a qemu VM. What does

[PATCH] cputest: Skip more tests requiring JSON_MODELS if QEMU is disabled

2025-05-20 Thread Jaroslav Suchanek via Devel
From: Jaroslav Suchanek Marking more tests with JSON_MODELS_REQUIRED as these tests fail if QEMU is disabled, typically when running tests on FreeBSD or macOS systems. Signed-off-by: Jaroslav Suchanek --- tests/cputest.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[PATCH 2/4] vsh: Apply empty/local completers to global commands

2025-05-20 Thread Peter Krempa via Devel
From: Peter Krempa Few outstanding arguments were not marked with completers completer despite the fact that we can't provide any reasonable suggestion (e.g 'echo' or 'complete' commands) or where we want to complete local path ( 'cd' ). Signed-off-by: Peter Krempa --- tools/vsh.c | 6 ++

[PATCH 0/4] virsh completer cleanups

2025-05-20 Thread Peter Krempa via Devel
Make the core completer code common in all virt shells and annotate few arguments with the existing empty and local-file completers. Peter Krempa (4): virsh: completer: Extract common completer methods from virsh to vsh vsh: Apply empty/local completers to global commands virsh: Apply empty

[PATCH 1/4] virsh: completer: Extract common completer methods from virsh to vsh

2025-05-20 Thread Peter Krempa via Devel
From: Peter Krempa The helper methods as well as the empty completers can be useful also in other virt shells; extract the code and rename the functions appropriately. Signed-off-by: Peter Krempa --- tools/meson.build| 2 +- tools/virsh-backup.c

[PATCH 3/4] virsh: Apply empty completer to arguments where completion doesn't make sense

2025-05-20 Thread Peter Krempa via Devel
From: Peter Krempa Few outstanding arguments were not marked with 'virshCompleteEmpty' completer despite the fact that we can't provide any reasonable suggestion, e.g. for the new description of a domain or for the launch secret. Signed-off-by: Peter Krempa --- tools/virsh-domain.c | 6 ++

Re: [PATCH] cputest: Skip more tests requiring JSON_MODELS if QEMU is disabled

2025-05-20 Thread Jiri Denemark via Devel
On Tue, May 20, 2025 at 15:50:24 +0200, Jaroslav Suchanek wrote: > From: Jaroslav Suchanek > > Marking more tests with JSON_MODELS_REQUIRED as these tests fail if QEMU is > disabled, typically when running tests on FreeBSD or macOS systems. > > Signed-off-by: Jaroslav Suchanek > --- > tests/cp

Re: [RFC PATCH 0/5] qemu: Implement support for iommufd and multiple vSMMUs

2025-05-20 Thread Daniel P . Berrangé via Devel
On Thu, May 15, 2025 at 01:36:38PM -0700, Nathan Chen via Devel wrote: > Hi, > > This is a follow up to the first RFC patchset [0] for supporting multiple > vSMMU instances in a qemu VM. This patchset also introduces support for > using iommufd to propagate DMA mappings to kernel for assigned devi

Re: [PATCH 0/4] virsh completer cleanups

2025-05-20 Thread Michal Prívozník via Devel
On 5/20/25 16:08, Peter Krempa via Devel wrote: > Make the core completer code common in all virt shells and annotate few > arguments with the existing empty and local-file completers. > > Peter Krempa (4): > virsh: completer: Extract common completer methods from virsh to vsh > vsh: Apply emp

Re: [RFC PATCH 2/5] conf: Add an iommufd member struct to virDomainIOMMUDef

2025-05-20 Thread Daniel P . Berrangé via Devel
On Thu, May 15, 2025 at 01:36:40PM -0700, Nathan Chen via Devel wrote: > Add support for an "iommufd" virDomainIOMMUDef member that will be > translated to a qemu "-object iommufd" command line argument. This > iommufd struct has an "id" member to specify the iommufd object id > that can be associa

[PATCH 4/4] virsh: domain: Annotate rest of arguments taking local existing file

2025-05-20 Thread Peter Krempa via Devel
From: Peter Krempa Few arguments were missing the 'vshCompletePathLocalExisting' completer. Signed-off-by: Peter Krempa --- tools/virsh-domain.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index f9acedf3db..8d615b6e7a 100644 --- a/tools

[PATCH 1/2] NEWS: bhyve: document NVRAM support

2025-05-20 Thread Roman Bogorodskiy
Signed-off-by: Roman Bogorodskiy --- NEWS.rst | 8 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index e924c08fbf..102e49373a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -23,6 +23,14 @@ v11.4.0 (unreleased) That option suppresses registration of pkttyagent with pol

[PATCH 2/2] docs: drvbhyve: document NVRAM support

2025-05-20 Thread Roman Bogorodskiy
Add a couple of examples of the explicit NVRAM configuration, and also an automatic configuration, along with ``. Signed-off-by: Roman Bogorodskiy --- docs/drvbhyve.rst | 20 1 file changed, 20 insertions(+) diff --git a/docs/drvbhyve.rst b/docs/drvbhyve.rst index e93ef0f44

Re: [libvirt PATCH] qemu: forbid readonly attribute for externally launched virtiofsd

2025-05-20 Thread Michal Prívozník via Devel
On 5/19/25 18:22, Ján Tomko via Devel wrote: > From: Ján Tomko > > In that case, libvirtd cannot set it on the command line because > virtiofsd is not launched by libvirt. > > https://issues.redhat.com/browse/RHEL-87522 > > Signed-off-by: Ján Tomko > --- > src/qemu/qemu_validate.c | 5 + >

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

2025-05-20 Thread Kazuhiro Abe
From: Akio Kakuno - Add ARM CCA support in domain capabilies XML schema. [Capability example] - Execution results of 'virsh domcapability" on qemu ... ... sha256 sha512 ... Signed-off-by: Kazuhiro Abe --- docs/formatdomaincaps.rst

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

2025-05-20 Thread Kazuhiro Abe
From: Akio Kakuno - Add ARM CCA support to the qemu driver for aarch64 systems. [XML example] ... sha256 ... Signed-off-by: Kazuhiro Abe --- docs/formatdomain.rst | 43 ++ src/conf/domain_capabilities.h | 6 + src/conf/domain_conf.

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

2025-05-20 Thread Kazuhiro Abe
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 v3 6/6] qemuxmlconftest: Adds Arm CCA support

2025-05-20 Thread Kazuhiro Abe
From: Akio Kakuno - 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: Kazuhiro Abe --- .../launch-security-cca.aarch64-latest.args | 30 +++ .../launch-se

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

2025-05-20 Thread Kazuhiro Abe
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/qe

[PATCH 0/1] [RFC] Live migration support for ch driver

2025-05-20 Thread Stefan Kober
This change serves as a proof of concept that adds live migration support to the Cloud Hypervisor driver. It is meant to show feasibility and to receive early feedback. I tested the live migration by invoking: virsh -c ch:///session migrate --domain vmName --desturi ch+ssh://dstHost/session --liv

[PATCH 1/1] Initial CH migrate API

2025-05-20 Thread Stefan Kober
--- src/ch/ch_conf.h | 4 + src/ch/ch_domain.h| 2 + src/ch/ch_driver.c| 362 +- src/ch/ch_monitor.c | 156 + src/ch/ch_monitor.h | 8 + src/ch/ch_process.c | 13

Re: [RFC PATCH 1/5] conf: Support multiple smmuv3Dev IOMMU devices

2025-05-20 Thread Daniel P . Berrangé via Devel
On Thu, May 15, 2025 at 01:36:39PM -0700, Nathan Chen via Devel wrote: > Add support for "smmuv3Dev" IOMMU model, and add > support for parsing multiple IOMMU devices from > the VM definition when "smmuv3Dev" is the IOMMU model. > Enable plugging smmuv3Dev into pcie-root and > pcie-expander-bus. >

[PATCH] build-aux: simplify grep detection on FreeBSD

2025-05-20 Thread Roman Bogorodskiy
From: Alexey Dokuchaev For quite some time now FreeBSD provides its own version of the grep(1) tool, and the GNU grep from the ports collection is available as ggrep(1). So remove the detection code and just request ggrep. Signed-off-by: Alexey Dokuchaev --- build-aux/meson.build | 15 +---

Re: [PATCH 0/5] bhyve: introduce NVRAM support

2025-05-20 Thread Roman Bogorodskiy
Michal Prívozník wrote: > On 5/9/25 19:11, Roman Bogorodskiy wrote: > > Roman Bogorodskiy (5): > > bhyve: conf: introduce nvramDir > > bhyve: generate NVRAM bhyve arguments > > bhyve: firmware: try to guess NVRAM settings > > bhyve: introduce bhyveDomainDefValidate() > > bhyve: support

Re: [PATCH 0/4] USB hostdev: allow addressing by port

2025-05-20 Thread Maximilian Martin via Devel
Friendly ping :) Am 21.04.2025 um 21:38 schrieb Maximilian Martin via Devel: This resubmission splits up the previous patch into multiple patches and incorporates review comments from Michal Prívozník. Currently, only vendor/product and bus/device matching are supported for USB host devices. N

Re: [PATCH] build-aux: simplify grep detection on FreeBSD

2025-05-20 Thread Michal Prívozník via Devel
On 5/20/25 20:34, Roman Bogorodskiy wrote: > From: Alexey Dokuchaev > > For quite some time now FreeBSD provides its own version of the grep(1) > tool, and the GNU grep from the ports collection is available as > ggrep(1). So remove the detection code and just request ggrep. > > Signed-off-by: A

[PATCH 4/4] docs/about/removed-features: Move removal notes to tidy up order

2025-05-20 Thread Markus Armbruster via Devel
The removal notes within a section are mostly in version order. Move the few that aren't so they are. Signed-off-by: Markus Armbruster --- docs/about/removed-features.rst | 60 - 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/docs/about/removed-f

[PATCH 1/4] docs/about: Belatedly document tightening of QMP device_add checking

2025-05-20 Thread Markus Armbruster via Devel
Commit 4d8b0f0a9536 (v6.2.0) deprecate incorrectly typed device_add arguments. Commit be93fd53723c (qdev-monitor: avoid QemuOpts in QMP device_add) fixed them for v9.2.0, but neglected to update documentation. Do that now. Cc: Stefan Hajnoczi Signed-off-by: Markus Armbruster --- docs/about/de

[PATCH 3/4] docs/about/deprecated: Move deprecation notes to tidy up order

2025-05-20 Thread Markus Armbruster via Devel
The deprecation notes within a section are mostly in version order. Move the few that aren't so they are. Signed-off-by: Markus Armbruster --- docs/about/deprecated.rst | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/about/deprecated.rs

[PATCH 2/4] qapi/migration: Deprecate migrate argument @detach

2025-05-20 Thread Markus Armbruster via Devel
Argument @detach has always been ignored. Start the clock to get rid of it. Cc: Peter Xu Cc: Fabiano Rosas Signed-off-by: Markus Armbruster --- docs/about/deprecated.rst | 5 + qapi/migration.json | 18 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --gi

[PATCH 0/4] An overdue deprecation, a doc fix, a bit of cleanup

2025-05-20 Thread Markus Armbruster via Devel
Markus Armbruster (4): docs/about: Belatedly document tightening of QMP device_add checking qapi/migration: Deprecate migrate argument @detach docs/about/deprecated: Move deprecation notes to tidy up order docs/about/removed-features: Move removal notes to tidy up order docs/about/depreca

Re: [PATCH 1/2] NEWS: bhyve: document NVRAM support

2025-05-20 Thread Michal Prívozník via Devel
On 5/20/25 19:07, Roman Bogorodskiy wrote: > Signed-off-by: Roman Bogorodskiy > --- > NEWS.rst | 8 > 1 file changed, 8 insertions(+) > > diff --git a/NEWS.rst b/NEWS.rst > index e924c08fbf..102e49373a 100644 > --- a/NEWS.rst > +++ b/NEWS.rst > @@ -23,6 +23,14 @@ v11.4.0 (unreleased) >

Re: [PATCH 2/2] docs: drvbhyve: document NVRAM support

2025-05-20 Thread Michal Prívozník via Devel
On 5/20/25 19:07, Roman Bogorodskiy wrote: > Add a couple of examples of the explicit NVRAM configuration, and also > an automatic configuration, along with ``. > > Signed-off-by: Roman Bogorodskiy > --- > docs/drvbhyve.rst | 20 > 1 file changed, 20 insertions(+) > Review