Commit Graph

588 Commits

Author SHA256 Message Date
James Fehlig
2d3b4f44f0 Accepting request 711148 from home:jfehlig:branches:Virtualization
Fixes for CVE's made public today.

- api: disallow virConnect*HypervisorCPU,
  virConnectGetDomainCapabilities, virDomainManagedSaveDefineXML,
  and virDomainSaveImageGetXMLDesc on read-only connections
  CVE-2019-10161-api-disallow-virDomainSaveImageGetXMLDesc.patch,
  CVE-2019-10166-api-disallow-virDomainManagedSaveDefineXML.patch,
  CVE-2019-10167-api-disallow-virConnectGetDomainCapabilities.patch,
  CVE-2019-10168-api-disallow-virConnect-HypervisorCPU.patch
  CVE-2019-10161, CVE-2019-10166, CVE-2019-10167, CVE-2019-10168
  bsc#1138301, bsc#1138302, bsc#1138303, bsc#1138305

OBS-URL: https://build.opensuse.org/request/show/711148
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=765
2019-06-20 15:16:41 +00:00
James Fehlig
962931e8eb Accepting request 709495 from home:dimstar:Factory
Allow OBS to pick better candidates to shorten rebuild queues

OBS-URL: https://build.opensuse.org/request/show/709495
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=764
2019-06-12 15:38:48 +00:00
James Fehlig
4d273a1174 Accepting request 707328 from home:jfehlig:branches:Virtualization
- Update to libvirt 5.4.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    5cd9db3a-cputest-add-data-E3-1225-v5.patch,
    538d8735-cpu_map-Define-md-clear-CPUID-bit.patch,
    96f41cd7-admin-reject-clients.patch,
    f111e094-locking-restrict-sockets-to-mode-0600.patch,
    e37bd65f-logging-restrict-sockets-to-mode-0600.patch,
    76b420d0-build-libqemutestdriver-lto-fix.patch

OBS-URL: https://build.opensuse.org/request/show/707328
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=762
2019-06-03 20:11:36 +00:00
James Fehlig
7a5103bbf0 Accepting request 706529 from home:jfehlig:branches:Virtualization:lto
- build: fix linking libqemutestdriver with LTO enabled
  76b420d0-build-libqemutestdriver-lto-fix.patch
  boo#1133253

OBS-URL: https://build.opensuse.org/request/show/706529
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=761
2019-05-30 16:26:45 +00:00
James Fehlig
9f3a69afcd Accepting request 706470 from home:marxin:branches:Virtualization
- Use %make_build in order to provide verbose output.

OBS-URL: https://build.opensuse.org/request/show/706470
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=760
2019-05-30 16:01:34 +00:00
James Fehlig
75c1043489 Accepting request 705075 from home:jfehlig:branches:Virtualization
- spec: add systemd-container dependency to qemu and lxc drivers
  bsc#1136109

OBS-URL: https://build.opensuse.org/request/show/705075
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=758
2019-05-23 17:20:13 +00:00
James Fehlig
9b252d2501 Accepting request 704536 from home:jfehlig:branches:Virtualization
- admin: reject clients unless their UID matches the server UID
  CVE-2019-10132
  96f41cd7-admin-reject-clients.patch,
  f111e094-locking-restrict-sockets-to-mode-0600.patch,
  e37bd65f-logging-restrict-sockets-to-mode-0600.patch
  bsc#1134348

OBS-URL: https://build.opensuse.org/request/show/704536
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=756
2019-05-21 17:48:44 +00:00
James Fehlig
30cdfb8cae Accepting request 704322 from home:jfehlig:branches:Virtualization
libvirt side of Intel Group 4 mitigations.

- cpu_map: add cpu feature md-clear. CVE-2018-12126,
  CVE-2018-12127, CVE-2018-12130, CVE-2019-11091
  5cd9db3a-cputest-add-data-E3-1225-v5.patch,
  538d8735-cpu_map-Define-md-clear-CPUID-bit.patch
  bsc#1111331, bsc#1135273

OBS-URL: https://build.opensuse.org/request/show/704322
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=754
2019-05-20 22:23:44 +00:00
James Fehlig
9ccf0d308b Accepting request 701641 from home:jfehlig:branches:Virtualization
- Update to libvirt 5.3.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    ff376c62-tests-fix-mocking-stat-lstat.patch,
    ebe9c6ea-qemu-firmware-dirent.patch,
    2a07c990-api-CVE-2019-3886.patch,
    ae076bb4-remote-CVE-2019-3886.patch,
    f66f70ac-snapshot-fix-use-after-free.patch,
    89237d53-conf-expose-virDomainSCSIDriveAddressIsUsed.patch,
    ee2c5ef3-test-scsi-disk.patch,
    ddc72f99-qemu-check-dup-drive-address.patch,
    22dc3e94-revert-f1d65853.patch

OBS-URL: https://build.opensuse.org/request/show/701641
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=752
2019-05-08 19:35:37 +00:00
James Fehlig
7cc886a733 Accepting request 697979 from home:jfehlig:branches:Virtualization
- Fix build with LTO enabled
  Adjusted support-managed-pci-xen-driver.patch
  boo#1133253

OBS-URL: https://build.opensuse.org/request/show/697979
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=750
2019-04-25 21:19:16 +00:00
James Fehlig
25a1844db7 Accepting request 696099 from home:jfehlig:branches:Virtualization
- qemu: fix CDROM media change when using virDomainAttachDevice
  89237d53-conf-expose-virDomainSCSIDriveAddressIsUsed.patch,
  ee2c5ef3-test-scsi-disk.patch,
  ddc72f99-qemu-check-dup-drive-address.patch,
  22dc3e94-revert-f1d65853.patch
  boo#1132127

OBS-URL: https://build.opensuse.org/request/show/696099
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=748
2019-04-19 20:47:19 +00:00
James Fehlig
376a708d02 Accepting request 693774 from home:jfehlig:branches:Virtualization
Properly fix failing tests.

- Fix and re-enable snapshot tests
  f66f70ac-snapshot-fix-use-after-free.patch

  2a07c990-api-CVE-2019-3886.patch,
  ae076bb4-remote-CVE-2019-3886.patch
- spec: BuildRequires rpcgen since ae076bb4-remote-CVE-2019-3886.patch
    ebe9c6ea-qemu-firmware-dirent.patch

