[PATCH] NEWS: Document my contributions for upcoming release

2023-01-16 Thread Michal Privoznik
Signed-off-by: Michal Privoznik --- NEWS.rst | 37 + 1 file changed, 37 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 9baf10b8e9..a860c2b6f6 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -50,6 +50,30 @@ v9.0.0 (unreleased) With sufficiently new QEMU

[PATCH 1/3] Add public API for parallel compression method

2023-01-16 Thread Jiang Jiacheng
Add public API VIR_MIGRATE_PARAM_PARALLEL_COMPRESSION, VIR_MIGRATE_PARAM_PARALLEL_ZLIB_LEVEL, VIR_MIGRATE_PARAM_PARALLEL_ZSTD_LEVEL for migration APIs to support set compression method and compress level used during migration. Signed-off-by: Jiang Jiacheng --- include/libvirt/libvirt-domain.h |

[PATCH 3/3] virsh: Add options for multifd migration compression

2023-01-16 Thread Jiang Jiacheng
Add multifd migration options: --parallel-compression --parallel-zlib-level --parallel-zstd-level Signed-off-by: Jiang Jiacheng --- docs/manpages/virsh.rst | 11 +-- tools/virsh-domain.c| 39

[PATCH 0/3] migration: add qemu multifd migration options

2023-01-16 Thread Jiang Jiacheng
Add qemu multifd migration options to set multifd-compression multifd-zlib-level and multifd-zstd-level. Jiang Jiacheng (3): Add public API for parallel compression method qemu: Add qemu parallel migration parameters virsh: Add options for multifd migration compression

[PATCH 2/3] qemu: Add qemu parallel migration parameters

2023-01-16 Thread Jiang Jiacheng
Add qemu migration parameters to support setting multifd migration compression method and level. Those parameters has been supportted by QEMU since 5.0. Signed-off-by: Jiang Jiacheng --- src/qemu/qemu_migration.h| 3 +++ src/qemu/qemu_migration_params.c | 29

Re: [PATCH V9 10/14] services: Weaken systemd dependency on virtlockd

2023-01-16 Thread Andrea Bolognani
On Fri, Jan 13, 2023 at 12:21:57PM -0700, Jim Fehlig wrote: > The systemd service files of the qemu and libxl driver currently have a > 'Requires' dependency on virtlockd, which is too strong since virtlockd > is not enabled by default in either driver. Change the dependency to a > 'Wants' to

Re: [PATCH V9 11/14] spec: Remove libvirt-daemon dependency from primary drivers

2023-01-16 Thread Andrea Bolognani
On Fri, Jan 13, 2023 at 12:21:58PM -0700, Jim Fehlig wrote: > To avoid needlessly installing the monolithic daemon, replace the > libvirt-daemon dependency with libvirt-daemon-common in the primary > drivers. > > The qemu driver also needs a dependency on libvirt-daemon-log since > the virtqemud

Release of libvirt-9.0.0

2023-01-16 Thread Jiri Denemark
The 9.0.0 release of both libvirt and libvirt-python is tagged and signed tarballs and source RPMs are available at https://libvirt.org/sources/ https://libvirt.org/sources/python/ Thanks everybody who helped with this release by sending patches, reviewing, testing, or providing

Re: [PATCH] NEWS: Document my contributions for upcoming release

2023-01-16 Thread Jiri Denemark
On Mon, Jan 16, 2023 at 09:38:11 +0100, Michal Privoznik wrote: > Signed-off-by: Michal Privoznik > --- > NEWS.rst | 37 + > 1 file changed, 37 insertions(+) Reviewed-by: Jiri Denemark

Re: [PATCH v1 0/4] Introduce active disk internal snapshot support

2023-01-16 Thread Peter Krempa
On Sun, Jan 15, 2023 at 11:41:01 +, Or Ozeri wrote: > > > -Original Message- > > From: Peter Krempa > > Sent: Friday, 13 January 2023 17:21 > > To: Or Ozeri > > Cc: libvir-list@redhat.com > > Subject: [EXTERNAL] Re: [PATCH v1 0/4] Introduce active disk internal > > snapshot support

Re: [libvirt PATCH] rpm: convert license to SPDX format

2023-01-16 Thread Peter Krempa
On Mon, Jan 16, 2023 at 08:19:28 -0500, Daniel P. Berrangé wrote: > Note that with the introduction of SPDX, Fedora no longer wants > maintainers to do effective license analysis, hence we no list *we now list > all the licenses that are applicable to the binary package > contents > > >

Re: [PATCH 2/9] audio: remove special audio_calloc function

2023-01-16 Thread Daniel P . Berrangé
On Sun, Jan 15, 2023 at 03:03:29PM +0100, Volker Rümelin wrote: > Am 13.01.23 um 17:21 schrieb Daniel P. Berrangé: > > The audio_calloc function does various checks on the size and > > nmembers parameters to detect various error conditions. There > > are only 5 callers > > > > *

