[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] 7 commits: changelog: Create entry for 11.0.0-1

Andrea Bolognani (@abologna) gitlab at salsa.debian.org
Sat Jan 18 11:57:29 GMT 2025



Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt


Commits:
82c35171 by Andrea Bolognani at 2025-01-16T00:11:59+01:00
changelog: Create entry for 11.0.0-1

Gbp-Dch: Ignore

- - - - -
31a4b7d4 by Andrea Bolognani at 2025-01-16T00:21:17+01:00
symbols: Bump symbol versions

No new public symbols.

Gbp-Dch: Ignore

- - - - -
f5337c86 by Andrea Bolognani at 2025-01-16T00:21:17+01:00
patches: Drop backports

Gbp-Dch: Ignore

- - - - -
8586603c by Andrea Bolognani at 2025-01-16T00:21:17+01:00
patches: Refresh patches

Gbp-Dch: Ignore

- - - - -
ce93e329 by Andrea Bolognani at 2025-01-16T00:26:10+01:00
common: Add versioned CPU models

Gbp-Dch: Ignore

- - - - -
14466ec2 by Andrea Bolognani at 2025-01-17T23:38:20+01:00
copyright: Update copyright years

Gbp-Dch: Ignore

- - - - -
1ea30453 by Andrea Bolognani at 2025-01-17T23:39:43+01:00
Document changes and release 11.0.0-1

- - - - -


9 changed files:

- debian/changelog
- debian/copyright
- debian/libvirt-common.install.in
- debian/libvirt0.symbols
- − debian/patches/backport/lxc-remove-no-longer-working-netns-check.patch
- − debian/patches/backport/qemu-tpm-do-not-update-profile-name-for-transient-domains.patch
- − debian/patches/backport/virt-aa-helper-allow-riscv64-EDK-II.patch
- debian/patches/debian/apparmor_profiles_local_include.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libvirt (11.0.0-1) unstable; urgency=medium
+
+  * [e2a1251] New upstream version 11.0.0
+    - Closes: #1089607
+    - Closes: #1092220
+
+ -- Andrea Bolognani <eof at kiyuko.org>  Fri, 17 Jan 2025 23:39:10 +0100
+
 libvirt (10.10.0-4) unstable; urgency=medium
 
   [ Pino Toscano ]


=====================================
debian/copyright
=====================================
@@ -4,7 +4,7 @@ Source: https://libvirt.org/git/?p=libvirt.git
 Comment: in addition see the upstream maintainer AUTHORS file
 
 Files: *
-Copyright: 2005-2024 Red Hat, Inc
+Copyright: 2005-2025 Red Hat, Inc
 License: LGPL-2.1+
 Comment: Among many source files this also includes many generated, test-data or binary files
 


=====================================
debian/libvirt-common.install.in
=====================================
@@ -23,6 +23,7 @@ usr/share/libvirt/cpu_map/ppc64_POWER9.xml
 usr/share/libvirt/cpu_map/ppc64_POWERPC_e5500.xml
 usr/share/libvirt/cpu_map/ppc64_POWERPC_e6500.xml
 usr/share/libvirt/cpu_map/ppc64_vendors.xml
+usr/share/libvirt/cpu_map/x86_486-v1.xml
 usr/share/libvirt/cpu_map/x86_486.xml
 usr/share/libvirt/cpu_map/x86_Broadwell-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml
@@ -39,6 +40,7 @@ usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v3.xml
 usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v4.xml
 usr/share/libvirt/cpu_map/x86_Cascadelake-Server-v5.xml
 usr/share/libvirt/cpu_map/x86_Cascadelake-Server.xml
+usr/share/libvirt/cpu_map/x86_Conroe-v1.xml
 usr/share/libvirt/cpu_map/x86_Conroe.xml
 usr/share/libvirt/cpu_map/x86_Cooperlake-v1.xml
 usr/share/libvirt/cpu_map/x86_Cooperlake-v2.xml
@@ -50,6 +52,7 @@ usr/share/libvirt/cpu_map/x86_Denverton.xml
 usr/share/libvirt/cpu_map/x86_Dhyana-v1.xml
 usr/share/libvirt/cpu_map/x86_Dhyana-v2.xml
 usr/share/libvirt/cpu_map/x86_Dhyana.xml
