libvirt-python-8.7.0-1.el9
- Rebased to libvirt-python-8.7.0 (rhbz#2124467) Resolves: rhbz#2124467
This commit is contained in:
parent
d2a735cd61
commit
27a4e751cb
@ -1,42 +0,0 @@
|
|||||||
From 75d1f57e95c4447a607b8007da54af5bbec34850 Mon Sep 17 00:00:00 2001
|
|
||||||
Message-Id: <75d1f57e95c4447a607b8007da54af5bbec34850@dist-git>
|
|
||||||
From: Michal Privoznik <mprivozn@redhat.com>
|
|
||||||
Date: Thu, 7 Jul 2022 16:04:10 +0200
|
|
||||||
Subject: [PATCH] Add VIR_DOMAIN_IOTHREAD_THREAD_POOL_{MIN,MAX} macros
|
|
||||||
|
|
||||||
The python version of virDomainSetIOThreadParams
|
|
||||||
(setIOThreadParams()), expects two arguments on input: the thread
|
|
||||||
ID and a dictionary which is then translated into our typed
|
|
||||||
parameters. During this translation we use a helper array which
|
|
||||||
holds type for each typed parameter supported
|
|
||||||
(virPyDomainSetIOThreadParams[]). Otherwise we guess what the
|
|
||||||
correct type is. Now, when introducing
|
|
||||||
VIR_DOMAIN_IOTHREAD_THREAD_POOL_{MIN,MAX} typed params into
|
|
||||||
libvirt I forgot to update the array. Do that now.
|
|
||||||
|
|
||||||
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
||||||
(cherry picked from commit b943a5bd18b4cc765719c0dbc628a077c3db4d52)
|
|
||||||
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2117475
|
|
||||||
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
||||||
---
|
|
||||||
libvirt-override.c | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/libvirt-override.c b/libvirt-override.c
|
|
||||||
index cba67d9..2a2a7dd 100644
|
|
||||||
--- a/libvirt-override.c
|
|
||||||
+++ b/libvirt-override.c
|
|
||||||
@@ -1695,6 +1695,10 @@ static virPyTypedParamsHint virPyDomainSetIOThreadParams[] = {
|
|
||||||
{ VIR_DOMAIN_IOTHREAD_POLL_MAX_NS, VIR_TYPED_PARAM_ULLONG },
|
|
||||||
{ VIR_DOMAIN_IOTHREAD_POLL_GROW, VIR_TYPED_PARAM_UINT },
|
|
||||||
{ VIR_DOMAIN_IOTHREAD_POLL_SHRINK, VIR_TYPED_PARAM_UINT },
|
|
||||||
+# if LIBVIR_CHECK_VERSION(8, 5, 0)
|
|
||||||
+ { VIR_DOMAIN_IOTHREAD_THREAD_POOL_MIN, VIR_TYPED_PARAM_INT },
|
|
||||||
+ { VIR_DOMAIN_IOTHREAD_THREAD_POOL_MAX, VIR_TYPED_PARAM_INT },
|
|
||||||
+# endif /* LIBVIR_CHECK_VERSION(8, 5, 0) */
|
|
||||||
};
|
|
||||||
|
|
||||||
static PyObject *
|
|
||||||
--
|
|
||||||
2.35.1
|
|
||||||
|
|
@ -14,15 +14,13 @@
|
|||||||
|
|
||||||
Summary: The libvirt virtualization API python3 binding
|
Summary: The libvirt virtualization API python3 binding
|
||||||
Name: libvirt-python
|
Name: libvirt-python
|
||||||
Version: 8.5.0
|
Version: 8.7.0
|
||||||
Release: 2%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
Source0: https://libvirt.org/sources/python/%{name}-%{version}.tar.gz
|
||||||
Patch1: libvirt-python-Add-VIR_DOMAIN_IOTHREAD_THREAD_POOL_-MIN-MAX-macros.patch
|
|
||||||
|
|
||||||
Url: https://libvirt.org
|
Url: https://libvirt.org
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: libvirt-devel >= 8.5.0-5
|
BuildRequires: libvirt-devel >= 8.7.0-1
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-lxml
|
BuildRequires: python3-lxml
|
||||||
@ -93,6 +91,9 @@ exit 1
|
|||||||
%{python3_sitearch}/*egg-info
|
%{python3_sitearch}/*egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 26 2022 Jiri Denemark <jdenemar@redhat.com> - 8.7.0-1
|
||||||
|
- Rebased to libvirt-python-8.7.0 (rhbz#2124467)
|
||||||
|
|
||||||
* Thu Aug 18 2022 Jiri Denemark <jdenemar@redhat.com> - 8.5.0-2
|
* Thu Aug 18 2022 Jiri Denemark <jdenemar@redhat.com> - 8.5.0-2
|
||||||
- Add VIR_DOMAIN_IOTHREAD_THREAD_POOL_{MIN,MAX} macros (rhbz#2117475)
|
- Add VIR_DOMAIN_IOTHREAD_THREAD_POOL_{MIN,MAX} macros (rhbz#2117475)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libvirt-python-8.5.0.tar.gz) = 0e922301243200229c01659e57b4abad69a85931ea3ffcb70b117f313971d266d036dc6c1dbe42d48380d5ad9ed72326603101eb33d6a68dd6b7253a6e197aff
|
SHA512 (libvirt-python-8.7.0.tar.gz) = f7883964875657a11c6756e31fda59eadba8394b71dda04df366aac85b163f3ffb379054bace38922d10d0b8972d1e1210d1513498cfd5cd8f0b76d6985ee945
|
||||||
|
Loading…
Reference in New Issue
Block a user