OBS-URL: https://build.opensuse.org/request/show/693774
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=746
2019-04-12 15:52:39 +00:00
James Fehlig
da9af7a383 Accepting request 692393 from home:jfehlig:branches:Virtualization
- CVE-2019-3886: disallow virDomainGetHostname and virDomainGetTime
  for read-only connections and users
  CVE-2019-3886-api.patch, CVE-2019-3886-remote.patch
  bsc#1131595
- spec: BuildRequires rpcgen since CVE-2019-3886-remote.patch
  touches remote_protocol.x

- Update to libvirt 5.2.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    4ec3cf9a-apparmor-rules.patch,
    f38ef0fa-no-RDMA-check.patch,
    411cdaf8-apparmor-check-profile-name.patch,
    696239ba-qemu-fix-query-cpus-fast.patch,
    09eb1ae0-conf-add-xenbus-controller.patch,
    fb059757-libxl-add-xenbus-controller.patch,
    ec5a1191-libxl-support-max-grant-frames.patch,
    5a64c202-xenconfig-support-max-grant-frames.patch
  - Added patches:
    ff376c62-tests-fix-mocking-stat-lstat.patch,
    mprivozn-test-fix-proposal.patch

OBS-URL: https://build.opensuse.org/request/show/692393
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=745
2019-04-08 22:27:41 +00:00
James Fehlig
1038e4e3f8 Accepting request 687771 from home:jfehlig:branches:Virtualization
- apparmor: reintroduce upstream lxc mount rules
  Drop apparmor-no-mount.patch
  bsc#1130129

OBS-URL: https://build.opensuse.org/request/show/687771
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=743
2019-03-22 17:03:44 +00:00
James Fehlig
6db7ff9129 Accepting request 684801 from home:jfehlig:branches:Virtualization
- hook: encode incoming XML to UTF-8 before passing to lxml etree
  fromstring method
  Modifed suse-qemu-domain-hook.py
  boo#1123642

- libxl: change autoballooning default to disabled
  suse-libxl-disable-autoballoon.patch
  jsc#SLE-3059

- conf: add new 'xenbus' controller type
  09eb1ae0-conf-add-xenbus-controller.patch
- libxl: support Xen's max_grant_frames setting with maxGrantFrames
  attribute on the xenbus controller
  fb059757-libxl-add-xenbus-controller.patch,
  ec5a1191-libxl-support-max-grant-frames.patch,
  5a64c202-xenconfig-support-max-grant-frames.patch
  bsc#1126325

- Replace patches with upstream variants
  Old:
  0001-apparmor-Check-libvirtd-profile-status-by-name.patch,
  0001-qemu-Fix-query-cpus-fast-target-architecture-detecti.patch
  New:
  411cdaf8-apparmor-check-profile-name.patch,
  696239ba-qemu-fix-query-cpus-fast.patch

OBS-URL: https://build.opensuse.org/request/show/684801
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=740
2019-03-13 23:35:01 +00:00
James Fehlig
a0ca4c8c64 Accepting request 684123 from home:jfehlig:branches:Virtualization
-  util: skip RDMA detection for non-PCI network devices
   f38ef0fa-no-RDMA-check.patch
   bsc#1112182

OBS-URL: https://build.opensuse.org/request/show/684123
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=738
2019-03-11 23:07:32 +00:00
James Fehlig
94340bed84 minor spec file adjustment
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=737
2019-03-07 15:21:15 +00:00
James Fehlig
88680c1000 Accepting request 682298 from home:jfehlig:branches:Virtualization
- qemu: s390: show correct CPU status after guest crash
  0001-qemu-Fix-query-cpus-fast-target-architecture-detecti.patch
  bsc#1127841

OBS-URL: https://build.opensuse.org/request/show/682298
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=736
2019-03-06 22:27:20 +00:00
James Fehlig
c50e323c11 Accepting request 682276 from home:jfehlig:branches:Virtualization
- apparmor: fix more fallout from changing libvirtd profile to a
  named profile
  4ec3cf9a-apparmor-rules.patch,
  0001-apparmor-Check-libvirtd-profile-status-by-name.patch
  boo#1125841

OBS-URL: https://build.opensuse.org/request/show/682276
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=735
2019-03-06 20:25:56 +00:00
James Fehlig
7fe9d077c7 Accepting request 681981 from home:jfehlig:branches:Virtualization
- Update to libvirt 5.1.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    11c8aca9-libxl-set-mem-after-balloon.patch,
    70c2933d-apparmor-named-profiles.patch,
    a3ab6d42-apparmor-conv-libvirtd-named-profile.patch,
    b6440119-qemu-conf-sev.patch,
    a404ac34-qemu-cgroup-sev.patch,
    6fd4c8f8-qemu-domain-sev.patch,
    17f6a257-security-dac-sev.patch,
    a2d3dea9-qemu-caps-dac-override-sev.patch,
    620d9dd5-qemu-no-dac-override-nonroot.patch
  - jsc#SLE-3887, jsc#SLE-4480, jsc#SLE-4577

OBS-URL: https://build.opensuse.org/request/show/681981
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=734
2019-03-06 02:00:59 +00:00
James Fehlig
66085e7438 Accepting request 679972 from home:jfehlig:branches:Virtualization
- spec: disable VirtualBox driver

OBS-URL: https://build.opensuse.org/request/show/679972
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=732
2019-02-27 21:02:36 +00:00
James Fehlig
61b77bff2e Accepting request 677536 from home:jfehlig:branches:Virtualization
- qemu: don't use CAP_DAC_OVERRIDE capability if non-root
  620d9dd5-qemu-no-dac-override-nonroot.patch
  boo#1125665

OBS-URL: https://build.opensuse.org/request/show/677536
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=730
2019-02-20 01:23:34 +00:00
James Fehlig
3558b40b5b Accepting request 672885 from home:jfehlig:branches:Virtualization
- qemu: fix issues related to restricted permissions on /dev/sev
  b6440119-qemu-conf-sev.patch, a404ac34-qemu-cgroup-sev.patch,
  6fd4c8f8-qemu-domain-sev.patch, 17f6a257-security-dac-sev.patch,
  a2d3dea9-qemu-caps-dac-override-sev.patch
  bsc#1124842

OBS-URL: https://build.opensuse.org/request/show/672885
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=728
2019-02-08 22:26:33 +00:00
James Fehlig
604f62151f Accepting request 668190 from home:jfehlig:branches:Virtualization
- apparmor: add support for named profiles and convert libvirtd
  profile to a named profile
  70c2933d-apparmor-named-profiles.patch,
  a3ab6d42-apparmor-conv-libvirtd-named-profile.patch
  boo#1118952