+usr/share/libvirt/cpu_map/x86_EPYC-Genoa-v1.xml
 usr/share/libvirt/cpu_map/x86_EPYC-Genoa.xml
 usr/share/libvirt/cpu_map/x86_EPYC-IBPB.xml
 usr/share/libvirt/cpu_map/x86_EPYC-Milan-v1.xml
@@ -66,6 +69,7 @@ usr/share/libvirt/cpu_map/x86_EPYC-v3.xml
 usr/share/libvirt/cpu_map/x86_EPYC-v4.xml
 usr/share/libvirt/cpu_map/x86_EPYC.xml
 usr/share/libvirt/cpu_map/x86_GraniteRapids-v1.xml
+usr/share/libvirt/cpu_map/x86_GraniteRapids-v2.xml
 usr/share/libvirt/cpu_map/x86_GraniteRapids.xml
 usr/share/libvirt/cpu_map/x86_Haswell-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Haswell-noTSX-IBRS.xml
@@ -90,16 +94,23 @@ usr/share/libvirt/cpu_map/x86_IvyBridge-IBRS.xml
 usr/share/libvirt/cpu_map/x86_IvyBridge-v1.xml
 usr/share/libvirt/cpu_map/x86_IvyBridge-v2.xml
 usr/share/libvirt/cpu_map/x86_IvyBridge.xml
+usr/share/libvirt/cpu_map/x86_KnightsMill-v1.xml
 usr/share/libvirt/cpu_map/x86_KnightsMill.xml
 usr/share/libvirt/cpu_map/x86_Nehalem-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Nehalem-v1.xml
 usr/share/libvirt/cpu_map/x86_Nehalem-v2.xml
 usr/share/libvirt/cpu_map/x86_Nehalem.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G1-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G1.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G2-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G2.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G3-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G3.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G4-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G4.xml
+usr/share/libvirt/cpu_map/x86_Opteron_G5-v1.xml
 usr/share/libvirt/cpu_map/x86_Opteron_G5.xml
+usr/share/libvirt/cpu_map/x86_Penryn-v1.xml
 usr/share/libvirt/cpu_map/x86_Penryn.xml
 usr/share/libvirt/cpu_map/x86_SandyBridge-IBRS.xml
 usr/share/libvirt/cpu_map/x86_SandyBridge-v1.xml
@@ -135,21 +146,33 @@ usr/share/libvirt/cpu_map/x86_Westmere-IBRS.xml
 usr/share/libvirt/cpu_map/x86_Westmere-v1.xml
 usr/share/libvirt/cpu_map/x86_Westmere-v2.xml
 usr/share/libvirt/cpu_map/x86_Westmere.xml
+usr/share/libvirt/cpu_map/x86_athlon-v1.xml
 usr/share/libvirt/cpu_map/x86_athlon.xml
+usr/share/libvirt/cpu_map/x86_core2duo-v1.xml
 usr/share/libvirt/cpu_map/x86_core2duo.xml
+usr/share/libvirt/cpu_map/x86_coreduo-v1.xml
 usr/share/libvirt/cpu_map/x86_coreduo.xml
 usr/share/libvirt/cpu_map/x86_cpu64-rhel5.xml
 usr/share/libvirt/cpu_map/x86_cpu64-rhel6.xml
 usr/share/libvirt/cpu_map/x86_features.xml
+usr/share/libvirt/cpu_map/x86_kvm32-v1.xml
 usr/share/libvirt/cpu_map/x86_kvm32.xml
+usr/share/libvirt/cpu_map/x86_kvm64-v1.xml
 usr/share/libvirt/cpu_map/x86_kvm64.xml
+usr/share/libvirt/cpu_map/x86_n270-v1.xml
 usr/share/libvirt/cpu_map/x86_n270.xml
+usr/share/libvirt/cpu_map/x86_pentium-v1.xml
 usr/share/libvirt/cpu_map/x86_pentium.xml
+usr/share/libvirt/cpu_map/x86_pentium2-v1.xml
 usr/share/libvirt/cpu_map/x86_pentium2.xml
+usr/share/libvirt/cpu_map/x86_pentium3-v1.xml
 usr/share/libvirt/cpu_map/x86_pentium3.xml
 usr/share/libvirt/cpu_map/x86_pentiumpro.xml
+usr/share/libvirt/cpu_map/x86_phenom-v1.xml
 usr/share/libvirt/cpu_map/x86_phenom.xml
