Commit Graph

1136 Commits

Author SHA256 Message Date
James Fehlig
d23ff5befd - supportconfig: When checking for installed hypervisor drivers,
use the libvirtr-daemon-driver-<hypervisor> package instead of
  libvirt-daemon-<hypervisor>. The latter are not required packages
  for a functioning hypervisor driver.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=902
2021-08-11 17:37:08 +00:00
Dominique Leuenberger
27e6ba56eb Accepting request 910041 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/910041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=336
2021-08-05 18:47:53 +00:00
James Fehlig
1b3adcceea Accepting request 910040 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.6.0
  - storage_driver: Unlock object on ACL fail in storagePoolLookupByTargetPath
    CVE-2021-3667
    bsc#1188843
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    de1e0ae0-lockd-no-error-if-lockspace.patch,
    f58349c9-qemu-storage-migration.patch

OBS-URL: https://build.opensuse.org/request/show/910040
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=901
2021-08-03 19:49:58 +00:00
Dominique Leuenberger
74c5f1c064 Accepting request 908661 from Virtualization
- spec: Re-exec'ing virt{lock,log}d in posttrans was mistakenly
  dropped in a previous change. Add it back.

- libxl: ovmf now provides only one firmware for Xen. The firmware
  is named ovmf-x86_64-xen-4m.bin in the SUSE ovmf package. Adjust
  the upstream default firmware path to match the SUSE name.
- packaging: To improve maintainability, rename suse-ovmf-paths.patch
  to suse-qemu-ovmf-paths.patch and suse-xen-ovmf-loaders.patch to
  suse-xen-ovmf-paths.patch

OBS-URL: https://build.opensuse.org/request/show/908661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=335
2021-07-29 19:31:12 +00:00
James Fehlig
5ed1374fd3 remove spurious whitespace from spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=900
2021-07-27 18:14:27 +00:00
James Fehlig
0af4927a97 - spec: Re-exec'ing virt{lock,log}d in posttrans was mistakenly
dropped in a previous change. Add it back.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=899
2021-07-27 18:13:14 +00:00
James Fehlig
95d05af7e8 Accepting request 908023 from home:jfehlig:branches:Virtualization:ovmf
- libxl: ovmf now provides only one firmware for Xen. The firmware
  is named ovmf-x86_64-xen-4m.bin in the SUSE ovmf package. Adjust
  the upstream default firmware path to match the SUSE name.
- packaging: To improve maintainability, rename suse-ovmf-paths.patch
  to suse-qemu-ovmf-paths.patch and suse-xen-ovmf-loaders.patch to
  suse-xen-ovmf-paths.patch

OBS-URL: https://build.opensuse.org/request/show/908023
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=898
2021-07-23 21:27:33 +00:00
Dominique Leuenberger
c64b43f8c6 Accepting request 907180 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/907180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=334
2021-07-22 20:42:28 +00:00
James Fehlig
d0be6a8d16 Accepting request 907179 from home:jfehlig:branches:Virtualization
- spec: Don't forcibly remove '--listen' arg from
  /etc/sysconfig/libvirtd. Add '--timeout 120' if '--listen' is
  not specified.
  bsc#1188232
- spec: Remove the sysconfig fillup files for the various daemons
  - Dropped patches:
    suse-libvirtd-sysconfig-settings.patch,
    suse-virtlockd-sysconfig-settings.patch,
    suse-virtlogd-sysconfig-settings.patch

- spec: Add bash-completion dependency to libvirt-daemon and
  libvirt-client. It was mistakenly dropped when
  libvirt-bash-completion was merged into the daemon and client
  subpackages

- qemu: Use correct flag constant for enabling storage migration
  f58349c9-qemu-storage-migration.patch
  bsc#1188171

OBS-URL: https://build.opensuse.org/request/show/907179
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=897
2021-07-19 17:36:51 +00:00
Dominique Leuenberger
f37196b7ec Accepting request 904628 from Virtualization
A small SLE bug fix that is pertinent to Factory too.

- virtlockd: Don't report error if lockspace exists
  de1e0ae0-lockd-no-error-if-lockspace.patch
  bsc#1184253

