#1092220 libvirt: Cherry-pick upstream patch to run loongarch64 VMs when AppArmor is enabled

#1092220#5
Date:
2025-01-06 12:07:46 UTC
From:
To:
Dear maintainers,

We need to Cherry-pick upstream patch to run loongarch64 VMs when
AppArmor is enabled.
The commit from upstream is
https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/IU7KHMVCORZP4E525RQI7A6BZARXN5CB/.

You can also consider the patch we attached.
And the libvirt 10.10.0-4+loong64 source package was compiled
successfully on my local ENV.
```
......
dpkg-deb: building package 'libvirt-common' in
'../libvirt-common_10.10.0-4+loong64_loong64.deb'.
dpkg-deb: building package 'libvirt-l10n' in
'../libvirt-l10n_10.10.0-4+loong64_all.deb'.
dpkg-deb: building package 'libvirt-doc' in
'../libvirt-doc_10.10.0-4+loong64_all.deb'.
dpkg-deb: building package 'libvirt-dev' in
'../libvirt-dev_10.10.0-4+loong64_loong64.deb'.
dpkg-deb: building package 'libvirt-sanlock' in
'../libvirt-sanlock_10.10.0-4+loong64_loong64.deb'.
  dpkg-genbuildinfo -O../libvirt_10.10.0-4+loong64_loong64.buildinfo
  dpkg-genchanges -O../libvirt_10.10.0-4+loong64_loong64.changes

```
Would it be possible to include the attached patch in the next upload?
You opinions are welcome.

Best regards,
Dandan Zhang

#1092220#10
Date:
2025-01-06 16:02:57 UTC
From:
To:
Control: tags -1 fixed-upstream pending

Thanks for the patch.

However, the next upstream release will be tagged in less than two
weeks, so it doesn't really make sense to prepare another upload
before then. We'll just pick up this fix with the upcoming rebase,
same as #1089607.

Cheers.

#1092220#17
Date:
2025-01-07 01:57:30 UTC
From:
To:
On Mon, 6 Jan 2025 17:02:57 +0100 Andrea Bolognani wrote:
 > Control: tags -1 fixed-upstream pending
 >
 > On Mon, Jan 06, 2025 at 08:07:46PM +0800, zhangdandan wrote:
 > > Dear maintainers,
 > >
 > > We need to Cherry-pick upstream patch to run loongarch64 VMs when
AppArmor
 > > is enabled.
 > > The commit from upstream is
https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/IU7KHMVCORZP4E525RQI7A6BZARXN5CB/.
 > >
 > > You can also consider the patch we attached.
 > > And the libvirt 10.10.0-4+loong64 source package was compiled
successfully
 > > on my local ENV.
 > >
 > > Would it be possible to include the attached patch in the next upload?
 > > You opinions are welcome.
 >
 > Thanks for the patch.
 >
 > However, the next upstream release will be tagged in less than two
 > weeks, so it doesn't really make sense to prepare another upload
 > before then. We'll just pick up this fix with the upcoming rebase,
 > same as #1089607.

Okay. I agree with what you said.
The next Release version of the upstream Libvirt may be released in less
than two weeks.
This commit [1] will be include in the next Release version.
Look forward to Debian libvirt's next upload.

[1]:https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/IU7KHMVCORZP4E525RQI7A6BZARXN5CB/

Best regards,
Dandan Zhang

