[PATCH] storage: zfs: Use 'zfs list' to check pool status

2023-07-03 Thread Matt Low
The current virtStorageBackendZFSCheckPool checks for the existence of a path under /dev/zvol/ to determine if the pool is active. ZFS does not create a path under /dev/zvol/ if no ZFS volumes have been created under a particular dataset, thus, empty ZFS storage pools are deactivated whenever

Re: [PATCH v1] ci: disable usage of libattr in Leap

2023-07-03 Thread Andrea Bolognani
On Mon, Jul 03, 2023 at 04:00:00PM +0200, Olaf Hering wrote: > Mon, 3 Jul 2023 15:10:41 +0200 Peter Krempa : > > Could you explain why this is needed in the first place? > > Just to make it clear that attr can not be used in this environment > because it is slightly older than expected. > > I

Re: [PATCH v1] ci: disable usage of libattr in Leap

2023-07-03 Thread Daniel P . Berrangé
On Mon, Jul 03, 2023 at 02:42:57PM +0200, Olaf Hering wrote: > Commit dffeef89ef ("meson: attr_dep switch to dependency()") made > libattr.pc mandatory. If opensuse 15 doesn't have the libattr.pc file, then we need to revert that commit, because that commit was accepted on the basis that all

Re: [PATCH v1] ci: disable usage of libattr in Leap

2023-07-03 Thread Olaf Hering
Mon, 3 Jul 2023 15:10:41 +0200 Peter Krempa : > Could you explain why this is needed in the first place? Just to make it clear that attr can not be used in this environment because it is slightly older than expected. I missed the header of that file, sorry. Olaf pgphVvhzI4iCe.pgp

Re: [libvirt PATCH v2 4/4] qemu: enable asynchronous teardown on s390x hosts

2023-07-03 Thread Boris Fiuczynski
On 6/28/23 10:26 PM, Jonathon Jongsma wrote: On 6/27/23 10:51 AM, Boris Fiuczynski wrote: Enablement of asynchronous teardown on S390 and add tests for asynchronous teardown autogeneration support. I don't know all of the implications of enabling vs not enabling this feature. It sounds like

Re: [PATCH v1] ci: disable usage of libattr in Leap

2023-07-03 Thread Peter Krempa
On Mon, Jul 03, 2023 at 14:42:57 +0200, Olaf Hering wrote: > Commit dffeef89ef ("meson: attr_dep switch to dependency()") made > libattr.pc mandatory. Could you explain why this is needed in the first place? > Signed-off-by: Olaf Hering > --- > ci/containers/opensuse-leap-15.Dockerfile | 2 +-

[PATCH] NEWS: Fix vertical spacing

2023-07-03 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- Pushed as trivial. NEWS.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.rst b/NEWS.rst index cafdb4a773..f0792f4094 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -78,7 +78,6 @@ v9.5.0 (2023-07-03) to access all configured NUMA

[PATCH v1] ci: disable usage of libattr in Leap

2023-07-03 Thread Olaf Hering
Commit dffeef89ef ("meson: attr_dep switch to dependency()") made libattr.pc mandatory. Signed-off-by: Olaf Hering --- ci/containers/opensuse-leap-15.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/containers/opensuse-leap-15.Dockerfile

Release of libvirt-9.5.0

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

Re: [PATCH] spec: Do not disable some systemd units of newly split package

2023-07-03 Thread Andrea Bolognani
On Fri, Jun 30, 2023 at 01:46:05PM -0600, Jim Fehlig wrote: > On 6/30/23 10:58, Andrea Bolognani wrote: > > In the immediate future, I think we should look into implementing a > > similar logic to that of openSUSE in the libvirt spec. This would > > take care of solving both of the issue that I

Re: [PATCH] os-posix: Allow 'chroot' via '-run-with' and deprecate the old '-chroot' option

2023-07-03 Thread Michael Tokarev
30.06.2023 18:01, Thomas Huth wrote: We recently introduced "-run-with" for options that influence the runtime behavior of QEMU. This option has the big advantage that it can group related options (so that it is easier for the users to spot them) and that the options become introspectable via

Re: [PATCH] os-posix: Allow 'chroot' via '-run-with' and deprecate the old '-chroot' option

2023-07-03 Thread Claudio Imbrenda
On Fri, 30 Jun 2023 17:01:12 +0200 Thomas Huth wrote: > We recently introduced "-run-with" for options that influence the > runtime behavior of QEMU. This option has the big advantage that it > can group related options (so that it is easier for the users to spot > them) and that the options

[libvirt] [PATCH RESEND 0/4] Introduce Notification VM exit feature (kvm x86 only)

2023-07-03 Thread Lin Ma
Kernel supports Notification VM exit feature since v6.0 under commit 2f4073e0. QEMU supports it as well since v7.2 under commit e2e69f6b. Lin Ma (4): conf: Introduce notify VM exit feature qemu: Validate notify VM exit feature is available only on x86 qemu: Generate command line for notify

[libvirt] [PATCH RESEND 3/4] qemu: Generate command line for notify VM exit feature

2023-07-03 Thread Lin Ma
Signed-off-by: Lin Ma --- src/qemu/qemu_command.c | 20 +--- tests/qemuxml2argvdata/kvm-features.args | 2 +- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 656cf55c1e..0b72aed72a 100644

[libvirt] [PATCH RESEND 4/4] NEWS: Document notify VM exit feature

2023-07-03 Thread Lin Ma
Signed-off-by: Lin Ma --- NEWS.rst | 8 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 5c28a0579d..4d2b43cbd7 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -24,6 +24,14 @@ v9.5.0 (unreleased) image on discard requests. Disabling cluster unrefing decreases

[libvirt] [PATCH RESEND 1/4] conf: Introduce notify VM exit feature

2023-07-03 Thread Lin Ma
VMX(kernel v6.0) supports Notification VM exit feature under commit 2f4073e0. QEMU supports it as well since v7.2 under commit e2e69f6b. Add this feature into libvirt now. An example of Domain XML snippet to configure this feature: Signed-off-by: Lin Ma ---

[libvirt] [PATCH RESEND 2/4] qemu: Validate notify VM exit feature is available only on x86

2023-07-03 Thread Lin Ma
Signed-off-by: Lin Ma --- src/qemu/qemu_validate.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index a53729d349..6ec5af0028 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -219,8