Commit Graph

642 Commits

Author SHA256 Message Date
James Fehlig
c7ef86dd34 - libxl: Fix libvirtd crash on domain restore
454b927d-libxl-fix-dom-restore.patch
  bsc#1196115

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=924
2022-02-18 18:27:53 +00:00
James Fehlig
3e28f5c7d1 - qemu: fix inactive snapshot revert
76deb656-qemu-fix-snapshot-revert.patch
  boo#1195690

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=923
2022-02-08 22:28:35 +00:00
James Fehlig
66a8bd2960 Add upstream patch to release all auto-allocated graphics ports
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=922
2022-02-08 17:58:16 +00:00
James Fehlig
80517cd1b1 - libxl: Mark auto-allocated graphics ports to used on reconnect
e0241f33-libxl-mark-allocated-graphics-ports.patch
  bsc#1191668

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=921
2022-02-07 21:35:33 +00:00
James Fehlig
bf3e3feba0 - Revert commit 938382b60a since it changes semantics on some
public APIs
  105dace2-revert-virProcessGetStatInfo.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=920
2022-01-26 19:17:52 +00:00
James Fehlig
312ad341c9 - libxl: Add lock process indicator to saved VM state
31e937fb-libxl-save-lock-indicator.patch
  bsc#1191668

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=919
2022-01-25 16:28:02 +00:00
James Fehlig
906f09abf9 Accepting request 947275 from home:jfehlig:branches:Virtualization
- sysconfig files have not been distributed for many months. Add
  upstream patches that improve documentation and moves service
  default settings to the associated systemd service file.

- Update to libvirt 8.0.0
  - CVE-2021-4147
  - bsc#1191511
  - jsc#SLE-11435, jsc#SLE-18354
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v8-0-0-2022-01-14

OBS-URL: https://build.opensuse.org/request/show/947275
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=918
2022-01-18 18:01:54 +00:00
James Fehlig
048a050f6a - libxl: Implement domainGetMessages API
cbae4eaa-libxl-add-domainGetMessages.patch
  bsc##1193623

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=916
2021-12-14 16:38:36 +00:00
James Fehlig
35b29c118b - Don't spawn pkttyagent when stdin is not a tty
0001-util-Don-t-spawn-pkttyagent-when-stdin-is-not-a-tty.patch
  bsc#1193574

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=915
2021-12-13 15:17:18 +00:00
James Fehlig
bb05d1aab0 Accepting request 935299 from home:jfehlig:branches:Virtualization
- libxl: Fix libvirtd deadlocks and segfaults
  23b51d7b-libxl-disable-death-event.patch,
  a4e6fba0-libxl-rename-threadinfo-struct.patch,
  e4f7589a-libxl-shutdown-thread-name.patch,
  b9a5faea-libxl-handle-death-thread.patch,
  5c5df531-libxl-search-domid-in-thread.patch,
  a7a03324-libxl-protect-logger-access.patch
  bsc#1191668, bsc#1192017

OBS-URL: https://build.opensuse.org/request/show/935299
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=914
2021-12-02 22:43:30 +00:00
James Fehlig
58776811eb Accepting request 935248 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.10.0
  - jsc#SLE-18260, jsc#SLE-19264
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v7-10-0-2021-12-01

OBS-URL: https://build.opensuse.org/request/show/935248
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=913
2021-12-02 17:44:38 +00:00
James Fehlig
4cbc46c110 Accepting request 932593 from home:jfehlig:branches:Virtualization
- virt-create-rootfs: Fix repository URLs
  Updated virt-create-rootfs.patch
  boo#1192318

- spec: Weaken apparmor-abstractions dependency to Recommends
  bsc#1192119

OBS-URL: https://build.opensuse.org/request/show/932593
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=912
2021-11-19 21:37:43 +00:00
James Fehlig
3e5685a280 Accepting request 929470 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.9.0
  - jsc#SLE-19264
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    3f9c1a4b-fix-host-validate-sev.patch,
    2703b0b5-qemu-dont-report-eof.patch,
    1b9ce05c-lxc-fix-cgroupV1.patch
- Include collection of active VM config files in the
  supportconfig plugin

OBS-URL: https://build.opensuse.org/request/show/929470
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=911
2021-11-04 23:25:59 +00:00
James Fehlig
c3b5921c8b - supportconfig: Use systemctl command 'is-active' instead of
'is-enabled' when checking if libvirtd is active

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=910
2021-10-18 16:06:31 +00:00
James Fehlig
37f92ae699 - Drop 'Requires: libvirt-daemon-driver-lxc' from the main libvirt
package
  jsc#SLE-22296

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=909
2021-10-15 21:41:12 +00:00
James Fehlig
97756f428c - qemu: Do not report eof when processing monitor IO
2703b0b5-qemu-dont-report-eof.patch
  bsc#1190917

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=908
2021-10-15 20:43:53 +00:00
James Fehlig
04ada155e4 - lxc: controller: Fix container launch on cgroup v1
1b9ce05c-lxc-fix-cgroupV1.patch
  boo#1183247

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=907
2021-10-08 20:49:54 +00:00
James Fehlig
0d076b07d4 - tools: Fix virt-host-validate SEV detection
3f9c1a4b-fix-host-validate-sev.patch
  boo#1188715

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=906
2021-10-07 04:15:49 +00:00
James Fehlig
73e1b007e3 Accepting request 922671 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.8.0
  - jsc#SLE-18260
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html
  - Dropped patches:
    b75a16ae-libxl-improve-die-id.patch,
    65fab900-libxl-fix-driver-reload.patch,
    51eb680b-libxl-dont-autostart-on-reload.patch

- spec: Fix hangs during package update
  bsc#1177902, bsc#1190693
- spec: Don't add --timeout arg to /etc/sysconfig/libvirtd when
  running in traditional mode without socket activation
  bsc#1190695

OBS-URL: https://build.opensuse.org/request/show/922671
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=905
2021-10-01 21:10:15 +00:00
James Fehlig
2c635145d1 Accepting request 919013 from home:jfehlig:branches:Virtualization
- libxl: Improve reporting of die_id in capabilities
  b75a16ae-libxl-improve-die-id.patch
  boo#1190493
- libxl: Fix driver reload
  65fab900-libxl-fix-driver-reload.patch,
  51eb680b-libxl-dont-autostart-on-reload.patch
  bsc#1190420

OBS-URL: https://build.opensuse.org/request/show/919013
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=904
2021-09-14 21:02:46 +00:00
James Fehlig
ee1d9df334 Accepting request 915518 from home:jfehlig:branches:Virtualization
- Update to libvirt 7.7.0
  - jsc#SLE-18446
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/915518
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=903
2021-09-01 16:17:27 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
James Fehlig
91c04acbce - spec: Add 'Requires: bash-completion' to the
libvirt-bash-completion subpackage
  bsc#1178498

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=857
2020-11-11 18:23:48 +00:00