+usr/share/libvirt/cpu_map/x86_qemu32-v1.xml
 usr/share/libvirt/cpu_map/x86_qemu32.xml
+usr/share/libvirt/cpu_map/x86_qemu64-v1.xml
 usr/share/libvirt/cpu_map/x86_qemu64.xml
 usr/share/libvirt/cpu_map/x86_vendors.xml
 usr/share/libvirt/schemas/basictypes.rng


=====================================
debian/libvirt0.symbols
=====================================
@@ -101,7 +101,7 @@ libvirt.so.0 libvirt0 #MINVER#
  *@LIBVIRT_9.7.0 9.7.0
  *@LIBVIRT_10.1.0 10.1.0
  *@LIBVIRT_10.2.0 10.2.0
- *@LIBVIRT_PRIVATE_10.10.0 10.10.0
+ *@LIBVIRT_PRIVATE_11.0.0 11.0.0
 
 libvirt-qemu.so.0 libvirt0 #MINVER#
  *@LIBVIRT_QEMU_0.8.3 0.8.3
@@ -119,4 +119,4 @@ libvirt-admin.so.0 libvirt0 #MINVER#
  *@LIBVIRT_ADMIN_2.0.0 2.0.0~rc1
  *@LIBVIRT_ADMIN_3.0.0 3.0.0
  *@LIBVIRT_ADMIN_8.6.0 8.9.0
- *@LIBVIRT_ADMIN_PRIVATE_10.10.0 10.10.0
+ *@LIBVIRT_ADMIN_PRIVATE_11.0.0 11.0.0


