From f9115dd0e31a1b0ac6b802e3fe2f3305d10291e6 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Wed, 1 Dec 2021 13:26:27 +0100 Subject: [PATCH] libvirt-7.10.0-1.el9 - Rebased to libvirt-7.10.0 (rhbz#2001507) - The rebase also fixes the following bugs: rhbz#2024098, rhbz#1964223, rhbz#2018488, rhbz#2021437, rhbz#2022589 rhbz#2023605, rhbz#1431589, rhbz#2024435, rhbz#2016599, rhbz#1945501 rhbz#2023674 Resolves: rhbz#1431589, rhbz#1945501, rhbz#1964223, rhbz#2001507, rhbz#2016599 Resolves: rhbz#2018488, rhbz#2021437, rhbz#2022589, rhbz#2023605, rhbz#2023674 Resolves: rhbz#2024098, rhbz#2024435 --- ...-RHEL-Fix-virConnectGetMaxVcpus-output.patch | 10 +++++----- libvirt.spec | 17 +++++++++++++++-- sources | 2 +- symlinks | 1 + 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/libvirt-RHEL-Fix-virConnectGetMaxVcpus-output.patch b/libvirt-RHEL-Fix-virConnectGetMaxVcpus-output.patch index 8fecdf9..ccd2aeb 100644 --- a/libvirt-RHEL-Fix-virConnectGetMaxVcpus-output.patch +++ b/libvirt-RHEL-Fix-virConnectGetMaxVcpus-output.patch @@ -1,5 +1,5 @@ -From 48c3540f12f4c14fc8f84de08603f3bf6ccfbd70 Mon Sep 17 00:00:00 2001 -Message-Id: <48c3540f12f4c14fc8f84de08603f3bf6ccfbd70@dist-git> +From 4e5854dd33f113e9aa81f7e1a23c50ac21dbefde Mon Sep 17 00:00:00 2001 +Message-Id: <4e5854dd33f113e9aa81f7e1a23c50ac21dbefde@dist-git> From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 27 Aug 2018 13:09:38 +0200 Subject: [PATCH] RHEL: Fix virConnectGetMaxVcpus output @@ -26,10 +26,10 @@ Reviewed-by: Andrea Bolognani 1 file changed, 5 insertions(+) diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c -index 5dd2baf2df..6811c498f9 100644 +index 67b6910626..d5d7d5eae0 100644 --- a/src/util/virhostcpu.c +++ b/src/util/virhostcpu.c -@@ -1192,6 +1192,11 @@ virHostCPUGetKVMMaxVCPUs(void) +@@ -1189,6 +1189,11 @@ virHostCPUGetKVMMaxVCPUs(void) return -1; } @@ -42,5 +42,5 @@ index 5dd2baf2df..6811c498f9 100644 /* at first try KVM_CAP_MAX_VCPUS to determine the maximum count */ if ((ret = ioctl(fd, KVM_CHECK_EXTENSION, KVM_CAP_MAX_VCPUS)) > 0) -- -2.33.1 +2.34.1 diff --git a/libvirt.spec b/libvirt.spec index 02b334d..8c82c25 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -190,6 +190,10 @@ %define qemu_user qemu %define qemu_group qemu +# Locations for QEMU data +%define qemu_moddir %{_libdir}/qemu +%define qemu_datadir %{_datadir}/qemu + # RHEL releases provide stable tool chains and so it is safe to turn # compiler warning into errors without being worried about frequent @@ -205,7 +209,7 @@ Summary: Library providing a simple virtualization API Name: libvirt -Version: 7.9.0 +Version: 7.10.0 Release: 1%{?dist}%{?extra_release} License: LGPLv2+ URL: https://libvirt.org/ @@ -1180,6 +1184,8 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec) %{arg_packager_version} \ -Dqemu_user=%{qemu_user} \ -Dqemu_group=%{qemu_group} \ + -Dqemu_moddir=%{qemu_moddir} \ + -Dqemu_datadir=%{qemu_datadir} \ -Dtls_priority=%{tls_priority} \ %{?enable_werror} \ -Dexpensive_tests=enabled \ @@ -1212,7 +1218,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/storage-file/*.a rm -f $RPM_BUILD_ROOT%{wireshark_plugindir}/libvirt.la %endif -install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/ # We don't want to install /etc/libvirt/qemu/networks in the main %%files list # because if the admin wants to delete the default network completely, we don't # want to end up re-incarnating it on every RPM upgrade. @@ -2003,6 +2008,7 @@ exit 0 %{_mandir}/man1/virt-pki-validate.1* %{_bindir}/virsh %{_bindir}/virt-xml-validate +%{_bindir}/virt-pki-query-dn %{_bindir}/virt-pki-validate %{_datadir}/bash-completion/completions/virsh @@ -2085,6 +2091,13 @@ exit 0 %changelog +* Wed Dec 1 2021 Jiri Denemark - 7.10.0-1 +- Rebased to libvirt-7.10.0 (rhbz#2001507) +- The rebase also fixes the following bugs: + rhbz#2024098, rhbz#1964223, rhbz#2018488, rhbz#2021437, rhbz#2022589 + rhbz#2023605, rhbz#1431589, rhbz#2024435, rhbz#2016599, rhbz#1945501 + rhbz#2023674 + * Fri Nov 5 2021 Jiri Denemark - 7.9.0-1 - Rebased to libvirt-7.9.0 (rhbz#2001507) - The rebase also fixes the following bugs: diff --git a/sources b/sources index adbdbe5..6d14db1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-7.9.0.tar.xz) = 7185ac3da41f662b8142d144a1360f5ed5471812e6961933f2f404a7b88f32739b9b780c809bb8ce04dd56ff13d4486f60dd6725a660cf9f019e15cae49b36bf +SHA512 (libvirt-7.10.0.tar.xz) = c7eecc9538b68852a8cc67565566d64ec7b087b6f009858b2eb524bc3ef0f6ca3c0da67edf801e6a3ae3fcc0364e65e108fa92bcb01ee810c85fa5f37785aa32 diff --git a/symlinks b/symlinks index 6060043..07ce0ed 100644 --- a/symlinks +++ b/symlinks @@ -164,6 +164,7 @@ tests/qemuxml2xmloutdata/fd-memory-no-numa-topology.xml ../qemuxml2argvdata/fd-m tests/qemuxml2xmloutdata/fd-memory-numa-topology.xml ../qemuxml2argvdata/fd-memory-numa-topology.xml tests/qemuxml2xmloutdata/fd-memory-numa-topology2.xml ../qemuxml2argvdata/fd-memory-numa-topology2.xml tests/qemuxml2xmloutdata/fd-memory-numa-topology3.xml ../qemuxml2argvdata/fd-memory-numa-topology3.xml +tests/qemuxml2xmloutdata/fd-memory-numa-topology4.x86_64-latest.xml ../qemuxml2argvdata/fd-memory-numa-topology4.xml tests/qemuxml2xmloutdata/hugepages-default-2M.xml ../qemuxml2argvdata/hugepages-default-2M.xml tests/qemuxml2xmloutdata/hugepages-default-system-size.xml ../qemuxml2argvdata/hugepages-default-system-size.xml tests/qemuxml2xmloutdata/hugepages-memaccess.xml ../qemuxml2argvdata/hugepages-memaccess.xml