- libxl: save current memory value after successful balloon
  11c8aca9-libxl-set-mem-after-balloon.patch
  bsc#1120813

OBS-URL: https://build.opensuse.org/request/show/668190
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=726
2019-01-23 22:10:16 +00:00
James Fehlig
08f4d19aa7 Accepting request 667973 from home:jengelh:branches:Virtualization
- Noun phrase for %description doc.
- Remove idempotent %if..%endif pair around
  %package bash-completion.
- Reduce hard requirements on bash-c and documentation.

OBS-URL: https://build.opensuse.org/request/show/667973
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=725
2019-01-23 14:19:44 +00:00
James Fehlig
b2fe867c6e Accepting request 666802 from home:jfehlig:branches:Virtualization
- Enable bash completion in Leap15/SLE15 and newer

OBS-URL: https://build.opensuse.org/request/show/666802
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=724
2019-01-17 19:07:22 +00:00
James Fehlig
56793e96ce Accepting request 666350 from home:jfehlig:branches:Virtualization
- Update to libvirt 5.0.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Remove UML hypervisor driver
  - Dropped patches:
    de09ae2f-libxl-support-openvswitch.patch,
    0a1b5653-xenconfig-support-openvswitch.patch
  - FATE#320928, FATE#325817, FATE#326380, FATE#326698

OBS-URL: https://build.opensuse.org/request/show/666350
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=723
2019-01-15 23:46:12 +00:00
James Fehlig
18fc6c3933 Accepting request 662507 from home:jfehlig:branches:Virtualization
- Requires: ncurses expands to Requires: libncurses5, which
  is not required by any component of this package. Remove it
  along with the BuildRequires: ncurses-devel

OBS-URL: https://build.opensuse.org/request/show/662507
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=721
2019-01-02 16:27:26 +00:00
James Fehlig
941d0b9751 Accepting request 655917 from home:jfehlig:branches:Virtualization
Replace libxl openvswitch patches with upstream variants.

OBS-URL: https://build.opensuse.org/request/show/655917
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=719
2018-12-06 23:18:38 +00:00
James Fehlig
096d671ce7 Accepting request 653614 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.10.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    14d03b27-libxl-rm-redundant-virObjectEventStateQueue.patch,
    82452a5d-libxl-rm-goto-libxlDomainShutdownThread.patch,
    da4b0fd9-libxl-support-soft-reset.patch,
    libxl-qemu-emulator-caps.patch
  - Added patches:
    libxl-support-ovswitch.patch,
    libxl-ovswitch-config-format-conversions.patch
  - FATE#320928, FATE#325817, FATE#326380, FATE#326698

OBS-URL: https://build.opensuse.org/request/show/653614
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=718
2018-12-03 23:17:47 +00:00
James Fehlig
0a997d39fb Accepting request 647056 from home:jfehlig:branches:Virtualization
- libxl: add support for soft reset
  14d03b27-libxl-rm-redundant-virObjectEventStateQueue.patch,
  82452a5d-libxl-rm-goto-libxlDomainShutdownThread.patch,
  da4b0fd9-libxl-support-soft-reset.patch
  bsc#1081516

OBS-URL: https://build.opensuse.org/request/show/647056
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=716
2018-11-07 17:17:07 +00:00
James Fehlig
7e651005e2 Accepting request 646452 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.9.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - FATE#326371

OBS-URL: https://build.opensuse.org/request/show/646452
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=714
2018-11-05 16:10:54 +00:00
James Fehlig
859f110cb8 Add changelog entry noting update of SLE15 SP1 with the Factory libvirt package
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=711
2018-10-19 16:56:57 +00:00
James Fehlig
ce630fa7e7 Accepting request 639816 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.8.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    60b4fd90-libxl-rm-vm-finish-phase.patch,
    e39c66d3-libxl-fix-p2p-migration.patch,
    47da84e0-libxl-fix-job-handling-migsrc.patch,
    0149464a-libxl-fix-job-handling-migdst.patch,
    5ea2abb3-libxl-join-mig-rcv-thread.patch

OBS-URL: https://build.opensuse.org/request/show/639816
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=709
2018-10-03 20:24:42 +00:00
James Fehlig
938c7e0e48 Accepting request 637734 from home:jengelh:branches:Virtualization
- Fix RPM groups. Remove idempotent %if..%endif guards.
- Remove redundant %clean section.

OBS-URL: https://build.opensuse.org/request/show/637734
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=707
2018-09-24 17:01:50 +00:00
James Fehlig
78ce2f68a0 Accepting request 637094 from home:jfehlig:branches:Virtualization
spec: remove requires on libiscsi

OBS-URL: https://build.opensuse.org/request/show/637094
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=706
2018-09-21 18:27:34 +00:00
James Fehlig
827fa7dc68 Accepting request 636920 from home:jfehlig:branches:Virtualization
- libxl: fix VM migration on busy hosts
  60b4fd90-libxl-rm-vm-finish-phase.patch,
  e39c66d3-libxl-fix-p2p-migration.patch,
  47da84e0-libxl-fix-job-handling-migsrc.patch,
  0149464a-libxl-fix-job-handling-migdst.patch,
  5ea2abb3-libxl-join-mig-rcv-thread.patch
  bsc#1108086

- Update to libvirt 4.7.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    9ed59012--revert-jansson1.patch,
    54f2b5e3-revert-jansson2.patch,
    b56950fd-revert-jansson3.patch,
    6c3d66ac-revert-jansson4.patch,
    8e373e6d-revert-jansson5.patch,
    6f99de31-revert-jansson6.patch,
    f204cf51-revert-jansson7.patch,
    5a58b5ed-revert-jansson8.patch,
    63f6e0e9-revert-jansson9.patch,
    8687eba-revert-jansson10.patch,
    e96e71d8-revert-jansson11.patch,
    d99a8959-revert-jansson12.patch,
    074a7e14-revert-jansson13.patch

OBS-URL: https://build.opensuse.org/request/show/636920
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=704
2018-09-20 17:06:17 +00:00
James Fehlig
4daedcf6c9 Accepting request 629264 from home:jfehlig:branches:Virtualization
- Revert switch to jansson
  boo#1104820
  - Dropped:
    temp-build-fix.patch
  - Added:
    9ed59012--revert-jansson1.patch,
    54f2b5e3-revert-jansson2.patch,
    b56950fd-revert-jansson3.patch,
    6c3d66ac-revert-jansson4.patch,
    8e373e6d-revert-jansson5.patch,
    6f99de31-revert-jansson6.patch,
    f204cf51-revert-jansson7.patch,
    5a58b5ed-revert-jansson8.patch,
    63f6e0e9-revert-jansson9.patch,
    8687eba-revert-jansson10.patch,
    e96e71d8-revert-jansson11.patch,
    d99a8959-revert-jansson12.patch