=====================================
debian/patches/backport/lxc-remove-no-longer-working-netns-check.patch deleted
=====================================
@@ -1,112 +0,0 @@
-From: Leigh Brown <leigh at solinno.co.uk>
-Date: Tue, 3 Dec 2024 16:02:08 +0000
-Subject: lxc: remove no longer working netns check
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 8bit
-
-Since iproute2 v6.12.0, the command "ip link set lo netns -1" can
-no longer be used to check for netns support, as it now validates
-PIDs are not less than zero.
-
-Since every kernel we care about has the support, just remove the
-check.
-
-Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
-Signed-off-by: Leigh Brown <leigh at solinno.co.uk>
-(cherry picked from commit dd217cd9382cb7d67b26c5b3b4be07e5ce88ef86)
-
-Forwarded: not-needed
-Origin: https://gitlab.com/libvirt/libvirt/-/commit/dd217cd9382cb7d67b26c5b3b4be07e5ce88ef86
----
- src/lxc/lxc_conf.h   |  1 -
- src/lxc/lxc_driver.c | 36 ------------------------------------
- 2 files changed, 37 deletions(-)
-
-diff --git a/src/lxc/lxc_conf.h b/src/lxc/lxc_conf.h
-index c0967ac..a639e39 100644
---- a/src/lxc/lxc_conf.h
-+++ b/src/lxc/lxc_conf.h
-@@ -49,7 +49,6 @@ struct _virLXCDriverConfig {
-     char *stateDir;
-     char *logDir;
-     bool log_libvirtd;
--    int have_netns;
- 
-     char *securityDriverName;
-     bool securityDefaultConfined;
-diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
-index d682e71..2488940 100644
---- a/src/lxc/lxc_driver.c
-+++ b/src/lxc/lxc_driver.c
-@@ -422,12 +422,6 @@ lxcDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flags)
-     if (virSecurityManagerVerify(driver->securityManager, def) < 0)
-         goto cleanup;
- 
--    if ((def->nets != NULL) && !(cfg->have_netns)) {
--        virReportError(VIR_ERR_OPERATION_INVALID,
--                       "%s", _("System lacks NETNS support"));
--        goto cleanup;
--    }
--
-     if (!(vm = virDomainObjListAdd(driver->domains, &def,
-                                    driver->xmlopt,
-                                    0, &oldDef)))
-@@ -974,12 +968,6 @@ static int lxcDomainCreateWithFiles(virDomainPtr dom,
-     if (virDomainCreateWithFilesEnsureACL(dom->conn, vm->def) < 0)
-         goto cleanup;
- 
--    if ((vm->def->nets != NULL) && !(cfg->have_netns)) {
--        virReportError(VIR_ERR_OPERATION_INVALID,
--                       "%s", _("System lacks NETNS support"));
--        goto cleanup;
--    }
--
-     if (virDomainObjBeginJob(vm, VIR_JOB_MODIFY) < 0)
-         goto cleanup;
- 
-@@ -1088,13 +1076,6 @@ lxcDomainCreateXMLWithFiles(virConnectPtr conn,
-     if (virSecurityManagerVerify(driver->securityManager, def) < 0)
-         goto cleanup;
- 
--    if ((def->nets != NULL) && !(cfg->have_netns)) {
--        virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
--                       "%s", _("System lacks NETNS support"));
--        goto cleanup;
--    }
--
--
-     if (!(vm = virDomainObjListAdd(driver->domains, &def,
-                                    driver->xmlopt,
-                                    VIR_DOMAIN_OBJ_LIST_ADD_LIVE |
-@@ -1386,22 +1367,6 @@ lxcDomainDestroy(virDomainPtr dom)
-     return lxcDomainDestroyFlags(dom, 0);
- }
- 
--static int lxcCheckNetNsSupport(void)
--{
--    g_autoptr(virCommand) cmd = virCommandNewArgList("ip", "link", "set", "lo",
--                                                     "netns", "-1", NULL);
--    int ip_rc;
--
--    if (virCommandRun(cmd, &ip_rc) < 0 || ip_rc == 255)
--        return 0;
--
--    if (virProcessNamespaceAvailable(VIR_PROCESS_NAMESPACE_NET) < 0)
--        return 0;
--
--    return 1;
--}
--
--
- static virSecurityManager *
- lxcSecurityInit(virLXCDriverConfig *cfg)
- {
-@@ -1481,7 +1446,6 @@ lxcStateInitialize(bool privileged,
-         goto cleanup;
- 
-     cfg->log_libvirtd = false; /* by default log to container logfile */
--    cfg->have_netns = lxcCheckNetNsSupport();
- 
-     /* Call function to load lxc driver configuration information */
-     if (virLXCLoadDriverConfig(cfg, SYSCONFDIR "/libvirt/lxc.conf") < 0)


=====================================
debian/patches/backport/qemu-tpm-do-not-update-profile-name-for-transient-domains.patch deleted
=====================================
@@ -1,70 +0,0 @@
-From: =?utf-8?q?J=C3=A1n_Tomko?= <jtomko at redhat.com>
-Date: Tue, 3 Dec 2024 12:00:08 +0100
-Subject: qemu: tpm: do not update profile name for transient domains
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 8bit
-
-If we do not have a persistent definition, there's no point in
-looking for it since we cannot store it.
-
-Also skip the update if the tpm device(s) in the persistent
-definition are different.
-
-This fixes the crash when starting a transient domain.
-
-https://issues.redhat.com/browse/RHEL-69774
-https://gitlab.com/libvirt/libvirt/-/issues/715
-
-Fixes: d79542eec669eb9c449bb8228179e7a87e768017
-Signed-off-by: Ján Tomko <jtomko at redhat.com>
-Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
-Reviewed-by: Stefan Berger <stefanb at linux.ibm.com>
-(cherry picked from commit 81da7a2c2a2d490cddaaa77d3e3b36e210b38bd7)
-
-Bug-Debian: https://bugs.debian.org/1089616
-
-Forwarded: not-needed
-Origin: https://gitlab.com/libvirt/libvirt/-/commit/81da7a2c2a2d490cddaaa77d3e3b36e210b38bd7
----
- src/qemu/qemu_extdevice.c | 13 ++++++++++++-
- src/qemu/qemu_tpm.c       |  2 +-
- 2 files changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/src/qemu/qemu_extdevice.c b/src/qemu/qemu_extdevice.c
-index a6f31f9..954cb32 100644
---- a/src/qemu/qemu_extdevice.c
-+++ b/src/qemu/qemu_extdevice.c
-@@ -190,7 +190,18 @@ qemuExtDevicesStart(virQEMUDriver *driver,
- 
-     for (i = 0; i < def->ntpms; i++) {
-         virDomainTPMDef *tpm = def->tpms[i];
--        virDomainTPMDef *persistentTPMDef = persistentDef->tpms[i];
-+        virDomainTPMDef *persistentTPMDef = NULL;
-+
-+        if (persistentDef) {
-+            /* do not try to update the profile in the persistent definition
-+             * if the device does not match */
-+            if (persistentDef->ntpms == def->ntpms)
-+                persistentTPMDef = persistentDef->tpms[i];
-+            if (persistentTPMDef &&
-+                (persistentTPMDef->type != tpm->type ||
-+                 persistentTPMDef->model != tpm->model))
-+                persistentTPMDef = NULL;
-+        }
- 
-         if (tpm->type == VIR_DOMAIN_TPM_TYPE_EMULATOR &&
-             qemuExtTPMStart(driver, vm, tpm, persistentTPMDef,
-diff --git a/src/qemu/qemu_tpm.c b/src/qemu/qemu_tpm.c
-index f223dcb..f5e0184 100644
---- a/src/qemu/qemu_tpm.c
-+++ b/src/qemu/qemu_tpm.c
-@@ -773,7 +773,7 @@ qemuTPMEmulatorBuildCommand(virDomainTPMDef *tpm,
-                                 incomingMigration) < 0)
-         goto error;
- 
--    if (run_setup && !incomingMigration &&
-+    if (run_setup && !incomingMigration && persistentTPMDef &&
-         qemuTPMEmulatorUpdateProfileName(&tpm->data.emulator, persistentTPMDef,
-                                          cfg, saveDef) < 0)
-         goto error;


=====================================
debian/patches/backport/virt-aa-helper-allow-riscv64-EDK-II.patch deleted
=====================================
@@ -1,31 +0,0 @@
-From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
-Date: Mon, 9 Dec 2024 12:41:10 +0100
-Subject: virt-aa-helper: allow riscv64 EDK II
-
-Debian has packaged EDK II for 64-bit RISC-V in directory
-/usr/share/qemu-efi-riscv64/.
-
-For usage with libvirt update the AppArmor helper.
-
-Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
-Reviewed-by: Andrea Bolognani <abologna at redhat.com>
-(cherry picked from commit c63bdd17b9f5c31a2511f173d60455b83d22c561)
-
-Forwarded: not-needed
-Origin: https://gitlab.com/libvirt/libvirt/-/commit/c63bdd17b9f5c31a2511f173d60455b83d22c561
----
- src/security/virt-aa-helper.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
-index e82b5de..1cf9d7a 100644
---- a/src/security/virt-aa-helper.c
-+++ b/src/security/virt-aa-helper.c
-@@ -481,6 +481,7 @@ valid_path(const char *path, const bool readonly)
-         "/usr/share/AAVMF/",
-         "/usr/share/qemu-efi/",              /* for AAVMF images */
-         "/usr/share/qemu-efi-aarch64/",
-+        "/usr/share/qemu-efi-riscv64/",
-         "/usr/share/qemu/",                  /* SUSE path for OVMF and AAVMF images */
-         "/usr/lib/u-boot/",
-         "/usr/lib/riscv64-linux-gnu/opensbi",


=====================================
debian/patches/debian/apparmor_profiles_local_include.patch
=====================================
@@ -27,10 +27,10 @@ index ffe4d8f..2973b00 100644
 +  include if exists <local/abstractions/libvirt-lxc>
  @END_APPARMOR_3@
 diff --git a/src/security/apparmor/libvirt-qemu.in b/src/security/apparmor/libvirt-qemu.in
-index 694da26..8e81307 100644
+index c630775..46076d6 100644
 --- a/src/security/apparmor/libvirt-qemu.in
 +++ b/src/security/apparmor/libvirt-qemu.in
-@@ -282,4 +282,11 @@
+@@ -283,4 +283,11 @@
  
  @BEGIN_APPARMOR_3@
    include if exists <abstractions/libvirt-qemu.d>


=====================================
debian/patches/series
=====================================
@@ -1,6 +1,3 @@
-backport/virt-aa-helper-allow-riscv64-EDK-II.patch
-backport/qemu-tpm-do-not-update-profile-name-for-transient-domains.patch
-backport/lxc-remove-no-longer-working-netns-check.patch
 debian/Debianize-libvirt-guests.patch
 debian/apparmor_profiles_local_include.patch
 debian/Use-sensible-editor-by-default.patch



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/compare/32431e558526e49a34b5505e6b8f578f8f868751...1ea3045349f655f716e85b1f810bbd02549d4dd2

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/compare/32431e558526e49a34b5505e6b8f578f8f868751...1ea3045349f655f716e85b1f810bbd02549d4dd2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20250118/9cbb33b9/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list