#1092220#22
Date:
2025-01-18 12:21:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libvirt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1092220@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrea Bolognani <eof@kiyuko.org> (supplier of updated libvirt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 17 Jan 2025 23:39:10 +0100
Source: libvirt
Architecture: source
Version: 11.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
Changed-By: Andrea Bolognani <eof@kiyuko.org>
Closes: 1089607 1092220
Changes:
 libvirt (11.0.0-1) unstable; urgency=medium
 .
   * [e2a1251] New upstream version 11.0.0
     - Closes: #1089607
     - Closes: #1092220
Checksums-Sha1:
 921860012bee28f105c85f363b0b8ea0b4fe9517 7487 libvirt_11.0.0-1.dsc
 d0a5336dfc2715b9e203e2c51a44a1efdcba261b 9700388 libvirt_11.0.0.orig.tar.xz
 86f61c3b70c7eeac2297080d0d2f8188bc12657e 833 libvirt_11.0.0.orig.tar.xz.asc
 45625a28c4e84fb43d90e4b5894db5b0dd1a248e 95516 libvirt_11.0.0-1.debian.tar.xz
 bc5e4a88f0b91a18d266d2b3e3146baac19cd29b 13673 libvirt_11.0.0-1_source.buildinfo
Checksums-Sha256:
 12a9227838e4288bfc68babe1dd12db847b6f252e4136e6d014c4f8be6e1296c 7487 libvirt_11.0.0-1.dsc
 01a176ff4042ad58cf83c09fe0925d6bc8eed0ecce1e0ee19b8ef4c1ffa3806e 9700388 libvirt_11.0.0.orig.tar.xz
 7b0a07cf90a5a3d11d956c6512eaf8d9a0a78eb8f5afbacc5be9bec9b5f66378 833 libvirt_11.0.0.orig.tar.xz.asc
 686cb4e3d65662c0d8b07db0add025046b369e4dac12b51298dfed7b07462917 95516 libvirt_11.0.0-1.debian.tar.xz
 3f609849b9c9e9186cd6b797146d434f339f55a3ff208d038fa968c3e7eab450 13673 libvirt_11.0.0-1_source.buildinfo
Files:
 7489a52846eaed1f283853ae6fe06392 7487 libs optional libvirt_11.0.0-1.dsc
 ab57ae4b9d099dd015ff6299132238a4 9700388 libs optional libvirt_11.0.0.orig.tar.xz
 7c0a7276ed93becbf9bcf233ce0466ab 833 libs optional libvirt_11.0.0.orig.tar.xz.asc
 9cb60c7e70f19ae882d1adcbbe96d2ee 95516 libs optional libvirt_11.0.0-1.debian.tar.xz
 492a0c9d8ee542cbebc172eb94e49d76 13673 libs optional libvirt_11.0.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEO48t9niVypx3EjLf954fxUKFg6wFAmeLl+wPHGVvZkBraXl1
a28ub3JnAAoJEPeeH8VChYOskxwP+wVaE2B0NgUXpfgziyZo4Pr1U8uy1nff4A62
0CKloe/KBIoV8NQ7lEkg7U2koTQuuRJdzwAP6+fYZ9nihXtLhjxYidlPAod2fER1
O1LdvxVhssu//kEqnTFnwcsL/EEj/GJWkf8BlNR/ZW+XUcmL5qoA26FOdUo6T3hL
bYlDbFc39mpmrZyPygoNIVsk5RtOt0kSlW/BPqg9LzaOBOwigAnX8LKdyUkRxisQ
IgCn6rP4C6KChSexCbmwxHmfNLb/A4zgnv5jRyKMfe5F+Fe94IeSUwnNbEFiMRHk
cXlWUlyaYZLt65eTSqmRIRCLehcDGmULNWZL6jTyxAHHZ9w2q7UA7Xiq5JoOvZEQ
M8zv0tOB+zILfxT5h7b5iixeQpI/z/z5+3MItFx1/Cu2SXRF4SyaGVnCmHe8LVJl
H6/6KQOIvIAFPITBA4ThPqlqvqxQWMMF9E5gtDuRSOm6QmVdfFCIemvyrgFf6xG+
ju5jzAIOf9nTIbjxqektGmwax6R5+BXRcN4ohkItIXFCGdr4KxNMVOUCWyaHi9/Y
ZMw5A/yWhO98ezfZT9eCCE7ORGQoNRjTOqbossDqI3kOA5Vvu2nI1RZxQXEtIz7I
jxqSTt7vWfqNgCdsWHgeEf6v4jQxAJuXJvM2/NOhqWeyGJNQdQylvv0MvAFrkGpq
meMEhCyw
=sZOp
-----END PGP SIGNATURE-----