- spec: don't restart libvirt-guests when updating libvirt-client
  bsc#1104662

OBS-URL: https://build.opensuse.org/request/show/629264
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=701
2018-08-14 17:05:16 +00:00
James Fehlig
145c421e41 Accepting request 627772 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.6.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Switch from yajl to jansson
  - Dropped patches:
    libvirt-4.5.0-apparmor-add-missing-comma.patch
  - Patches added to fix upstream bugs:
    temp-build-fix.patch

OBS-URL: https://build.opensuse.org/request/show/627772
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=699
2018-08-06 22:52:48 +00:00
Ismail Dönmez
933a76cddd Accepting request 627298 from home:1Antoine1:branches:Virtualization
- Fix apparmor failure at startup because of syntax error in
  libvirt profile:
  * Add libvirt-4.5.0-apparmor-add-missing-comma.patch (picked
    from upstream).

OBS-URL: https://build.opensuse.org/request/show/627298
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=698
2018-08-03 11:43:24 +00:00
James Fehlig
982a25323a Accepting request 623163 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.5.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    67c56f6e-libxl-logfd-leak-fix.patch
- spec: use more macros in file paths
- libxl: Implement virDomainBlockResize
  0001-libxl-add-support-for-BlockResize-API.patch
  FATE#325467, bsc#1094325, bsc#1094725

OBS-URL: https://build.opensuse.org/request/show/623163
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=696
2018-07-16 16:42:10 +00:00
James Fehlig
d87f957015 Accepting request 620643 from home:jfehlig:branches:Virtualization
- spec: enable gluster storage backend for openSUSE

OBS-URL: https://build.opensuse.org/request/show/620643
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=694
2018-07-04 17:18:33 +00:00
James Fehlig
2adf4b3d71 - spec: BuildRequires glusterfs-devel when gluster support is
enabled

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=693
2018-06-25 14:19:12 +00:00
James Fehlig
4d2c547eb1 Accepting request 614408 from home:jfehlig:branches:Virtualization
- spec: use wireshark plugin directory from pkg-config

- virt-aa-helper: add SUSE path to OVMF and AAVMF images
  Adjusted suse-ovmf-paths.patch
  boo#1095556

- Update to libvirt 4.4.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - CVE-2018-3639
  - Dropped patches:
    1dbca2ec-CVE-2018-3639.patch, 92673422-CVE-2018-3639.patch
- libxl: fix leaking logfile fds
  67c56f6e-libxl-logfd-leak-fix.patch
  bsc#1094480

OBS-URL: https://build.opensuse.org/request/show/614408
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=691
2018-06-05 23:59:32 +00:00
James Fehlig
20551e5e18 Accepting request 611362 from home:jfehlig:branches:Virtualization
- cpu: add support for 'ssbd' and 'virt-ssbd' CPUID feature bits
  CVE-2018-3639
  1dbca2ec-CVE-2018-3639.patch, 92673422-CVE-2018-3639.patch
  bsc#1092885

OBS-URL: https://build.opensuse.org/request/show/611362
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=689
2018-05-22 17:05:48 +00:00
James Fehlig
e2e9d8fccc Accepting request 605205 from home:jfehlig:branches:Virtualization
- spec: enable libssh support for suse_version >= 1500

OBS-URL: https://build.opensuse.org/request/show/605205
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=687
2018-05-08 05:01:36 +00:00
James Fehlig
b81961b485 Accepting request 603329 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.3.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Remove legacy Xen driver
  - Dropped patches:
    09877303-virSocketAddrParseInternal.patch,
    412afdb8-intro-virSocketAddrParseAny.patch

OBS-URL: https://build.opensuse.org/request/show/603329
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=685
2018-05-02 22:39:32 +00:00
James Fehlig
9462ef6485 Accepting request 593871 from home:jfehlig:branches:Virtualization
- util: improvements in error handling
  09877303-virSocketAddrParseInternal.patch,
  412afdb8-intro-virSocketAddrParseAny.patch
  bsc#1080957

- Update to libvirt 4.2.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    6b3d716e-keycodemap-py3.patch,
    33c6eb96-fix-libvirtd-reload-deadlock.patch,
    464889ff-rpc-aquire-ref-dispatch.patch,
    c6f1d519-rpc-simplify-dispatch.patch,
    06e7ebb6-rpc-invoke-dispatch-unlocked.patch,
    86cae503-rpc-fix-pre-exec.patch,
    eefabb38-rpc-virtlockd-virtlogd-single-thread.patch,
    fbf31e1a-CVE-2018-1064.patch,
    fb327ac2-virtlockd-admin-socket.patch,
    64370c4b-libxl-MigrateBegin.patch,
    99486799-libxl-MigrateConfirm.patch,
    f5eacf2a-libxl-MigratePerform.patch,
    4e6fcdb6-libxl-libxlDomObjFromDomain-cleanup.patch,
    fe51dbda-libxl-use-FindByRef.patch,
    60b3fcd9-libxl-MigratePrepare.patch,
    3c89868c-libxl-lock-after-ListRemove.patch,
    13e81fc6-libxl-EndJob-on-error.patch,
    594b8b99-libxl-DefineXMLFlags-API-pattern.patch,
    c66e344e-libxl-dont-deref-NULL.patch,
    83edaf44-libxl-dont-hardcode-sched-weight.patch,
    apibuild-py3.patch

OBS-URL: https://build.opensuse.org/request/show/593871
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=683
2018-04-05 21:47:55 +00:00
James Fehlig
1ea77165a0 Accepting request 589839 from home:jfehlig:branches:Virtualization
- libxl: don't hardcode scheduler weight
  83edaf44-libxl-dont-hardcode-sched-weight.patch
  bsc#1086377

- libxl: fixes and improvements in migration APIs
  64370c4b-libxl-MigrateBegin.patch,
  99486799-libxl-MigrateConfirm.patch,
  f5eacf2a-libxl-MigratePerform.patch,
  4e6fcdb6-libxl-libxlDomObjFromDomain-cleanup.patch,
  fe51dbda-libxl-use-FindByRef.patch,
  60b3fcd9-libxl-MigratePrepare.patch,
  3c89868c-libxl-lock-after-ListRemove.patch,
  13e81fc6-libxl-EndJob-on-error.patch,
  594b8b99-libxl-DefineXMLFlags-API-pattern.patch,
  c66e344e-libxl-dont-deref-NULL.patch
  bsc#1080957