OBS-URL: https://build.opensuse.org/request/show/904628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=333
2021-07-11 23:24:37 +00:00
James Fehlig
c9cc95cec9 - virtlockd: Don't report error if lockspace exists
de1e0ae0-lockd-no-error-if-lockspace.patch
  bsc#1184253

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=896
2021-07-07 17:33:10 +00:00
Dominique Leuenberger
c2912a039a Accepting request 903564 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/903564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=332
2021-07-04 20:10:32 +00:00
James Fehlig
48654de6e4 Accepting request 903563 from home:jfehlig:branches:Virtualization
-  Update to libvirt 7.5.0
  - security: Fix insecure sVirt label generation - CVE-2021-3631
    bsc#1187871
  - apparmor: Permit new capabilities required by libvirtd
    boo#1186888
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    suse-apparmor-libnl-paths.patch
- supportconfig plugin improvements

OBS-URL: https://build.opensuse.org/request/show/903563
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=895
2021-07-01 17:24:26 +00:00
Dominique Leuenberger
bdb7fceb85 Accepting request 901205 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/901205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=331
2021-06-24 16:22:18 +00:00
James Fehlig
c898e9a77b Accepting request 901098 from home:mgorman:branches:Virtualization
- Suggest numad package instead of requiring it. numad is not
  required for libvirt daemon to run, it does not support the
  cgroup2 API and it has been superseded by the kernel NUMA
  balancer which is enabled by default.
  bsc#1184722

OBS-URL: https://build.opensuse.org/request/show/901098
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=893
2021-06-21 16:06:24 +00:00
Dominique Leuenberger
6161076ee1 Accepting request 896745 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/896745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=330
2021-06-05 21:31:08 +00:00
James Fehlig
9b5da75827 Accepting request 896744 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.4.0
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    ee890f25-libxl-mock-funcs.patch

OBS-URL: https://build.opensuse.org/request/show/896744
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=891
2021-06-01 16:52:45 +00:00
James Fehlig
a420dcc434 refresh patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=890
2021-05-18 15:44:20 +00:00
James Fehlig
b90a82406e A few tweaks before Factory submission
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=889
2021-05-18 15:43:00 +00:00
James Fehlig
aeb9054b98 Accepting request 893851 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.3.0
  - libvirt-admin package merged with libvirt-daemon
  - libvirt-bash-completion package merged with libvirt-client and
    libvirt-daemon packages
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    suse-bump-xen-version.patch
  - Added patches:
    libxl-add-mocking.patch

OBS-URL: https://build.opensuse.org/request/show/893851
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=888
2021-05-17 22:14:02 +00:00
Richard Brown
cc07db0831 Accepting request 882668 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/882668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=329
2021-04-08 19:01:47 +00:00
James Fehlig
d419828bef Accepting request 882667 from home:jfehlig:branches:Virtualization
- spec: Remove use of %fdupes since it was only acting on files
  that should be excluded
  bsc#1184293
- Remove bogus comment from /etc/sysconfig/libvirtd
  bsc#1184253

- Update to libvirt 7.2.0
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    ee3dc2c2-libxl-default-pcistub-name.patch,
    6b8e9613-avoid-use-after-free.patch,
    eab7ae6b-fix-array-access.patch,
    c363f03e-virnetdaemon-intro-virNetDaemonQuitExecRestart.patch,
    ccc6dd8f-fix-exec-restart.patch

OBS-URL: https://build.opensuse.org/request/show/882667
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=886
2021-04-02 03:57:28 +00:00
Dominique Leuenberger
8d8cc6979f Accepting request 879983 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/879983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=328
2021-03-24 15:09:44 +00:00
Dominique Leuenberger
2310c550d6 Accepting request 878656 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/878656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=327
2021-03-18 21:54:12 +00:00
James Fehlig
cd49d62e84 Accepting request 879982 from home:jfehlig:branches:Virtualization
- spec: Fix exec-restart of virtlockd and virtlogd on package upgrade
  bsc#1183411

- spec: Move netcat-openbsd requirement from the libs to the daemon
  subpackage. It is only needed by the daemon and introduces an
  unneeded dependency for users of libvirt-libs.