[libvirt PATCH] rpm: convert license to SPDX format

2023-01-16 Thread Daniel P . Berrangé
Note that with the introduction of SPDX, Fedora no longer wants maintainers to do effective license analysis, hence we no list all the licenses that are applicable to the binary package contents https://docs.fedoraproject.org/en-US/legal/license-field/#_no_effective_license_analysis Note, we

Proposal: renaming 'master' branch to 'main'

2023-01-16 Thread Daniel P . Berrangé
I don't recall exactly when it first came up, but it has been a few years now since the idea of moving away from 'master' as the git default branch name became a topic in OSS communities. Far from the first mention: https://sfconservancy.org/news/2020/jun/23/gitbranchname/ Both gitlab.com and

Re: [libvirt PATCH] rpm: convert license to SPDX format

2023-01-16 Thread Daniel P . Berrangé
On Mon, Jan 16, 2023 at 02:30:51PM +0100, Peter Krempa wrote: > On Mon, Jan 16, 2023 at 08:19:28 -0500, Daniel P. Berrangé wrote: > > Note that with the introduction of SPDX, Fedora no longer wants > > maintainers to do effective license analysis, hence we no list > > *we now list > > > all the

[PATCH v2 3/5] qemu: alias: support crypto device

2023-01-16 Thread zhenwei pi
Support 'cryptoX' alias for a crypto device. Signed-off-by: zhenwei pi --- src/qemu/qemu_alias.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/src/qemu/qemu_alias.c b/src/qemu/qemu_alias.c index ef8e87ab58..de62f57737 100644 --- a/src/qemu/qemu_alias.c +++

[PATCH v2 4/5] qemu: command: support crypto device

2023-01-16 Thread zhenwei pi
Support virtio-crypto device, also support cryptodev types: - builtin - lkcf Finally, we can launch a VM(QEMU) with one or more crypto devices by libvirt. Signed-off-by: zhenwei pi --- src/qemu/qemu_command.c | 110 +++- 1 file changed, 109 insertions(+), 1

[PATCH v2 1/5] conf: introduce crypto device

2023-01-16 Thread zhenwei pi
Introduce crypto device like: Currently, crypto model supports virtio only, type supports qemu only (vhost-user in the plan). For the qemu type, backend supports modle builtin/lkcf, and the queues is optional. Changes in this commit: - docs: formatdomain.rst -

[PATCH v2 2/5] capabilities: introduce crypto

2023-01-16 Thread zhenwei pi
Changes in this commit: - docs: formatdomaincaps.rst - conf: crypto related domain caps - qemu: crypto related - tests: crypto related test Signed-off-by: zhenwei pi --- docs/formatdomaincaps.rst | 33 +++ src/conf/domain_capabilities.c| 15

[PATCH v2 0/5] Support crypto device

2023-01-16 Thread zhenwei pi
v1 -> v2: - Rebase code against the latest commit: 46aee2a9255adf842ab44a9292acb46189a726f7 - Merge previous 1/7 and 2/7 into a single patch: conf: introduce crypto device - Add missing qemuxml2xmltest. - Merge previous 3/7 and 4/7 into a single patch: capabilities: introduce crypto - Add

[PATCH v2 5/5] NEWS: Document 'crypto' device

2023-01-16 Thread zhenwei pi
Signed-off-by: zhenwei pi --- NEWS.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 9baf10b8e9..7bb8b77816 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -44,6 +44,9 @@ v9.0.0 (unreleased) to libvirt and then use them when starting a VM. Currently the FDs can

[PATCH 1/1] qemuProcessEventSubmit : rename vm to event->vm

2023-01-16 Thread Shaleen Bathla
Coverity scan reports use after free issue which is a false positive. In error case, free event->vm instead of vm to avoid this warning in coverity. Coverty CID: 403592 Signed-off-by: Shaleen Bathla --- src/qemu/qemu_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/9] audio: remove special audio_calloc function

2023-01-16 Thread Volker Rümelin
Am 13.01.23 um 17:21 schrieb Daniel P. Berrangé: The audio_calloc function does various checks on the size and nmembers parameters to detect various error conditions. There are only 5 callers * alsa_poll_helper: the pollfd count is small and bounded, * audio_pcm_create_voice_pair_:

Re: [PATCH 1/9] audio: don't check qemu_add_vm_change_state_handler failure

2023-01-16 Thread Volker Rümelin
Am 13.01.23 um 17:21 schrieb Daniel P. Berrangé: This function cannot fail since g_malloc0 aborts on OOM. Signed-off-by: Daniel P. Berrangé --- audio/audio.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/audio/audio.c b/audio/audio.c index d849a94a81..7b4b957945