OBS-URL: https://build.opensuse.org/request/show/589839
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=681
2018-03-22 00:33:49 +00:00
James Fehlig
535a5085f7 Accepting request 587705 from home:jfehlig:branches:Virtualization
don't use libexecdir for firewalld service file

OBS-URL: https://build.opensuse.org/request/show/587705
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=679
2018-03-16 03:27:58 +00:00
James Fehlig
b34926c2e5 Accepting request 587582 from home:jfehlig:branches:Virtualization
- lockd: fix typo in virtlockd-admin.socket
  fb327ac2-virtlockd-admin-socket.patch
  bsc#1085386

OBS-URL: https://build.opensuse.org/request/show/587582
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=678
2018-03-15 16:50:01 +00:00
James Fehlig
2596895112 Accepting request 587176 from home:jfehlig:branches:Virtualization
- Install correct firewall service file depending on availability
  of firewalld vs SuSEfirewall2
  libvirtd-relocation-server.xml
  bsc#1083455

OBS-URL: https://build.opensuse.org/request/show/587176
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=677
2018-03-14 23:03:30 +00:00
James Fehlig
a026aabb02 Accepting request 586966 from home:jfehlig:branches:Virtualization
- qemu: avoid denial of service reading from QEMU guest agent
  CVE-2018-1064
  fbf31e1a-CVE-2018-1064.patch
  bsc#1083625

- virtlockd: fix loosing lock on re-exec
  464889ff-rpc-aquire-ref-dispatch.patch,
  c6f1d519-rpc-simplify-dispatch.patch,
  06e7ebb6-rpc-invoke-dispatch-unlocked.patch,
  86cae503-rpc-fix-pre-exec.patch,
  eefabb38-rpc-virtlockd-virtlogd-single-thread.patch
  bsc#1076861

- libvirtd: fix potential deadlock when reloading
  33c6eb96-fix-libvirtd-reload-deadlock.patch
  bsc#1079150

OBS-URL: https://build.opensuse.org/request/show/586966
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=676
2018-03-14 14:29:10 +00:00
James Fehlig
c5e448dfb3 Accepting request 583090 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.1.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    72adaf2f-revert-qemu-monitor-error-report.patch,
    71d56a39-nodedev-fix-parse-PCI-address.patch,
    68eed56b-conf-smbios-oem-strings.patch,
    76977061-qemu-smbios-oem-strings.patch,
    0c710a37-libxl-resume-lock-on-mig-failure.patch,
    759b4d1b-virlog-determine-the-hostname-on-startup-CVE-2018-67.patch,
    c2dc6698-fix-deadlock-obtaining-hostname.patch,
    c391e07e-libxl-clock-settings.patch,
    ef71caea-libxl-memalign.patch,
    suse-apparmor-signal.patch

OBS-URL: https://build.opensuse.org/request/show/583090
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=674
2018-03-05 17:46:32 +00:00
James Fehlig
486bcc95d1 Accepting request 579670 from home:jfehlig:branches:Virtualization
- libxl: round memory values to next 1MiB increment
  ef71caea-libxl-memalign.patch
  bsc#1082041

OBS-URL: https://build.opensuse.org/request/show/579670
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=672
2018-02-23 22:58:19 +00:00
James Fehlig
8f664b6238 Accepting request 578845 from home:jfehlig:branches:Virtualization
- libxl: add support for specifying clock offset and adjustment
  c391e07e-libxl-clock-settings.patch
  bsc#1082161

OBS-URL: https://build.opensuse.org/request/show/578845
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=670
2018-02-22 00:13:39 +00:00
Cédric Bosdonnat
3b296fe76b Accepting request 575801 from home:cbosdonnat:branches:Virtualization
Add fix for the CVE fix
   c2dc6698-fix-deadlock-obtaining-hostname.patch