OBS-URL: https://build.opensuse.org/request/show/879982
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=884
2021-03-18 21:47:14 +00:00
James Fehlig
432dd3a40e Accepting request 878655 from home:jfehlig:branches:Virtualization
- virtlockd, virtlogd: Fix exec-restart
  6b8e9613-avoid-use-after-free.patch,
  eab7ae6b-fix-array-access.patch,
  c363f03e-virnetdaemon-intro-virNetDaemonQuitExecRestart.patch,
  ccc6dd8f-fix-exec-restart.patch
  bsc#1183411

OBS-URL: https://build.opensuse.org/request/show/878655
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=883
2021-03-12 22:29:08 +00:00
James Fehlig
a6b7b199b5 - Replace libxl-default-pcistub-name.patch with upstream variant
ee3dc2c2-libxl-default-pcistub-name.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=882
2021-03-10 18:42:14 +00:00
Richard Brown
bad03753ca Accepting request 876096 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/876096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=326
2021-03-05 12:43:20 +00:00
James Fehlig
53398caf68 Accepting request 876095 from home:jfehlig:branches:Virtualization
Update to libvirt 7.1.0 final + some bug fixes.

OBS-URL: https://build.opensuse.org/request/show/876095
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=880
2021-03-02 00:57:27 +00:00
James Fehlig
c4537ec709 Accepting request 874914 from home:jfehlig:branches:Virtualization
- libxl: Add lock process indicator to track resource locking
  fa58f571-libxl-lock-proc-indicator.patch
  bsc#1182367

OBS-URL: https://build.opensuse.org/request/show/874914
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=879
2021-02-24 17:36:00 +00:00
James Fehlig
1916468e1a Accepting request 874445 from home:jfehlig:branches:Virtualization
- libxl: Fix domain shutdown
  87a9d3a6-libxl-fix-domain-shutdown.patch
  bsc#1182515

- Remove old initscript patching of libvirt-guests.sh
  Modified suse-libvirt-guests-service.patch
  boo#1182494

OBS-URL: https://build.opensuse.org/request/show/874445
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=878
2021-02-22 21:51:14 +00:00
Richard Brown
83029c9aa8 Accepting request 873208 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/873208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=325
2021-02-22 13:57:58 +00:00
James Fehlig
24031b84de Accepting request 873207 from home:jfehlig:branches:Virtualization
- qemu: Add virtio related options to vsock
  8a4b8996-conf-move-virDomainCheckVirtioOptions.patch,
  c05f0066-conf-drop-empty-virDomainNetDefPostParse.patch,
  19d4e467-conf-improve-virDomainVirtioOptionsCheckABIStability.patch,
  bd112c9e-qemu-virtio-options-vsock.patch
  bsc#1182365

OBS-URL: https://build.opensuse.org/request/show/873207
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=876
2021-02-17 17:48:35 +00:00
Dominique Leuenberger
ba17215528 Accepting request 871283 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/871283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=324
2021-02-17 17:08:55 +00:00
James Fehlig
550774c418 Accepting request 871282 from home:jfehlig:branches:Virtualization
- qemu: Fix swtpm device with aarch64
  7cf60006-qemu-swtpm-aarch64.patch,
  afb823fc-qemu-validate-swtpm.patch
  bsc#1181893

- build: Fix generation of virtproxyd socket files
  e3d60f76-fix-socket-file-gen.patch
  boo#1181838

OBS-URL: https://build.opensuse.org/request/show/871282
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=874
2021-02-11 19:20:19 +00:00
Dominique Leuenberger
ddd00f5309 Accepting request 867772 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/867772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=323
2021-02-01 13:42:05 +00:00
James Fehlig
b23d6f9e93 Accepting request 867768 from home:jfehlig:branches:Virtualization
- Revert "Add libvirtd dependency to virt-guest-shutdown.target"
  32c5e432-revert-f035f53b.patch
  bsc#1177902

- spec: Enable the libvirt firewalld zone in SLE >= 15 SP3
  jsc#SLE-17336

OBS-URL: https://build.opensuse.org/request/show/867768
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=872
2021-01-29 18:23:22 +00:00
Dominique Leuenberger
96d48bf2ff Accepting request 864470 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/864470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=322
2021-01-22 20:49:09 +00:00
James Fehlig
4e130a6e0c Accepting request 864469 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.0.0
  - jsc#SLE-15860
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    0d05d51b-apparmor-lxc-fix.patch,
    cf4e7e62-lxc-def-secmodel.patch,
    0ddebdb4-qemu-snapshot-deletion.patch

