SHA256
1
0
forked from pool/libvirt

66 Commits

Author SHA256 Message Date
bd5d288caf Update to libvirt v12.0.0
Update SLFO:Main with libvirt v12.0.0. Includes implementation for
jsc#PED-14592, jsc#PED-14597, jsc#PED-14623 and jsc#PED-15320.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
2026-01-19 19:19:36 -07:00
294db76641 Update to libvirt 11.10.0
Update SLFO:Main with latest Factory libvirt package. Includes fixes for
CVE-2025-12748, CVE-2025-13193, and impl for jsc#PED-155.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
2025-12-15 16:53:26 -07:00
717eccd6e4 Sync changes to SLFO-1.2 branch 2025-08-20 09:45:21 +02:00
eb61f5a654 Accepting request 1298163 from Virtualization
- Set virt_hooks_unconfined boolean to true in libvirt-daemon-hooks
  %post script (see comment 13 in bsc#1242998)

OBS-URL: https://build.opensuse.org/request/show/1298163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=429
2025-08-09 17:58:42 +00:00
e49fc96f10 - Set virt_hooks_unconfined boolean to true in libvirt-daemon-hooks
%post script (see comment 13 in bsc#1242998)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1092
2025-08-07 14:30:05 +00:00
97a2a0831a Accepting request 1297129 from Virtualization
- Update to libvirt 11.6.0
  - Revert commit c2c165ea6c to fix build with old libattr in SLE15
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-6-0-2025-08-01

OBS-URL: https://build.opensuse.org/request/show/1297129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=428
2025-08-03 11:36:00 +00:00
8aeff44076 - Update to libvirt 11.6.0
- Revert commit c2c165ea6c to fix build with old libattr in SLE15
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-6-0-2025-08-01

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1091
2025-08-01 21:56:57 +00:00
818474a9e1 Accepting request 1291368 from Virtualization
Factory update for libvirt that contains a bug fix and amendment to
a previous changelog entry.

- qemu: ARM: Change default SCSI controller model from 'lsilogic'
  to 'virtio-scsi'
  bsc#1240762

OBS-URL: https://build.opensuse.org/request/show/1291368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=427
2025-07-09 15:26:30 +00:00
c1f83d7e4b - qemu: ARM: Change default SCSI controller model from 'lsilogic'
to 'virtio-scsi'
  bsc#1240762

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1090
2025-07-08 21:42:51 +00:00
8f5973a706 Add jira reference to previous changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1089
2025-07-08 21:18:50 +00:00
77a8d0fcfb Accepting request 1289695 from Virtualization
- Update to libvirt 11.5.0
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-5-0-2025-07-01

- qemu: Use numa-preplace instead of numad for numa placement advice
  bsc#1242979

OBS-URL: https://build.opensuse.org/request/show/1289695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=426
2025-07-02 10:07:10 +00:00
757282f45c - Update to libvirt 11.5.0
- Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-5-0-2025-07-01

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1088
2025-07-01 23:18:31 +00:00
956a9208d3 - qemu: Use numa-preplace instead of numad for numa placement advice
bsc#1242979

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1087
2025-07-01 17:05:28 +00:00
91c0f97542 Accepting request 1285550 from Virtualization
This is a minor change that simply adds a missing bug
number to the last changelog entry.

OBS-URL: https://build.opensuse.org/request/show/1285550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=425
2025-06-16 09:11:49 +00:00
3d8c1fddca add bug number to last changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1086
2025-06-13 16:04:20 +00:00
bcadddf245 Accepting request 1283752 from Virtualization
- Update to libvirt 11.4.0
  - bsc#1241481, boo#1243740
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-4-0-2025-06-02
- spec: Drop support for old distros

OBS-URL: https://build.opensuse.org/request/show/1283752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=424
2025-06-10 06:56:03 +00:00
0c760d25c4 - Update to libvirt 11.4.0
- bsc#1241481, boo#1243740
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-4-0-2025-06-02
- spec: Drop support for old distros

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1085
2025-06-06 22:58:10 +00:00
f201057d75 Accepting request 1280995 from Virtualization
- spec: Drop dependencies on the nwfilter driver (which requires
  iptables) for Factory and SLFO
  boo#1231798, jsc#PED-12034

OBS-URL: https://build.opensuse.org/request/show/1280995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=423
2025-06-01 19:36:06 +00:00
b388cf2d20 Drop nwfilter deps for Factory as well as SLFO
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1084
2025-05-28 21:09:21 +00:00
9c62e96d10 - spec: Drop dependencies on the nwfilter driver (which requires
iptables) for SLFO
  jsc#PED-12034

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1083
2025-05-28 17:42:41 +00:00
0a6ce69110 Accepting request 1274735 from Virtualization
- Update to libvirt 11.3.0
  - bsc#1241952
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-3-0-2025-05-02
- spec: Build with fuse3
  boo#1242081

OBS-URL: https://build.opensuse.org/request/show/1274735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=422
2025-05-07 17:14:41 +00:00
fb896e7f99 - Update to libvirt 11.3.0
- bsc#1241952
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-3-0-2025-05-02
- spec: Build with fuse3
  boo#1242081

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1082
2025-05-05 20:40:20 +00:00
0426ebfdab Accepting request 1268494 from Virtualization
Fix bug and add jira numbers to previous changelog entry

- cpu_map: Install Ampere-1 ARM CPU models
  bsc#1240922

  - jsc#PED-6556, jsc#PED-11466

OBS-URL: https://build.opensuse.org/request/show/1268494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=421
2025-04-11 14:45:57 +00:00
5fc902260d Add missing jira numbers to changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1081
2025-04-10 22:13:57 +00:00
6c80bf4dc6 - cpu_map: Install Ampere-1 ARM CPU models
bsc#1240922

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1080
2025-04-10 16:32:42 +00:00
c15ea67525 Accepting request 1266337 from Virtualization
- Update to libvirt 11.2.0
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-2-0-2025-04-01

OBS-URL: https://build.opensuse.org/request/show/1266337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=420
2025-04-03 16:40:41 +00:00
b92f95bec8 - Update to libvirt 11.2.0
- Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-2-0-2025-04-01

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1079
2025-04-01 22:20:23 +00:00
4cb7342036 Accepting request 1255147 from Virtualization
- spec: Disable rbd storage driver for SLFO
  bsc#1239836

OBS-URL: https://build.opensuse.org/request/show/1255147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=419
2025-03-25 21:07:20 +00:00
690adf3ef8 - spec: Disable rbd storage driver for SLFO
bsc#1239836

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1078
2025-03-21 22:32:47 +00:00
e24fb825d5 Accepting request 1249952 from Virtualization
- Update to libvirt 11.1.0
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-1-0-2025-03-03

OBS-URL: https://build.opensuse.org/request/show/1249952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=418
2025-03-05 12:39:19 +00:00
e174b42b8e - Update to libvirt 11.1.0
- Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-1-0-2025-03-03

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1077
2025-03-04 00:00:18 +00:00
4e05341761 Accepting request 1248244 from Virtualization
- Adjust downstream patch 'Add virt-create-rootfs utility' to only
  install virt-create-rootfs when building the LXC driver

OBS-URL: https://build.opensuse.org/request/show/1248244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=417
2025-02-25 15:40:22 +00:00
8d14742024 - Adjust downstream patch 'Add virt-create-rootfs utility' to only
install virt-create-rootfs when building the LXC driver

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1076
2025-02-24 21:10:06 +00:00
7ad55a2571 Accepting request 1246814 from Virtualization
- spec: Add note about packages with no files
  bsc#1237228

OBS-URL: https://build.opensuse.org/request/show/1246814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=416
2025-02-20 15:27:05 +00:00
834098a606 - spec: Add note about packages with no files
bsc#1237228

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1075
2025-02-18 23:59:13 +00:00
661a61482f Accepting request 1242924 from Virtualization
- spec: Change hooks dependency from libvirtd to the qemu driver
  bsc#1236378

OBS-URL: https://build.opensuse.org/request/show/1242924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=415
2025-02-04 17:10:47 +00:00
4181e31096 - spec: Change hooks dependency from libvirtd to the qemu driver
bsc#1236378

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1074
2025-02-03 21:54:07 +00:00
5f982ffcfa Accepting request 1238337 from Virtualization
- Update to libvirt 11.0.0
  - jsc#PED-5899, jsc#PED-8909, jsc#PED-9543, jsc#PED-9854,
    jsc#PED-9855
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-0-0-2025-01-15

OBS-URL: https://build.opensuse.org/request/show/1238337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=414
2025-01-17 17:37:36 +00:00
06e83a236d - Update to libvirt 11.0.0
- jsc#PED-5899, jsc#PED-8909, jsc#PED-9543, jsc#PED-9854,
    jsc#PED-9855
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v11-0-0-2025-01-15

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1073
2025-01-16 20:50:07 +00:00
5813c4fecd Accepting request 1237523 from Virtualization
- Convert from tar_scm to obs_scm: allow OBS internal data
  structure to be more efficient by using .obscpio files

OBS-URL: https://build.opensuse.org/request/show/1237523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=413
2025-01-14 15:21:51 +00:00
9d6f53075e Don't use TAG_OFFSET in version
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1072
2025-01-13 15:54:25 +00:00
770118991a Fix typo as noticed by @dmach
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1071
2025-01-10 15:45:06 +00:00
c8eb785b6c Resubmit, reported issues corrected
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1070
2025-01-09 23:30:06 +00:00
c1cf2e649c Accepting request 1235461 from Virtualization
- security: apparmor: Fix probing of apparmor availability on the
  VM host when using modular daemons
  bsc#1235079

OBS-URL: https://build.opensuse.org/request/show/1235461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=412
2025-01-09 14:04:52 +00:00
f835a8d769 - security: apparmor: Fix probing of apparmor availability on the
VM host when using modular daemons
  bsc#1235079

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1069
2025-01-06 22:47:12 +00:00
5b3c2917f3 Accepting request 1234786 from Virtualization
- tests: Extend EOY check in virtimetest
  boo#1234995

OBS-URL: https://build.opensuse.org/request/show/1234786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=411
2025-01-06 15:04:28 +00:00
562eab87e5 - tests: Extend EOY check in virtimetest
boo#1234995

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1068
2025-01-03 19:41:48 +00:00
c6372193f2 revert, see https://bugzilla.opensuse.org/1234995
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1067
2025-01-02 12:45:46 +00:00
e9c5e13c89 - Disable test 28, virtimetest, that started to fail with the change
to year 2025. 
  This is a temporary fix since this is blocking Tumbleweed development.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1066
2025-01-02 10:55:45 +00:00
3c01867780 Accepting request 1233161 from Virtualization
Fix recent changelog entries containing improper jir references

OBS-URL: https://build.opensuse.org/request/show/1233161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=410
2024-12-24 15:25:53 +00:00
cae3d798c7 fix changelog entries
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1064
2024-12-23 16:46:03 +00:00
5ecf467252 Accepting request 1230648 from Virtualization
- qemu: tpm: do not update profile name for transient domains
  Fixes a crash when starting a transient domain
  boo#1234438

OBS-URL: https://build.opensuse.org/request/show/1230648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=409
2024-12-13 21:32:59 +00:00
513e53c690 - qemu: tpm: do not update profile name for transient domains
Fixes a crash when starting a transient domain
  boo#1234438

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1062
2024-12-12 18:07:13 +00:00
98baeb5028 Accepting request 1228124 from Virtualization
- Update to libvirt 10.10.0
  - jsc#PED-8909, jsc#PED-9543, jsc#9854, jsc#9855
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v10-10-0-2024-12-02

OBS-URL: https://build.opensuse.org/request/show/1228124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=408
2024-12-05 16:05:09 +00:00
367d364765 - Update to libvirt 10.10.0
- jsc#PED-8909, jsc#PED-9543, jsc#9854, jsc#9855
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v10-10-0-2024-12-02

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1060
2024-12-04 00:06:49 +00:00
86ddb926be Accepting request 1223830 from Virtualization
Add missing bug and CVE references to the changelog. This will
make it easier to directly use the Factory package in SUSE projects.

OBS-URL: https://build.opensuse.org/request/show/1223830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=407
2024-11-13 14:27:51 +00:00
cfa18afa7d Add missing bug and CVE references to the changelog. This will
make it easier to directly use the Factory package in SUSE projects.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1058
2024-11-13 03:35:00 +00:00
868ffec8a2 Accepting request 1221257 from Virtualization
- json: do not call json_tokener_free with NULL
  Fixes potential SEGV in libvirt-nss module
  boo#1232726

OBS-URL: https://build.opensuse.org/request/show/1221257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=406
2024-11-05 14:39:35 +00:00
25d1ead1da - json: do not call json_tokener_free with NULL
Fixes potential SEGV in libvirt-nss module
  boo#1232726

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1056
2024-11-04 21:08:11 +00:00
860ae08d00 Accepting request 1220116 from Virtualization
- Update to libvirt 10.9.0
  - jsc#PED-8909, jsc#9854, jsc#9855
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v10-9-0-2024-11-01

OBS-URL: https://build.opensuse.org/request/show/1220116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=405
2024-11-03 06:17:04 +00:00
d8ec8fd063 - Update to libvirt 10.9.0
- jsc#PED-8909, jsc#9854, jsc#9855
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v10-9-0-2024-11-01

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1054
2024-11-01 20:18:58 +00:00
b751d1a940 Accepting request 1217084 from Virtualization
- spec: Use default_firewall_backend prjconf setting
- spec: Loosen nwfilter dependency
  boo#1231798

OBS-URL: https://build.opensuse.org/request/show/1217084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=404
2024-10-23 19:08:22 +00:00
7fbd76ca0e - spec: Use default_firewall_backend prjconf setting
- spec: Loosen nwfilter dependency
  boo#1231798

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1052
2024-10-22 16:07:44 +00:00
09d8d74b8d Accepting request 1205278 from Virtualization
- Update to libvirt 10.8.0
  - libvirt-daemon-driver-storage-core: Change dependency on
    nfs-utils from Requires to Recommends
  - Switch from YAJL to json-c for JSON parsing and formatting
  - jsc#PED-8909
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v10-8-0-2024-10-01

OBS-URL: https://build.opensuse.org/request/show/1205278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=403
2024-10-03 16:00:28 +00:00
5636ab946d tweak latest changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1050
2024-10-02 15:58:24 +00:00
3d3d9542a5 - Update to libvirt 10.8.0
- Switch from YAJL to json-c for JSON parsing and formatting
  - jsc#PED-8909
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v10-8-0-2024-10-01

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1049
2024-10-01 21:18:37 +00:00
6 changed files with 365 additions and 127 deletions

View File

@@ -1,18 +1,19 @@
<services>
<service name="tar_scm" mode="manual">
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/openSUSE/libvirt.git</param>
<param name="url">https://gitlab.suse.de/virtualization/libvirt.git</param>
<param name="revision">factory</param>
<param name="extract">libvirt.spec</param>
<param name="extract">README.packaging.txt</param>
<param name="extract">libvirt-supportconfig</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">[v]?([^-+a-z]+)(.*)</param>
<param name="versionrewrite-pattern">[v]?([^-a-z]+)(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service name="set_version" mode="manual"/>
<service name="recompress" mode="manual">
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2314e043bc143e5fbc2f4d2c5127cfe9926485716b2e54ed9724ba38ac1587e4
size 9849808

BIN
libvirt-12.0.0.obscpio LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,230 @@
-------------------------------------------------------------------
Thu Jan 15 18:32:20 UTC 2026 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 12.0.0
- jsc#PED-14592, jsc#PED-14597, jsc#PED-14623, jsc#PED-15320
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v12-0-0-2026-01-15
-------------------------------------------------------------------
Tue Dec 16 00:33:28 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Deactive gluster backend, package is going away for being
unmaintained.
-------------------------------------------------------------------
Mon Dec 1 21:57:32 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.10.0
- build: drop userfaultfd_sysctl option
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-10-0-2025-12-01
-------------------------------------------------------------------
Wed Nov 19 03:10:14 UTC 2025 - James Fehlig <jfehlig@suse.com>
- CVE-2025-13193: qemu: Set umask for 'qemu-img' when creating
external inactive snapshots
bsc#1253703
-------------------------------------------------------------------
Sat Nov 15 02:41:49 UTC 2025 - James Fehlig <jfehlig@suse.com>
- spec: Adjust dbus dependency
bsc#1253642
- CVE-2025-12748: Check ACLs before parsing the whole domain XML
bsc#1253278
-------------------------------------------------------------------
Wed Nov 5 18:33:48 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.9.0
- jsc#PED-155, bsc#1251789: By default, VMs are now confined by
the security framework (apparmor or selinux) active on the host
- bsc#1252958: Fix build with wireshark 4.6.0
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-9-0-2025-11-03
-------------------------------------------------------------------
Mon Oct 6 17:31:16 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.8.0
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-8-0-2025-10-01
-------------------------------------------------------------------
Tue Sep 2 17:04:02 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.7.0
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-7-0-2025-09-01
-------------------------------------------------------------------
Wed Aug 6 17:55:30 UTC 2025 - Cathy Hu <cathy.hu@suse.com>
- Set virt_hooks_unconfined boolean to true in libvirt-daemon-hooks
%post script (see comment 13 in bsc#1242998)
-------------------------------------------------------------------
Tue Jul 8 21:33:25 UTC 2025 - James Fehlig <jfehlig@suse.com>
- qemu: ARM: Change default SCSI controller model from 'lsilogic'
to 'virtio-scsi'
bsc#1240762
-------------------------------------------------------------------
Tue Jul 1 16:56:29 UTC 2025 - James Fehlig <jfehlig@suse.com>
- qemu: Use numa-preplace instead of numad for numa placement advice
bsc#1242979, jsc#PED-12821
-------------------------------------------------------------------
Fri Jun 6 22:32:30 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.4.0
- bsc#1241481, boo#1243740, bsc#1244488
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-4-0-2025-06-02
- spec: Drop support for old distros
-------------------------------------------------------------------
Wed May 28 17:20:09 UTC 2025 - James Fehlig <jfehlig@suse.com>
- spec: Drop dependencies on the nwfilter driver (which requires
iptables) for Factory and SLFO
boo#1231798, jsc#PED-12034
-------------------------------------------------------------------
Mon May 5 15:47:51 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.3.0
- bsc#1241952
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-3-0-2025-05-02
- spec: Build with fuse3
boo#1242081
-------------------------------------------------------------------
Thu Apr 10 14:53:16 UTC 2025 - James Fehlig <jfehlig@suse.com>
- cpu_map: Install Ampere-1 ARM CPU models
bsc#1240922
-------------------------------------------------------------------
Tue Apr 1 21:44:05 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.2.0
- jsc#PED-6556, jsc#PED-11466
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-2-0-2025-04-01
-------------------------------------------------------------------
Fri Mar 21 22:21:48 UTC 2025 - James Fehlig <jfehlig@suse.com>
- spec: Disable rbd storage driver for SLFO
bsc#1239836
-------------------------------------------------------------------
Mon Mar 3 23:48:42 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.1.0
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-1-0-2025-03-03
-------------------------------------------------------------------
Mon Feb 24 19:06:04 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Adjust downstream patch 'Add virt-create-rootfs utility' to only
install virt-create-rootfs when building the LXC driver
-------------------------------------------------------------------
Tue Feb 18 23:48:40 UTC 2025 - James Fehlig <jfehlig@suse.com>
- spec: Add note about packages with no files
bsc#1237228
-------------------------------------------------------------------
Mon Feb 3 21:44:39 UTC 2025 - James Fehlig <jfehlig@suse.com>
- spec: Change hooks dependency from libvirtd to the qemu driver
bsc#1236378
-------------------------------------------------------------------
Thu Jan 16 18:31:32 UTC 2025 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 11.0.0
- jsc#PED-5899, jsc#PED-8909, jsc#PED-9543, jsc#PED-9854,
jsc#PED-9855
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v11-0-0-2025-01-15
-------------------------------------------------------------------
Wed Jan 8 14:01:35 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Convert from tar_scm to obs_scm: allow OBS internal data
structure to be more efficient by using .obscpio files
-------------------------------------------------------------------
Mon Jan 6 22:38:12 UTC 2025 - James Fehlig <jfehlig@suse.com>
- security: apparmor: Fix probing of apparmor availability on the
VM host when using modular daemons
bsc#1235079
-------------------------------------------------------------------
Fri Jan 3 19:34:51 UTC 2025 - James Fehlig <jfehlig@suse.com>
- tests: Extend EOY check in virtimetest
boo#1234995
-------------------------------------------------------------------
Thu Dec 12 18:00:38 UTC 2024 - James Fehlig <jfehlig@suse.com>
- qemu: tpm: do not update profile name for transient domains
Fixes a crash when starting a transient domain
boo#1234438
-------------------------------------------------------------------
Mon Dec 2 18:48:20 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 10.10.0
- jsc#PED-8909, jsc#PED-9543, jsc#PED-9854, jsc#PED-9855
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v10-10-0-2024-12-02
-------------------------------------------------------------------
Mon Nov 4 21:00:34 UTC 2024 - James Fehlig <jfehlig@suse.com>
- json: do not call json_tokener_free with NULL
Fixes potential SEGV in libvirt-nss module
boo#1232726
-------------------------------------------------------------------
Fri Nov 1 19:52:45 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 10.9.0
- jsc#PED-8909, jsc#PED-9854, jsc#PED-9855
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v10-9-0-2024-11-01
-------------------------------------------------------------------
Tue Oct 22 15:59:15 UTC 2024 - James Fehlig <jfehlig@suse.com>
- spec: Use default_firewall_backend prjconf setting
- spec: Loosen nwfilter dependency
boo#1231798
-------------------------------------------------------------------
Tue Oct 1 19:57:06 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 10.8.0
- libvirt-daemon-driver-storage-core: Change dependency on
nfs-utils from Requires to Recommends
- Switch from YAJL to json-c for JSON parsing and formatting
- jsc#PED-8909
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v10-8-0-2024-10-01
-------------------------------------------------------------------
Tue Sep 3 17:23:41 UTC 2024 - James Fehlig <jfehlig@suse.com>
@@ -47,6 +274,8 @@ Wed May 8 22:39:10 UTC 2024 - James Fehlig <jfehlig@suse.com>
Thu May 2 22:48:28 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 10.3.0
- bsc#1220714
- bsc#1226492
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v10-3-0-2024-05-02
@@ -61,6 +290,7 @@ Tue Apr 2 15:03:20 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 10.2.0
- CVE-2024-2494
- bsc#1221879
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v10-2-0-2024-04-02
@@ -76,6 +306,7 @@ Tue Mar 5 21:20:53 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 10.1.0
- CVE-2024-1441
bsc#1221237
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v10-1-0-2024-03-01
@@ -254,6 +485,8 @@ Tue May 2 17:18:02 UTC 2023 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 9.3.0
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v9-3-0-2023-05-02
- CVE-2023-2700
bsc#1211390
- boo#1210654
-------------------------------------------------------------------
@@ -325,6 +558,7 @@ Thu Mar 2 23:11:37 UTC 2023 - James Fehlig <jfehlig@suse.com>
Wed Mar 1 20:58:57 UTC 2023 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 9.1.0
- bsc#1210666
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v9-1-0-2023-03-01
- spec: Remove obsolete Groups tag
@@ -426,6 +660,7 @@ Thu Sep 1 20:37:17 UTC 2022 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 8.7.0
- jsc#PED-620, jsc#PED-1540
- bsc#1202630
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v8-7-0-2022-09-01
- Dropped patches:
@@ -516,6 +751,7 @@ Fri Apr 1 17:30:25 UTC 2022 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 8.2.0
- CVE-2022-0897
bsc#1197636
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html#v8-2-0-2022-04-01
- Dropped patches:
@@ -1328,6 +1564,8 @@ Thu Mar 5 04:09:43 UTC 2020 - James Fehlig <jfehlig@suse.com>
- Update to libvirt 6.1.0
- Many incremental improvements and bug fixes, see
https://libvirt.org/news.html
- CVE-2020-12430
bsc#1170765
- Dropped patches:
6c1dddaf-libxl-shutdown-inhibit.patch,
849052ec-libxl-support-credit2.patch,

4
libvirt.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: libvirt
version: 12.0.0
mtime: 1768511279
commit: be8a9b1d10144a0ee37d228f7db2d2c04a445396

View File

@@ -1,7 +1,7 @@
#
# spec file for package libvirt
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,11 +33,11 @@
# Stateful secondary host drivers that run in daemons
%define with_storage_rbd 0%{!?_without_storage_rbd:0}
# The gluster storage backend is built for both openSUSE and SLE, but it is
# not supported
%define with_storage_gluster 0%{!?_without_storage_gluster:1}
%define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:0}
%define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}
%define with_apparmor 0%{!?_without_apparmor:1}
%define with_selinux_unconfined_daemon_hooks 0%{!?_without_selinux:1}
# The gluster storage backend is currently unmaintained in both openSUSE and SLE
%define with_storage_gluster 0%{!?_without_storage_gluster:0}
# The udev interface backend is the only one that works across SUSE distros.
# It supports just a handful of read-only operations, has a history of
# instability, and is insufficiently maintained. Completely disable the
@@ -48,15 +48,16 @@
%define with_sanlock 0%{!?_without_sanlock:1}
%define with_polkit_rules 0%{!?_without_polkit_rules:1}
%define with_wireshark 0%{!?_without_wireshark:1}
%define with_libssh 0%{!?_without_libssh:1}
%define with_libssh2 0%{!?_without_libssh2:1}
%define with_numactl 0%{!?_without_numactl:1}
%define with_nwfilter 0%{!?_without_nwfilter:1}
%define with_modular_daemons 0%{!?_without_modular_daemons:1}
%define with_userfaultfd_sysctl 0%{!?_without_userfaultfd_sysctl:1}
%define with_firewalld_zone 0%{!?_without_firewalld_zone:1}
# A few optional bits off by default, we enable later
%define with_fuse 0%{!?_without_fuse:0}
%define with_numad 0%{!?_without_numad:0}
%define with_firewalld_zone 0%{!?_without_firewalld_zone:0}
%define with_libssh 0%{!?_without_libssh:0}
%define with_nbdkit 0%{!?_without_nbdkit:0}
%define with_nbdkit_config_default 0%{!?_without_nbdkit_config_default:0}
@@ -72,60 +73,55 @@
%define with_numactl 0
%endif
# Tumbleweeed is new enough to support /dev/userfaultfd, which
# does not require enabling vm.unprivileged_userfaultfd sysct
%if 0%{?suse_version} > 1500
%define with_userfaultfd_sysctl 0
%endif
# vbox is available only on i386 x86_64
%ifnarch %{ix86} x86_64
%define with_vbox 0
%endif
# The 'libvirt' zone must be used with firewalld >= 0.7.0
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
%define with_firewalld_zone 0%{!?_without_firewalld_zone:1}
%endif
# Enable libssh support in newer code bases
%if 0%{?suse_version} >= 1500
%define with_libssh 0%{!?_without_libssh:1}
%endif
%ifarch x86_64 aarch64
%define with_storage_rbd 0%{!?_without_storage_rbd:1}
%endif
# libiscsi storage backend needs libiscsi >= 1.18.0 which is only available
# in suse_version >= 1500
%if 0%{?suse_version} >= 1500
%define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}
%endif
# numad is used to manage the CPU and memory placement dynamically for
# qemu and lxc drivers
# numa-preplace (formerly numad) is used to manage the CPU and memory
# placement dynamically for qemu and lxc drivers
%if %{with_qemu} || %{with_lxc}
# Enable numad for most architectures
%ifnarch s390 s390x %arm %ix86
%ifarch aarch64 %{power64} x86_64
%define with_numad 0%{!?_without_numad:1}
%endif
%endif
# Items to exclude in ALP-based products
%if 0%{?suse_version} == 1600
%define with_libxl 0
%define with_apparmor 0
%define with_interface 0
%define with_sanlock 0
%define with_numad 0
%define with_esx 0
%define with_storage_gluster 0
# fuse is used to provide virtualized /proc for LXC
%if %{with_lxc}
%define with_fuse 0%{!?_without_fuse:1}
%endif
# Prefer nftables for Tumbleweed, but keep using iptables for distros based
# on SLE15 codestream
%if 0%{?suse_version} > 1500
# Items to exclude in SLFO:Main based products
%if 0%{?suse_version} == 1600
%define with_apparmor 0
%define with_esx 0
%define with_interface 0
%define with_libxl 0
%define with_lxc 0
%define with_fuse 0
%define with_sanlock 0
%define with_storage_gluster 0
%define with_storage_rbd 0
%endif
%if 0%{?suse_version} < 1600
%define with_selinux_unconfined_daemon_hooks 0
%endif
# Factory and SLFO strive to drop iptables. The nwfilter driver has a runtime
# dependency on iptables, but no build-time one. The driver will be built
# unconditionally, but will no longer be required/recommended by the meta
# subpackages in Factory and SLFO.
%if 0%{?suse_version} >= 1600
%define with_nwfilter 0
%endif
# Prefer nftables if available
%if "%{?default_firewall_backend}" == "nftables"
%define prefer_nftables 1
%define firewall_backend_priority nftables,iptables
%else
@@ -149,14 +145,17 @@
Name: libvirt
URL: https://libvirt.org/
Version: 10.7.0
Version: 12.0.0
Release: 0
Summary: Library providing a virtualization API
License: LGPL-2.1-or-later
Requires: %{name}-daemon = %{version}-%{release}
Requires: %{name}-daemon-config-network = %{version}-%{release}
%if %{with_nwfilter}
Requires: %{name}-daemon-config-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%endif
%if %{with_libxl}
Requires: %{name}-daemon-driver-libxl = %{version}-%{release}
%endif
@@ -173,7 +172,6 @@ Requires: %{name}-daemon-driver-interface = %{version}-%{release}
%endif
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
@@ -196,7 +194,7 @@ BuildRequires: libacl-devel
BuildRequires: qemu-tools
%endif
BuildRequires: bash-completion-devel >= 2.0
BuildRequires: glib2-devel >= 2.58
BuildRequires: glib2-devel >= 2.66
BuildRequires: libattr-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
@@ -211,7 +209,7 @@ BuildRequires: readline-devel
# For pool-build probing for existing pools
BuildRequires: libblkid-devel >= 2.17
BuildRequires: libpciaccess0-devel >= 0.10.9
BuildRequires: libyajl-devel
BuildRequires: libjson-c-devel
BuildRequires: pkgconfig(libudev) >= 145
%if %{with_sanlock}
BuildRequires: sanlock-devel >= 2.4
@@ -229,12 +227,6 @@ BuildRequires: polkit >= 0.112
%if %{with_nbdkit}
BuildRequires: libnbd-devel
%endif
# For mount/umount in FS driver
BuildRequires: util-linux
# For LVM drivers
BuildRequires: lvm2
# For pool type=iscsi
BuildRequires: open-iscsi
%if %{with_storage_iscsi_direct}
# For pool type=iscsi-direct
BuildRequires: libiscsi-devel
@@ -254,7 +246,9 @@ BuildRequires: glusterfs-devel >= 3.4.1
# For QEMU/LXC numa info
BuildRequires: libnuma-devel
%endif
BuildRequires: fuse-devel >= 2.8.6
%if %{with_fuse}
BuildRequires: pkgconfig(fuse3) >= 3.1.0
%endif
BuildRequires: libcap-ng-devel >= 0.5.0
%if %{with_interface}
BuildRequires: libnetcontrol-devel >= 0.2.0
@@ -271,9 +265,6 @@ BuildRequires: libwsman-devel >= 2.6.3
BuildRequires: audit-devel
# For /usr/sbin/dtrace
BuildRequires: systemtap-sdt-devel
%if %{with_numad}
BuildRequires: numad
%endif
%if %{with_wireshark}
BuildRequires: wireshark-devel
%endif
@@ -302,6 +293,8 @@ on a single hardware system where the basic resources are driven by a
Linux instance. The library aims to provide long term stable C API
to interact with Linux virtualization technologies.
This package does not contain files, it just requires the necessary packages.
%package doc
Summary: API reference and website documentation for libvirt
BuildArch: noarch
@@ -344,7 +337,11 @@ Requires: dmidecode
# For service management
%{?systemd_requires}
# Daemons depend on the 'messagebus' service
%if 0%{?suse_version} < 1600
Requires: dbus-1
%else
Requires: dbus-service
%endif
Requires: group(libvirt)
# Needed by libvirt-guests init script.
Requires: gettext-runtime
@@ -378,6 +375,7 @@ resources
%package daemon-plugin-lockd
Summary: lockd client plugin for virtlockd
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-daemon-common = %{version}-%{release}
%description daemon-plugin-lockd
A client-side plugin that implements disk locking using POSIX fcntl advisory
@@ -399,12 +397,16 @@ Server side daemon providing functionality previously provided by
the monolithic libvirtd
%package daemon-hooks
Summary: Hook scripts for the libvirtd daemon
Requires: %{name}-daemon = %{version}-%{release}
Summary: Hook scripts for QEMU
%if %{with_selinux_unconfined_daemon_hooks}
BuildRequires: selinux-policy-devel
%selinux_requires
%endif
Requires: %{name}-daemon-driver-qemu = %{version}-%{release}
Requires: python3-lxml
%description daemon-hooks
Default hook scripts for the libvirt daemon
Hook scripts for the virtqemud daemon
%package daemon-config-network
Summary: Default configuration files for the libvirtd daemon
@@ -454,9 +456,7 @@ Summary: Nodedev driver plugin for the libvirtd daemon
Requires: %{name}-daemon-common = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
# For managing persistent mediated devices
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
Requires: mdevctl
%endif
# For modprobe of pci devices
Requires: modutils
@@ -487,8 +487,8 @@ an implementation of the secret key APIs.
Summary: Storage driver plugin including base backends for the libvirtd daemon
Requires: %{name}-daemon-common = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: nfs-utils
# For mkfs
Recommends: nfs-utils
# For mkfs and mount/unmount
Requires: util-linux
%if %{with_qemu}
# From QEMU RPMs
@@ -601,6 +601,8 @@ The storage driver plugin for the libvirtd daemon, providing
an implementation of the storage APIs using LVM, iSCSI,
parted and more.
This package does not contain files, it just requires the necessary packages.
%package daemon-driver-qemu
Summary: Qemu driver plugin for the libvirtd daemon
Requires: %{name}-daemon-common = %{version}-%{release}
@@ -616,9 +618,7 @@ Requires: /usr/bin/zstd
Requires: qemu
Requires: systemd-container
# swtp is needed to manage <tpm> devices.
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
Requires: swtpm
%endif
%ifarch x86_64
Requires: qemu-ovmf-x86_64
%endif
@@ -626,7 +626,7 @@ Requires: qemu-ovmf-x86_64
Requires: qemu-uefi-aarch64
%endif
%if %{with_numad}
Suggests: numad
Suggests: numa-preplace
%endif
%if %{with_nbdkit}
Recommends: nbdkit
@@ -648,7 +648,7 @@ Requires: systemd-container
# For modprobe of nbd driver
Requires: modutils
%if %{with_numad}
Suggests: numad
Suggests: numa-preplace
%endif
%description daemon-driver-lxc
@@ -690,7 +690,9 @@ Requires: %{name}-daemon-driver-interface = %{version}-%{release}
%endif
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%if %{with_nwfilter}
Recommends: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%endif
Requires: %{name}-daemon-driver-qemu = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
@@ -699,6 +701,8 @@ Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Server side daemon and driver required to manage the virtualization
capabilities of the QEMU emulators
This package does not contain files, it just requires the necessary packages.
%package daemon-lxc
Summary: Server side daemon & driver required to run LXC guests
%if %{with_modular_daemons}
@@ -712,7 +716,9 @@ Requires: %{name}-daemon-driver-interface = %{version}-%{release}
Requires: %{name}-daemon-driver-lxc = %{version}-%{release}
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%if %{with_nwfilter}
Recommends: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%endif
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
@@ -720,6 +726,8 @@ Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Server side daemon and driver required to manage the virtualization
capabilities of LXC
This package does not contain files, it just requires the necessary packages.
%package daemon-xen
Summary: Server side daemon & driver required to run XEN guests
%if %{with_modular_daemons}
@@ -734,7 +742,6 @@ Requires: %{name}-daemon-driver-interface = %{version}-%{release}
Requires: %{name}-daemon-driver-libxl = %{version}-%{release}
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Requires: xen
@@ -743,6 +750,8 @@ Requires: xen
Server side daemon and driver required to manage the virtualization
capabilities of XEN
This package does not contain files, it just requires the necessary packages.
%package daemon-vbox
Summary: Server side daemon & driver required to run VirtualBox guests
%if ! %{with_modular_daemons}
@@ -753,7 +762,9 @@ Requires: %{name}-daemon-driver-interface = %{version}-%{release}
%endif
Requires: %{name}-daemon-driver-network = %{version}-%{release}
Requires: %{name}-daemon-driver-nodedev = %{version}-%{release}
Requires: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%if %{with_nwfilter}
Recommends: %{name}-daemon-driver-nwfilter = %{version}-%{release}
%endif
Requires: %{name}-daemon-driver-secret = %{version}-%{release}
Requires: %{name}-daemon-driver-storage = %{version}-%{release}
Requires: %{name}-daemon-driver-vbox = %{version}-%{release}
@@ -765,6 +776,8 @@ Requires: virtualbox < 5.3
Server side daemon and driver required to manage the virtualization
capabilities of VirtualBox
This package does not contain files, it just requires the necessary packages.
%package client
Summary: Client side utilities of the libvirt library
Requires: %{name}-libs = %{version}-%{release}
@@ -809,6 +822,7 @@ Summary: Sanlock lock manager plugin for QEMU driver
Requires: sanlock >= 2.4
# For virt-sanlock-cleanup require augeas
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-daemon-common = %{version}-%{release}
Requires: augeas
Obsoletes: %{name}-lock-sanlock < 9.0.0
Provides: %{name}-lock-sanlock = %{version}-%{release}
@@ -929,10 +943,10 @@ Allows SSH into domains via VSOCK without need for network.
%else
%define arg_numad -Dnumad=disabled
%endif
%if %{with_userfaultfd_sysctl}
%define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=enabled
%if %{with_fuse}
%define arg_fuse -Dfuse=enabled
%else
%define arg_userfaultfd_sysctl -Duserfaultfd_sysctl=disabled
%define arg_fuse -Dfuse=disabled
%endif
%if %{with_nbdkit}
%define arg_nbdkit -Dnbdkit=enabled
@@ -969,26 +983,6 @@ Allows SSH into domains via VSOCK without need for network.
%define arg_selinux_mount -Dselinux_mount="/selinux"
# UEFI firmwares
# For SLE15 SP2 (Leap 15.2) and newer, use firmware descriptor files from the
# firmware packages, otherwise define firmwares via configure option
%if ! (0%{?suse_version} > 1500 || 0%{?sle_version} > 150100)
# x86_64 UEFI firmwares
# To more closely resemble actual hardware, we use the firmwares with
# embedded Microsoft keys
#
# The Windows HCK test requires a bigger variable store, so 4MB firmware
# images have been introduced. They are advertised first and will be
# used by default for new VM installations. The 2MB images are still
# available for existing VMs, and can be selected for new installations
# as well.
LOADERS="/usr/share/qemu/ovmf-x86_64-ms-4m-code.bin:/usr/share/qemu/ovmf-x86_64-ms-4m-vars.bin"
LOADERS="$LOADERS:/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin"
# aarch64 UEFI firmwares
LOADERS="$LOADERS:/usr/share/qemu/aavmf-aarch64-code.bin:/usr/share/qemu/aavmf-aarch64-vars.bin"
%define arg_loader_nvram -Dloader-nvram="$LOADERS"
%endif
# Macros for moving vendor provided configuration from /etc to /usr
%if 0%{?suse_version} > 1500
%define logrotate_prefix %nil
@@ -1056,13 +1050,12 @@ Allows SSH into domains via VSOCK without need for network.
-Dstorage_vstorage=disabled \
%{?arg_numactl} \
%{?arg_numad} \
%{?arg_userfaultfd_sysctl} \
%{?arg_nbdkit} \
%{?arg_nbdkit_config_default} \
-Dssh_proxy=enabled \
-Dsysctl_config=enabled \
-Dcapng=enabled \
-Dfuse=enabled \
%{?arg_fuse} \
-Dnetcf=disabled \
%{?arg_netcontrol} \
-Dselinux=enabled \
@@ -1070,7 +1063,7 @@ Allows SSH into domains via VSOCK without need for network.
%{?arg_apparmor} \
%{?arg_apparmor_profiles} \
-Dudev=enabled \
-Dyajl=enabled \
-Djson_c=enabled \
%{?arg_sanlock} \
-Dlibpcap=enabled \
-Dlibnl=enabled \
@@ -1088,7 +1081,6 @@ Allows SSH into domains via VSOCK without need for network.
-Dqemu_moddir=%{qemu_moddir} \
-Dqemu_datadir=%{qemu_datadir} \
-Dexpensive_tests=enabled \
%{?arg_loader_nvram} \
-Dinit_script=systemd \
-Dfirewall_backend_priority=%{firewall_backend_priority} \
-Ddocs=enabled \
@@ -1119,7 +1111,9 @@ mv %{buildroot}/%{_sysconfdir}/logrotate.d/libvirtd %{buildroot}/%{logrotate_dir
%endif
mkdir -p %{buildroot}/%{_localstatedir}/lib/%{name}
%if %{with_qemu}
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/hooks
%endif
%find_lang %{name}
install -d -m 0755 %{buildroot}/%{_datadir}/%{name}/networks/
cp %{buildroot}/%{_sysconfdir}/%{name}/qemu/networks/default.xml \
@@ -1151,6 +1145,7 @@ rm -f %{buildroot}/%{_datadir}/augeas/lenses/libvirt_sanlock.aug
rm -f %{buildroot}/%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
%endif
rm -f %{buildroot}/%{_sysusersdir}/libvirt.conf
rm -f %{buildroot}/%{_sysusersdir}/libvirt-qemu.conf
rm -f %{buildroot}/usr/lib/sysctl.d/60-libvirtd.conf
@@ -1163,7 +1158,9 @@ mkdir -p %{buildroot}/usr/lib/supportconfig/plugins
install -m 755 %{S:1} %{buildroot}/usr/lib/supportconfig/plugins/libvirt
# Install qemu hook script
%if %{with_qemu}
install -m 755 %{S:2} %{buildroot}/%{_sysconfdir}/%{name}/hooks/qemu
%endif
%ifarch %{power64} s390x x86_64
mv %{buildroot}/%{_datadir}/systemtap/tapset/libvirt_probes.stp \
@@ -1235,14 +1232,23 @@ fi
%preun daemon-common
%service_del_preun libvirt-guests.service
if [ $1 = 0 ]; then
rm -f /var/lib/%{name}/libvirt-guests
fi
%postun daemon-common
/sbin/ldconfig
%service_del_postun_without_restart libvirt-guests.service
%if %{with_selinux_unconfined_daemon_hooks}
%post daemon-hooks
if [ $1 -eq 1 ]; then
%selinux_set_booleans -s targeted virt_hooks_unconfined=1
fi
%postun daemon-hooks
if [ $1 -eq 0 ]; then
%selinux_unset_booleans -s targeted virt_hooks_unconfined=1
fi
%endif
%pre daemon-proxy
%libvirt_daemon_systemd_pre_inet virtproxyd
@@ -1461,6 +1467,7 @@ fi
%files daemon-common
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/connection-driver/
%attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
%dir %attr(0700, root, root) %{_sysconfdir}/%{name}/hooks
%{_unitdir}/libvirt-guests.service
@@ -1545,8 +1552,10 @@ fi
%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug
%doc %{_mandir}/man8/virtproxyd.8*
%if %{with_qemu}
%files daemon-hooks
%{_sysconfdir}/%{name}/hooks/qemu
%endif
%files daemon-config-network
%dir %{_datadir}/%{name}/networks/
@@ -1566,7 +1575,6 @@ fi
%{_unitdir}/virtinterfaced-ro.socket
%{_unitdir}/virtinterfaced-admin.socket
%{_sbindir}/virtinterfaced
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_interface.so
%doc %{_mandir}/man8/virtinterfaced.8*
%endif
@@ -1589,7 +1597,6 @@ fi
%dir %attr(0700, root, root) %{_localstatedir}/lib/%{name}/network/
%dir %attr(0755, root, root) %{_localstatedir}/lib/%{name}/dnsmasq/
%attr(0755, root, root) %{_libexecdir}/libvirt_leaseshelper
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
%if %{with_firewalld_zone}
%dir %{_prefix}/lib/firewalld/zones/
@@ -1611,7 +1618,6 @@ fi
%{_unitdir}/virtnodedevd-ro.socket
%{_unitdir}/virtnodedevd-admin.socket
%{_sbindir}/virtnodedevd
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
%doc %{_mandir}/man8/virtnodedevd.8*
@@ -1625,7 +1631,6 @@ fi
%{_unitdir}/virtnwfilterd-admin.socket
%{_sbindir}/virtnwfilterd
%dir %attr(0700, root, root) %{_sysconfdir}/%{name}/nwfilter/
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so
%doc %{_mandir}/man8/virtnwfilterd.8*
@@ -1639,7 +1644,6 @@ fi
%{_unitdir}/virtsecretd-admin.socket
%{_sbindir}/virtsecretd
%dir %attr(0700, root, root) %{_sysconfdir}/%{name}/secrets/
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_secret.so
%doc %{_mandir}/man8/virtsecretd.8*
@@ -1657,12 +1661,9 @@ fi
%attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
%dir %attr(0700, root, root) %{_sysconfdir}/%{name}/storage/
%dir %attr(0700, root, root) %{_sysconfdir}/%{name}/storage/autostart/
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_storage.so
%dir %{_libdir}/%{name}/storage-backend/
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_fs.so
%dir %{_libdir}/%{name}/storage-file/
%{_libdir}/%{name}/storage-file/libvirt_storage_file_fs.so
%doc %{_mandir}/man8/virtstoraged.8*
%files daemon-driver-storage-disk
@@ -1683,6 +1684,7 @@ fi
%if %{with_storage_gluster}
%files daemon-driver-storage-gluster
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_gluster.so
%dir %{_libdir}/%{name}/storage-file/
%{_libdir}/%{name}/storage-file/libvirt_storage_file_gluster.so
%endif
@@ -1703,9 +1705,6 @@ fi
%if %{with_apparmor}
%config(noreplace) %{_sysconfdir}/apparmor.d/usr.sbin.virtqemud
%endif
%if %{with_userfaultfd_sysctl}
%config(noreplace) %{_prefix}/lib/sysctl.d/60-qemu-postcopy-migration.conf
%endif
%{_datadir}/augeas/lenses/virtqemud.aug
%{_datadir}/augeas/lenses/tests/test_virtqemud.aug
%{_unitdir}/virtqemud.service
@@ -1722,7 +1721,6 @@ fi
%dir %attr(0700, root, root) %{_localstatedir}/log/%{name}/qemu/
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
%dir %attr(0711, root, root) %{_localstatedir}/lib/%{name}/swtpm/
%dir %attr(0711, root, root) %{_localstatedir}/log/swtpm/
@@ -1753,7 +1751,6 @@ fi
%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
%{_datadir}/augeas/lenses/libvirtd_lxc.aug
%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_lxc.so
%{_bindir}/virt-create-rootfs
%doc %{_mandir}/man1/virt-create-rootfs.1*
@@ -1785,7 +1782,6 @@ fi
%dir %attr(0700, root, root) %{_localstatedir}/lib/%{name}/libxl/dump/
%dir %attr(0700, root, root) %{_localstatedir}/lib/%{name}/libxl/save/
%dir %attr(0700, root, root) %{_localstatedir}/log/%{name}/libxl/
%dir %{_libdir}/%{name}/connection-driver/
%{_libdir}/%{name}/connection-driver/libvirt_driver_libxl.so
%doc %{_mandir}/man8/virtxend.8*
%endif
@@ -1836,7 +1832,6 @@ fi
%{_bindir}/virt-pki-query-dn
%{_bindir}/virt-pki-validate
%{_datadir}/bash-completion/completions/virsh
%dir %{_libdir}/%{name}/
%if %{with_qemu}
%files client-qemu