OBS-URL: https://build.opensuse.org/request/show/575801
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=668
2018-02-12 14:39:51 +00:00
Cédric Bosdonnat
63dfdb29d7 Accepting request 574765 from home:cbosdonnat:branches:Virtualization
- Remove all uses of python2 during the build (bsc#1080034)
    6b3d716e-keycodemap-py3.patch
    apibuild-py3.patch
- Determine hostname early to avoid code injection
  in lxc driver. (bsc#1080042)
    759b4d1b-virlog-determine-the-hostname-on-startup-CVE-2018-67.patch
- Add basic support of connectGetAllDomainStats for lxc driver
  (fate#323742)
    0001-Extract-stats-functions-from-the-qemu-driver.patch
    0002-lxc-implement-connectGetAllDomainStats.patch

OBS-URL: https://build.opensuse.org/request/show/574765
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=667
2018-02-09 16:35:42 +00:00
James Fehlig
a48acb127a Accepting request 569996 from home:jfehlig:branches:Virtualization
- qemu: Support setting OEM strings in SMBIOS
  68eed56b-conf-smbios-oem-strings.patch,
  76977061-qemu-smbios-oem-strings.patch
  FATE#323624
- libxl: resume lock process after failed migration
  0c710a37-libxl-resume-lock-on-mig-failure.patch
  bsc#1076861

- qemu hook: Change shebang to /usr/bin/python3
- spec: Require python lxml in daemon-hooks subpackage

OBS-URL: https://build.opensuse.org/request/show/569996
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=665
2018-01-26 17:16:35 +00:00
James Fehlig
14ffab8d40 Accepting request 568385 from home:jfehlig:branches:Virtualization
Inadvertently removed suse-apparmor-signal.patch. Add it back.

OBS-URL: https://build.opensuse.org/request/show/568385
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=663
2018-01-22 20:41:06 +00:00
James Fehlig
803f542a4b Accepting request 567780 from home:jfehlig:branches:Virtualization
- Update to libvirt 4.0.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    2d07f1f0-fix-storage-crash.patch,
    69ed99c7-dom0-persistent.patch,
    8599aedd-libvirt-guests-dom0-filter.patch,
    0f33025a-virt-aa-helper-handle-more-disk-images.patch,
    b475a91b-add-virStringFilterChars-string-utility.patch,
    faec1958-lxc-set-hostname-based-on-container-name.patch,
    2089ab21-netserver-close-clients-before-stopping-all-drivers.patch,
    fix-virt-aa-helper-profile.patch,
    suse-apparmor-signal.patch
  - Patches added to fix upstream bugs:
    72adaf2f-revert-qemu-monitor-error-report.patch,
    71d56a39-nodedev-fix-parse-PCI-address.patch
  - CVE-2018-5748, CVE-2017-5715, bsc#1071651

OBS-URL: https://build.opensuse.org/request/show/567780
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=661
2018-01-19 19:16:17 +00:00
James Fehlig
6588d246d6 Accepting request 563669 from home:jfehlig:branches:Virtualization
- Add a qemu hook script providing functionality similar to Xen's
  block-dmmd script
  suse-qemu-domain-hook.py
  FATE#324177

OBS-URL: https://build.opensuse.org/request/show/563669
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=659
2018-01-11 18:22:07 +00:00
Cédric Bosdonnat
9bcf0160d4 Accepting request 561340 from home:cbosdonnat:branches:Virtualization
- Lift VirtualBox dependency version to include 4.2.x

OBS-URL: https://build.opensuse.org/request/show/561340
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=656
2018-01-03 13:35:47 +00:00
Cédric Bosdonnat
d3c3ef874c Accepting request 561313 from home:cbosdonnat:branches:Virtualization
- Fix apparmor rules for virt-aa-helper (bsc#1074265)
  fix-virt-aa-helper-profile.patch
- Update upstreamed patches
  Removed patches:
  * daemon-close-crasher.patch
  * lxc-hostname.patch
  Added patches:
  * 2089ab21-netserver-close-clients-before-stopping-all-drivers.patch
  * b475a91b-add-virStringFilterChars-string-utility.patch
  * faec1958-lxc-set-hostname-based-on-container-name.patch

OBS-URL: https://build.opensuse.org/request/show/561313
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=655
2018-01-03 12:04:09 +00:00
Cédric Bosdonnat
21a15fa2f7 Accepting request 558919 from home:cbosdonnat:branches:Virtualization
- Enhance apparmor rules for virt-aa-helper (bsc#1070916)
  0f33025a-virt-aa-helper-handle-more-disk-images.patch

OBS-URL: https://build.opensuse.org/request/show/558919
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=653
2017-12-20 19:41:21 +00:00
Cédric Bosdonnat
690cef5c1e Accepting request 558885 from home:cbosdonnat:branches:Virtualization
- Close clients before drivers are cleaned up to avoid crash at
  libvirtd stop (bsc#1073730)
  daemon-close-crasher.patch
- Set a hostname on lxc containers based on guest's name.
  lxc-hostname.patch

OBS-URL: https://build.opensuse.org/request/show/558885
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=652
2017-12-20 17:21:40 +00:00
James Fehlig
c01d33d0ce Accepting request 558230 from home:jfehlig:branches:Virtualization
- libvirt-guests: fix 'stop' operation when action is 'suspend'
  69ed99c7-dom0-persistent.patch,
  8599aedd-libvirt-guests-dom0-filter.patch
  bsc#1070130

OBS-URL: https://build.opensuse.org/request/show/558230
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=650
2017-12-18 18:48:46 +00:00
James Fehlig
9e7c17be27 Accepting request 557196 from home:jfehlig:branches:Virtualization
- storage: Don't dereference driver object if virStorageSource is
  not initialized
  2d07f1f0-fix-storage-crash.patch
  bsc#1072974

OBS-URL: https://build.opensuse.org/request/show/557196
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=649
2017-12-14 23:46:39 +00:00
James Fehlig
fcf349cddb Accepting request 547315 from home:jfehlig:branches:Virtualization
Release candidate 2 of libvirt 3.10.0 for Factory and SLE15 beta4.

- Update to libvirt 3.10.0 RC2
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    8056721c-qemu-null-storage-source.patch,
    74a13be4-xdr-flags.patch,
    apparmor-rules-for-new-mediation-features.patch,
    apparmor-fine-grained-mount-rules.patch
  - bsc#1070478, FATE#324479

- spec: remove use of 'systemctl enable'
  bsc#1038401

- spec: enable firewalld support for SLE15, Leap15, and Tumbleweed
  FATE#320794

OBS-URL: https://build.opensuse.org/request/show/547315
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=644
2017-12-01 22:52:01 +00:00
d87fe7c075 Accepting request 544762 from home:RBrownSUSE:branches:Virtualization
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544762
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=642
2017-11-24 09:58:28 +00:00
James Fehlig
2dac2555c4 Accepting request 544492 from home:jfehlig:branches:Virtualization
- spec: Add BuildRequires for libtirpc-devel in preparation of
  removal of sunrpc from glibc
- build: Use XDR_CFLAGS in more places
  74a13be4-xdr-flags.patch

OBS-URL: https://build.opensuse.org/request/show/544492
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=641
2017-11-22 22:45:01 +00:00
James Fehlig
5b64c3492d Accepting request 544470 from home:olh:branches:Virtualization
- Replace hardcoded libvirt with Name tag when refering to subpkgs
- Remove dependencies to /bin/sh in libs and nss %post scripts

OBS-URL: https://build.opensuse.org/request/show/544470
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=640
2017-11-22 22:22:46 +00:00
James Fehlig
119ff95911 Accepting request 542716 from home:jfehlig:branches:Virtualization
- apparmor: allow libvirtd to send signals to unconfined processes
  suse-apparmor-signal.patch
  boo#1065123

- qemu: Tolerate storage source private data being NULL
  8056721c-qemu-null-storage-source.patch
  bsc#1068752

OBS-URL: https://build.opensuse.org/request/show/542716
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=638
2017-11-17 22:24:52 +00:00
James Fehlig
9d8a1a2b86 Accepting request 540060 from home:jfehlig:branches:Virtualization
- apparmor: add rules for new mediation features
  apparmor-rules-for-new-mediation-features.patch,
  apparmor-fine-grained-mount-rules.patch
  bsc#1066124, boo#1065123
- spec: unconditionally enable the wireshark dissector

OBS-URL: https://build.opensuse.org/request/show/540060
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=636
2017-11-09 04:22:40 +00:00
Cédric Bosdonnat
d43f869deb Accepting request 539838 from home:cbosdonnat:branches:Virtualization
- Replace %{with_sle_build} by ! 0%{?is_opensuse}
  bsc#940315

OBS-URL: https://build.opensuse.org/request/show/539838
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=635
2017-11-08 12:04:32 +00:00
James Fehlig
1e0091f6a1 Accepting request 538537 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.9.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    c44b29aa-apparmor-dnsmasq-ptrace.patch,
    441d3eb6-qemu-tls-client-verify-server-cert.patch

OBS-URL: https://build.opensuse.org/request/show/538537
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=634
2017-11-02 22:48:50 +00:00
James Fehlig
6595490957 Accepting request 534320 from home:jfehlig:branches:Virtualization
Fix for CVE-2017-1000256.

- qemu: ensure TLS clients always verify the server certificate
  CVE-2017-1000256
  bsc#1062563

OBS-URL: https://build.opensuse.org/request/show/534320
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=631
2017-10-16 23:27:53 +00:00
James Fehlig
30e519f2ad Accepting request 533776 from home:jengelh:branches:Virtualization
- Do not ignore errors from useradd/groupadd.
- Invoke/expand %service_* just once per scriptlet.
- Replace some old macros.

OBS-URL: https://build.opensuse.org/request/show/533776
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=630
2017-10-16 15:41:46 +00:00
James Fehlig
3045be0fa6 Accepting request 533501 from home:jfehlig:branches:Virtualization
A few more libvirt fixes for Factory/SLE15.

- spec: libvirt-daemon-qemu requires libvirt-daemon-driver-storage
  bsc#1062620

- spec: reload libvirtd Apparmor profile in %post
  bsc#1060860

OBS-URL: https://build.opensuse.org/request/show/533501
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=629
2017-10-11 22:42:29 +00:00
James Fehlig
de19f2680c Accepting request 532350 from home:jfehlig:branches:Virtualization
Incremental update of the libvirt package to fix bsc#1060860.

- apparmor: add dnsmasq ptrace rule to libvirtd profile
  c44b29aa-apparmor-dnsmasq-ptrace.patch
  bsc#1060860

OBS-URL: https://build.opensuse.org/request/show/532350
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=627
2017-10-06 23:21:18 +00:00
James Fehlig
5f197ada50 Accepting request 531808 from home:jfehlig:branches:Virtualization
Updated libvirt package for Factory/TW/SLE15.

- spec: Add dependency to UEFI firmwares since paths are specified
  at build time

- Update to libvirt 3.8.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    92bd87a2-ryzen-test-data.patch,
    5c83b360-epyc-test-data.patch,
    a0b62843-epyc-cpu-model.patch,
    f305d8a1-apparmor-attach_disconnected.patch,
    b482925c-apparmor-ptrace-support.patch

- Enable firewalld support for openSUSE >= 42.2

OBS-URL: https://build.opensuse.org/request/show/531808
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=626
2017-10-05 15:49:54 +00:00
James Fehlig
51341f04c9 Accepting request 528889 from home:jfehlig:branches:Virtualization
Fix various apparmor issues.

- apparmor: Add rules for kernel 4.13 ptrace checks
  b482925c-apparmor-ptrace-support.patch
  Drop temporary workaround apparmor-ptrace-support.patch
  bsc#1058847
- apparmor: Add rules for denial encountered when starting
  confined domains
  f305d8a1-apparmor-attach_disconnected.patch,
  suse-apparmor-libnl-paths.patch
  Drop old, useless, undocumented apparmor-fixes.patch

OBS-URL: https://build.opensuse.org/request/show/528889
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=624
2017-09-27 02:43:07 +00:00
James Fehlig
c7c43f64ec Accepting request 527592 from home:jfehlig:branches:Virtualization
Temporary fix for bsc#1058847, based on upstream patch under review.

- apparmor: add temporary profile fixes to allow starting domains
  apparmor-ptrace-support.patch
  bsc#1058847

OBS-URL: https://build.opensuse.org/request/show/527592
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=622
2017-09-20 17:19:37 +00:00
James Fehlig
f46b5b7971 Accepting request 526415 from home:jfehlig:branches:Virtualization
- cpu: Add new EPYC CPU model
  92bd87a2-ryzen-test-data.patch, 5c83b360-epyc-test-data.patch,
  a0b62843-epyc-cpu-model.patch
  bsc#1052825

OBS-URL: https://build.opensuse.org/request/show/526415
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=620
2017-09-15 18:42:21 +00:00
James Fehlig
d6f1cec2cb Accepting request 526406 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.7.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    8982f3ab-util-hash-header.patch,
    0b1ecf7b-virHashCodeGen-mockable.patch,
    f536b0dd-tests-arch-independent-hash.patch,
    e4cb8500-avoid-malicious-ssh-hostname-as-args.patch

- Support OVMF 4MB firmware images
  Adjustment to spec file and suse-ovmf-paths.patch

- supportconfig plugin: list active networks, interfaces and
  storage pools

OBS-URL: https://build.opensuse.org/request/show/526406
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=619
2017-09-15 17:11:37 +00:00
James Fehlig
75630acc68 Accepting request 519733 from home:jfehlig:branches:Virtualization
- rpc: avoid ssh interpreting malicious hostname as arguments
  e4cb8500-avoid-malicious-ssh-hostname-as-args.patch
  bsc#1053600

OBS-URL: https://build.opensuse.org/request/show/519733
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=617
2017-08-30 20:10:31 +00:00
James Fehlig
0d01ad3986 Accepting request 514264 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.6.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
- Fix unit tests on s390x and ppc64
  8982f3ab-util-hash-header.patch,
  0b1ecf7b-virHashCodeGen-mockable.patch.
  f536b0dd-tests-arch-independent-hash.patch
- Patch cleanup
  - Renamed libvirtd-defaults.patch to
    suse-libvirtd-disable-tls.patch
  - Renamed libvirtd-init-script.patch to
    suse-libvirtd-sysconfig-settings.patch
  - Renamed virtlockd-init-script.patch to
    suse-virtlockd-sysconfig-settings.patch
  - Renamed virtlogd-init-script.patch to
    suse-virtlogd-sysconfig-settings.patch
  - Renamed libvirt-guests-init-script.patch to
    suse-libvirt-guests-service.patch
  - Combined suse-libvirtd-service.patch and
    systemd-service-xen.patch to suse-libvirtd-service-xen.patch
    since both patches add Xen support to libvirtd service file
  - Pull OVMF-related changes from suse-qemu-conf.patch into a
    new suse-ovmf-paths.patch

- Add a supportconfig plugin
  libvirt-supportconfig
  FATE#323661

OBS-URL: https://build.opensuse.org/request/show/514264
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=615
2017-08-03 17:28:59 +00:00
James Fehlig
b5d01ae01a - Remove Requires on bridge-utils
FATE#323639

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=614
2017-07-26 15:50:53 +00:00
James Fehlig
58ecab2dbe Accepting request 511824 from devel:ARM:Factory
- drop dependency on xen for armv6hl (not supported and does not
  build)

OBS-URL: https://build.opensuse.org/request/show/511824
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=613
2017-07-21 17:35:13 +00:00
James Fehlig
87c18e30d4 Accepting request 508397 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.5.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    5004f121-virFdStreamThread-dont-exceed-length.patch,
    1a4b21f1-set-EOF-on-end-of-stream.patch

OBS-URL: https://build.opensuse.org/request/show/508397
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=611
2017-07-05 19:26:04 +00:00
James Fehlig
b7d76a8470 Accepting request 508026 from home:jengelh:branches:Virtualization
- Remove --with-pic which is only for static libs
- Use %_smp_mflags instead of just %jobs

OBS-URL: https://build.opensuse.org/request/show/508026
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=610
2017-07-04 14:44:22 +00:00
James Fehlig
f044c9550b Accepting request 501831 from home:jfehlig:branches:Virtualization
Miscellaneous spec file improvements.

- misc spec file cleanup
  - remove checks for old distros well beyond EOL
  - enable wireshark dissector for Leap >= 42.2 and Factory
  - remove support for old, non-systemd distros
  - replace $RPM_ shell vars with modern macros

  5004f121-virFdStreamThread-dont-exceed-length.patch,
  1a4b21f1-set-EOF-on-end-of-stream.patch

OBS-URL: https://build.opensuse.org/request/show/501831
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=608
2017-06-07 23:56:21 +00:00
James Fehlig
82e6ddc91c Fix a regression in libvirt 3.4.0 found by libvirt-tck.
- Don't exceed specified length when reading from stream
  5004f121-virFdStreamThread-dont-exceed-length.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=607
2017-06-06 22:05:12 +00:00
James Fehlig
2aa2eef142 Accepting request 500763 from home:jfehlig:branches:Virtualization
-  Update to libvirt 3.4.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    aeda1b8c-qemu-no-error-shutdown.patch,
    8023b21a-conf-ioapic.patch, 6b5c6314-qemu-irqchip.patch,
    2020e2c6-conf-intremap.patch, 04028a9d-qemu-intremap.patch,
    d12781b4-conf-iommu-cache-mode-attr.patch,
    a5691448-qemu-iommu-cache-mode.patch,
    3a276c65-conf-iommu-def-stability-check.patch,
    935d927a-conf-iommu-ABI-stability-check.patch,
    4cd3f241-fix-NULL-disk-source.patch,
    975ea20f-loopback-macro.patch,
    dbb85e0c-libxl-graphics-listen-addr.patch,
    libxl-def-usbctrl.patch, revert-2841e675-mtu.patch
  - FATE#321335, bsc#1031056, bsc#1037774, bsc#1040207, bsc#1040213

OBS-URL: https://build.opensuse.org/request/show/500763
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=606
2017-06-02 18:08:28 +00:00
James Fehlig
9ae4fe010c Accepting request 497372 from home:jfehlig:branches:Virtualization
- libxl: add default listen address for VNC and spice
  975ea20f-loopback-macro.patch,
  dbb85e0c-libxl-graphics-listen-addr.patch
  bsc#1040207
- xenconfig: fix handling of NULL disk source
  4cd3f241-fix-NULL-disk-source.patch
  bsc#1040213

OBS-URL: https://build.opensuse.org/request/show/497372
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=604
2017-05-22 17:49:23 +00:00
James Fehlig
8f756c33df Accepting request 495125 from home:jfehlig:branches:Virtualization
- qemu: add support for 288 VCPUS
  aeda1b8c-qemu-no-error-shutdown.patch,
  8023b21a-conf-ioapic.patch,
  6b5c6314-qemu-irqchip.patch,
  2020e2c6-conf-intremap.patch,
  04028a9d-qemu-intremap.patch,
  d12781b4-conf-iommu-cache-mode-attr.patch,
  a5691448-qemu-iommu-cache-mode.patch,
  3a276c65-conf-iommu-def-stability-check.patch,
  935d927a-conf-iommu-ABI-stability-check.patch
  FATE#321335
- revert commit 2841e675: qemu: propagate bridge MTU into qemu
  "host_mtu"
  revert-2841e675-mtu.patch
  bsc#1037774

OBS-URL: https://build.opensuse.org/request/show/495125
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=602
2017-05-15 23:02:52 +00:00
James Fehlig
96a1f2af34 Accepting request 491883 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.3.0 RC1
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    ae102b5d7-qemu-fix-regression-when-hyperv-vendor_id-feature-is-used.patch
  - Bug fixes:
    bsc#978121, bsc#1017017, bsc#1032863, bsc#1033117, bsc#1034024,
    bsc#1034146
- libxl: add default controllers for USB devices
  libxl-def-usbctrl.patch
  bsc#1031056

OBS-URL: https://build.opensuse.org/request/show/491883
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=599
2017-04-28 16:14:51 +00:00
James Fehlig
615e680a7d Accepting request 487720 from home:petracvv:branches:Virtualization
This fixes upstream bug rh#1439424. I opened an openSUSE bug report boo#1033893 for this issue.

OBS-URL: https://build.opensuse.org/request/show/487720
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=597
2017-04-12 22:53:49 +00:00
James Fehlig
f39448844a Accepting request 484775 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.2.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    67dcb797-virTimeBackOffWait-sleepcap.patch,
    85af0b80-qemu-adaptive-montimeout.patch,
    d68cb4f55-extract-the-request-sending-code-from-virNetlin.patch,
    754515b7d-add-virNetlinkDumpCommand.patch,
    3ee35d7d6-more-uses-of-SYSCTL_PATH.patch,
    5dd607059-add-virNetDevGetName.patch,
    00d28a78b-check-accept_ra-before-enabling-ipv6-forward.patch
- Add Conflicts=xendomains.service to libvirtd service
  suse-libvirtd-service.patch
  bsc#1015348

OBS-URL: https://build.opensuse.org/request/show/484775
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=595
2017-04-03 04:57:47 +00:00
James Fehlig
f9c1123f5a Accepting request 482274 from home:jengelh:branches:Virtualization
- RPM group fix

OBS-URL: https://build.opensuse.org/request/show/482274
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=594
2017-03-23 15:03:20 +00:00