OBS-URL: https://build.opensuse.org/request/show/864469
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=870
2021-01-19 23:09:19 +00:00
Dominique Leuenberger
899e0a166d Accepting request 860506 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/860506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=321
2021-01-10 18:38:12 +00:00
James Fehlig
3436bacc46 Accepting request 860331 from home:olh:branches:Virtualization
- Update libxl-set-migration-constraints.patch
  Remove code which handled --max_factor. The total amount of
  transferred data is no indicator to trigger the final stop+copy.
  This should have been removed during upgrade to Xen 4.7.
  Reduce default value of --max_iters from 5 to 2.
  The workload within domU will continue to produce dirty pages.
  It is unreasonable to expect any slowdown during migration.
  Now there is one initial copy of all memory, one instead of four
  iteration for dirty memory, and a final copy iteration prior move.

OBS-URL: https://build.opensuse.org/request/show/860331
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=868
2021-01-05 15:51:25 +00:00
Dominique Leuenberger
03fa255159 Accepting request 856765 from Virtualization
- qemu: Fix logic bug in inactive snapshot deletion
  0ddebdb4-qemu-snapshot-deletion.patch
  boo#1180049

OBS-URL: https://build.opensuse.org/request/show/856765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=320
2020-12-21 11:35:01 +00:00
James Fehlig
267982bde3 Accepting request 856706 from home:jfehlig:branches:Virtualization
- qemu: Fix logic bug in inactive snapshot deletion
  0ddebdb4-qemu-snapshot-deletion.patch
  boo#1180049

OBS-URL: https://build.opensuse.org/request/show/856706
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=866
2020-12-17 15:20:10 +00:00
Dominique Leuenberger
1eae1b7abe Accepting request 854168 from Virtualization
- spec: Enable mdevctl support in the nodedev driver for SLE15 SP3
  jsc#SLE-15861, bsc#1179770

- apparmor: Allow lxc processes to receive signals from libvirt
  lxc: Set default security model in XML parser config
  0d05d51b-apparmor-lxc-fix.patch, cf4e7e62-lxc-def-secmodel.patch
  bsc#1179735

OBS-URL: https://build.opensuse.org/request/show/854168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=319
2020-12-09 21:12:33 +00:00
James Fehlig
2a51407f2d - spec: Enable mdevctl support in the nodedev driver for SLE15 SP3
jsc#SLE-15861, bsc#1179770

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=864
2020-12-09 00:11:03 +00:00
James Fehlig
0b3a0a1f93 - apparmor: Allow lxc processes to receive signals from libvirt
lxc: Set default security model in XML parser config
  0d05d51b-apparmor-lxc-fix.patch, cf4e7e62-lxc-def-secmodel.patch
  bsc#1179735

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=863
2020-12-07 23:13:45 +00:00
Dominique Leuenberger
2a1a8140ca Accepting request 852456 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/852456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=318
2020-12-05 19:35:48 +00:00
James Fehlig
b2cb9c7395 Accepting request 852455 from home:jfehlig:branches:Virtualization
- Update to libvirt 6.10.0
  - jsc#SLE-13688
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    f035f53b-virt-guest-shutdown.patch

OBS-URL: https://build.opensuse.org/request/show/852455
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=861
2020-12-02 04:12:13 +00:00
Dominique Leuenberger
42663ac256 Accepting request 849177 from Virtualization
WARNING: This SR depends on https://build.opensuse.org/request/show/848960

- spec: Remove creation of libvirt group and add Requires to the
  libvirt group created with GID 108 by the system-group-libvirt
  package.
  jsc#SLE-11629

OBS-URL: https://build.opensuse.org/request/show/849177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=317
2020-11-23 14:34:43 +00:00
James Fehlig
7c4b87951a Accepting request 849144 from home:jfehlig:branches:Virtualization
- spec: Remove creation of libvirt group and add Requires to the
  libvirt group created with GID 108 by the system-group-libvirt
  package.
  jsc#SLE-11629

OBS-URL: https://build.opensuse.org/request/show/849144
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=859
2020-11-17 17:52:03 +00:00