Commit Graph

595 Commits

Author SHA256 Message Date
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
91c51f0294 Accepting request 493518 from home:jfehlig:branches:Virtualization
Update to libvirt 3.3.0 final

-  Update to libvirt 3.3.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Bug fixes:
    bsc#978121, bsc#1017017, bsc#1032863, bsc#1033117, bsc#1034024,
    bsc#1034146, bsc#1035995
- libxl: updated libxl-def-usbctrl.patch
  bsc#1031056

OBS-URL: https://build.opensuse.org/request/show/493518
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=601
2017-05-08 17:35:46 +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
Cédric Bosdonnat
79b3a063e4 Accepting request 481947 from home:cbosdonnat:branches:Virtualization
- Fail to start network instead of losing routes if IPv6 forwarding
  is required. bsc#1025252
  Added patches:
    00d28a78b-check-accept_ra-before-enabling-ipv6-forward.patch
    3ee35d7d6-more-uses-of-SYSCTL_PATH.patch
    5dd607059-add-virNetDevGetName.patch
    754515b7d-add-virNetlinkDumpCommand.patch
    d68cb4f55-extract-the-request-sending-code-from-virNetlin.patch

OBS-URL: https://build.opensuse.org/request/show/481947
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=593
2017-03-22 08:50:09 +00:00
James Fehlig
51e9f38d3f Accepting request 480654 from home:jfehlig:branches:Virtualization
- qemu: Fix monitor timeout with large memory VMs
  67dcb797-virTimeBackOffWait-sleepcap.patch
  85af0b80-qemu-adaptive-montimeout.patch
  bsc#1013113

OBS-URL: https://build.opensuse.org/request/show/480654
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=591
2017-03-16 14:56:18 +00:00
James Fehlig
04a0a5949c Accepting request 477655 from home:mwilck:branches:Virtualization
- network: don't use dhcp-authoritative on static networks
  bsc#1015588
  * added network-don-t-use-dhcp-authoritative-on-static-netwo.patch

OBS-URL: https://build.opensuse.org/request/show/477655
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=589
2017-03-08 03:58:39 +00:00
James Fehlig
14c21278a9 Accepting request 476767 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.1.0
  - Modularize storage driver by splitting it into backend-specific
    subpackages
  - CVE-2017-2635, bsc#1027075
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    b018ada3-shunloadtest-build-fix.patch,
    f86a7a83-libxl-dom0-balloon-fix.patch,
    6e4759d0-libxl-timer-fix.patch,
    87df87e0-libxl-timer-tsc-emulate.patch,
    b4386fda-xenconfig-timer-fix.patch,
    d3970925-timer-tests.patch,
    321a28c6-libxl-default-disk-format.patch,
    bd116810-libxl-fix-disk-detach.patch,
    ff225538-libxl-autoballoon-setting.patch,
    c89a6e78-libxl-physinfo-cleanup.patch,
    d2b77608-libxl-maxmem-fix.patch,
    79692c38-libxl-dom0-maxmem.patch,
    4ab0c959-libxl-mem-leak.patch,
    2dc1cf19-libxl-double-free.patch,
    apparmor-errormsg-fix.patch,
    apparmor-alt-seclabel.patch,
    qemu-disable-namespaces.patch

OBS-URL: https://build.opensuse.org/request/show/476767
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=588
2017-03-03 15:02:55 +00:00
James Fehlig
873668b56f Accepting request 461814 from home:jengelh:branches:Virtualization
- Drop author list from description. Fix summary to be more
  accurate as to what the subpackage pertains to.

OBS-URL: https://build.opensuse.org/request/show/461814
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=587
2017-03-02 15:50:49 +00:00
Cédric Bosdonnat
8dab66c597 Accepting request 458915 from home:kukuk:branches:Virtualization
- Don't call insserv if we use systemd and don't require it.

OBS-URL: https://build.opensuse.org/request/show/458915
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=585
2017-02-20 07:47:45 +00:00
James Fehlig
938d7e0b24 A few upstream patches to fix 79692c38-libxl-dom0-maxmem.patch
- libxl: more fixes for dom0 maxmem setting
  4ab0c959-libxl-mem-leak.patch, 2dc1cf19-libxl-double-free.patch
  bsc#1017762

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=584
2017-02-17 00:31:00 +00:00
James Fehlig
f167ba3466 Accepting request 456194 from home:jfehlig:branches:Virtualization
- apparmor: don't fail on non-apparmor <seclabel>
  apparmor-errormsg-fix.patch, apparmor-alt-seclabel.patch
  bsc#1023436

- libxl: fix reporting of domain maximum memory
  ff225538-libxl-autoballoon-setting.patch,
  c89a6e78-libxl-physinfo-cleanup.patch,
  d2b77608-libxl-maxmem-fix.patch,
  79692c38-libxl-dom0-maxmem.patch
  bsc#1017762

- libxl: set disk format to raw if not specified and fix disk
  detach
  321a28c6-libxl-default-disk-format.patch,
  bd116810-libxl-fix-disk-detach.patch
  bsc#1003379

- libxl: fix timer configurations
  6e4759d0-libxl-timer-fix.patch,
  87df87e0-libxl-timer-tsc-emulate.patch,
  b4386fda-xenconfig-timer-fix.patch, d3970925-timer-tests.patch
  bsc#1019969

OBS-URL: https://build.opensuse.org/request/show/456194
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=583
2017-02-10 23:01:12 +00:00
James Fehlig
f4b2d15476 Accepting request 454329 from home:jfehlig:branches:Virtualization
- SLE12 SP2 bugs merged via version updates of the Factory libvirt
  package:
  bsc#986718
- SLE12 SP2 FATEs merged via version updates of the Factory libvirt
  package:
  FATE#316228, FATE#316628, FATE#319531, FATE#319810, FATE#320490
- Replaced libxl-dom0-balloon-fix.patch with upstream patch
  f86a7a83-libxl-dom0-balloon-fix.patch

OBS-URL: https://build.opensuse.org/request/show/454329
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=581
2017-02-03 00:07:15 +00:00
James Fehlig
e8379ff946 Accepting request 453025 from home:jfehlig:branches:Virtualization
- Fix dom0 ballooning with Xen >= 4.8
  libxl-dom0-balloon-fix.patch
  bsc#1020755

- SLE12 SP2 bugs merged via version updates of the Factory libvirt
  package:
  bsc#996020, bsc#987002, bsc#997278, bsc#998005, bsc#998389,
  bsc#1001446, bsc#1001698, bsc#1005288, bsc#1013991, bsc#1016253,
  bsc#1017086, bsc#1017762, bsc#1018189

- virt-create-rootfs is a temporary SLE-only hack that was never
  added to the Factory libvirt package, causing it to be dropped
  when rebasing SLE on Factory. Add it now but only apply
  associated patch when building for SLE.
  virt-create-rootfs.patch
  bsc#995981

OBS-URL: https://build.opensuse.org/request/show/453025
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=579
2017-01-27 18:41:04 +00:00
James Fehlig
14a390fa2a Accepting request 451473 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.0.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Add b018ada3-shunloadtest-build-fix.patch to fix 'make check'
    failures
  - Add qemu-disable-namespaces.patch to temporarily disable
    qemu namespace feature until all issues are resolved

OBS-URL: https://build.opensuse.org/request/show/451473
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=578
2017-01-19 18:52:37 +00:00
James Fehlig
5ee7674bd0 Accepting request 448187 from home:matwey:branches:Virtualization
OBS-URL: https://build.opensuse.org/request/show/448187
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=576
2016-12-29 23:15:07 +00:00
James Fehlig
d303fbf880 Accepting request 444356 from home:jfehlig:branches:Virtualization
Update to libvirt 2.5.0 final.

- Update to libvirt 2.5.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
- Import new public signing key

OBS-URL: https://build.opensuse.org/request/show/444356
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=574
2016-12-06 23:28:57 +00:00
James Fehlig
2036f43563 Accepting request 440644 from home:jfehlig:branches:Virtualization
- spec: explicitly set qemu-bridge-helper path to /usr/lib/
  bsc#999070

OBS-URL: https://build.opensuse.org/request/show/440644
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=572
2016-11-16 18:45:09 +00:00
Cédric Bosdonnat
f9b2460e54 Accepting request 439197 from home:cbosdonnat:branches:Virtualization
- Package org.libvirt.api.policy polkit file (bsc#959297)
- Fix postun systemd services cleanup
- Mark /etc/libvirt/nwfilter/*.xml files as config files

OBS-URL: https://build.opensuse.org/request/show/439197
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=570
2016-11-08 14:03:56 +00:00
James Fehlig
f2577f99c5 Accepting request 438412 from home:jfehlig:branches:Virtualization
- Update to libvirt 2.4.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/438412
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=569
2016-11-02 21:55:27 +00:00
James Fehlig
47e5144d9d Accepting request 433498 from home:jfehlig:branches:Virtualization
- Update to libvirt 2.3.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    pci-use-driver-override-sysfs.patch,
    virHostdevFindUSBDevice-privsyms.patch, libxl-usb-vendor.patch,
    apparmor-qemu-bridge-helper.patch

OBS-URL: https://build.opensuse.org/request/show/433498
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=567
2016-10-05 20:52:26 +00:00
James Fehlig
a278eea708 Accepting request 424555 from home:jfehlig:branches:Virtualization
- Update to libvirt 2.2.0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    856965b3-qemu-secdriver.patch,
    541e9ae6-cpu-vendor-crash-fix.patch,
    d53d4650-qemu-rbd-auth.patch

OBS-URL: https://build.opensuse.org/request/show/424555
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=565
2016-09-03 01:58:32 +00:00
James Fehlig
27f2ad74e2 Add a few SLE12 SP2 bug fixes to Factory/Tumbleweed libvirt package.
- libxl: allow vendor/product addressing for USB hostdevs
  virHostdevFindUSBDevice-privsyms.patch, libxl-usb-vendor.patch
  bsc#989646
- qemu: fix auth for rbd network disks
  d53d4650-qemu-rbd-auth.patch
  bsc#988998
- Replace cpumodel-vendor-crash-fix.patch with upstream variant
  541e9ae6-cpu-vendor-crash-fix.patch
  bsc#992425

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=563
2016-08-20 23:29:36 +00:00
James Fehlig
e27e06d482 Accepting request 419115 from home:jfehlig:branches:Virtualization
- Update to libvirt 2.1.0
  - New subpackages libvirt-libs and libvirt-admin
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    c8f08e48-systemd-notify-fix.patch
- qemu: fix qemu.conf security_driver regression in 2.1.0 release
  856965b3-qemu-secdriver.patch

OBS-URL: https://build.opensuse.org/request/show/419115
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=562
2016-08-13 00:51:10 +00:00
James Fehlig
4378d7fd11 - cpu_x86: fix libvirtd segfault when host cpu is 'qemu64'
cpumodel-vendor-crash-fix.patch
  bsc#992425

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=560
2016-08-05 22:45:18 +00:00
Cédric Bosdonnat
0dfe303227 Accepting request 417046 from home:cbosdonnat:branches:Virtualization
- bsc#988279. Move the qemu-bridge-helper apparmor profile from the
  qemu abstraction to the usr.sbin.libvirtd profile.
  apparmor-qemu-bridge-helper.patch

OBS-URL: https://build.opensuse.org/request/show/417046
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=559
2016-08-05 08:23:21 +00:00
James Fehlig
24647409c0 add missing changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=558
2016-08-04 23:24:29 +00:00
James Fehlig
f0336af2de Add some SLE12 SP2 bug fixes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=554
2016-08-02 17:40:29 +00:00
James Fehlig
91a43d315c Accepting request 408966 from home:jfehlig:branches:Virtualization
Add some SLE12 SP2 fixes to the Factory/Tumbleweed libvirt package.

- BuildRequires: use librbd-devel instead of ceph-devel
- Enable rbd support for aarch64
  bsc#979473

- Use driver_override sysfs interface for binding/unbinding
  PCI stub drivers
  pci-simplify-stub.patch, pci-use-driver-override-sysfs.patch
  bsc#986718

OBS-URL: https://build.opensuse.org/request/show/408966
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=551
2016-07-15 20:05:01 +00:00
James Fehlig
b527b0e7f8 - systemd: fix ready notification on abstract socket
c8f08e48-systemd-notify-fix.patch
  boo#987668

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=549
2016-07-12 20:02:37 +00:00
James Fehlig
ff134ddc0f Accepting request 405936 from home:jfehlig:branches:Virtualization
- Update to libvirt 2.0.0
  - Change version scheme to match libvirt's time-driven release
    schedule. <major> will be incremented on first release of
    new calendar year, <minor> on each monthly release, and
    <micro> on stable branch maintenance release
  - Include libvirt-admin utility and API
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    apparmor-dont-scrub-environment-of-virtlogd-process.patch,
    e33cd67a-xenconfig-backendtype-fix.patch

OBS-URL: https://build.opensuse.org/request/show/405936
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=548
2016-07-01 16:39:05 +00:00
James Fehlig
bef7fc4f2b more spec file and changelog cleanup
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=545
2016-06-24 17:36:07 +00:00
James Fehlig
77335a5ee7 Accepting request 404532 from home:jfehlig:branches:Virtualization
More spec file improvements to allow common usage between
SLE and openSUSE.

- spec: Recent simplification allows using a common spec file for
  SLE and openSUSE
- Add SLE patches missing in openSUSE
  libxl-dom-reset.patch, libxl-set-migration-constraints.patch,
  libxl-support-block-script.patch

OBS-URL: https://build.opensuse.org/request/show/404532
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=544
2016-06-24 17:07:56 +00:00
James Fehlig
0c7f3cbbe1 - xenconfig: fix conversion of <driver> to backendtype
e33cd67a-xenconfig-backendtype-fix.patch
  bsc#984798

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=542
2016-06-16 18:45:02 +00:00
James Fehlig
e45054c955 - Advertise aarch64 UEFI firmware paths
- adjust spec file to include aarch64 paths in
    '--with-loader-nvram=' configure option
  - adjust qemu.conf 'nvram' option to include the SUSE paths
  bsc#981836, bsc#983747

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=541
2016-06-15 19:29:46 +00:00
James Fehlig
09bdbb5659 - apparmor: Don't scrub environment of virtlogd process
apparmor-dont-scrub-environment-of-virtlogd-process.patch
  boo#980441

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=539
2016-06-09 15:17:22 +00:00
James Fehlig
c7b51f773c Accepting request 400351 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.3.5
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    e4d131b8-mv-virDomainDefPostParseInternal.patch,
    3e428670-post-parse-implicit-video.patch,
    538012c8-default-vram.patch, 96b21fb0-vram-tests.patch,
    400e716d-libxl-noprope-emulator.patch,
    b90c4b5f-tests-use-qemu-xen.patch,
    fccf2725-libxl-API-4.4.patch,
    5325123d-libxl-migv2-save-restore.patch,
    f9edcfa4-libxl-migv2-migration.patch,
    a1c9a81a-libxl-rbd-fix.patch,
    ba566428-libxl-dom-iface-addrs.patch
- spec: simplify and cleanup by removing many conditionals that
  are never toogled. Also drop conditionals for suse_version <
  1310

OBS-URL: https://build.opensuse.org/request/show/400351
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=538
2016-06-07 02:00:39 +00:00
James Fehlig
4a0f0b0a30 Accepting request 398342 from home:jengelh:branches:Virtualization
- Avoid suppressing errors during useradd/groupadd

OBS-URL: https://build.opensuse.org/request/show/398342
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=536
2016-05-31 14:57:49 +00:00
James Fehlig
8eb128040f - libxl: add domainInterfaceAddresses API
ba566428-libxl-dom-iface-addrs.patch
   bsc#979425

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=534
2016-05-25 17:19:51 +00:00
James Fehlig
32ea3c1c57 - libxl: default to qemu driver for network disks
a1c9a81a-libxl-rbd-fix.patch
  boo#981094

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=533
2016-05-25 14:57:57 +00:00
James Fehlig
5714a82a32 - spec: Remove %defattr usage
Inspired by upstream commit 90f9193c

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=531
2016-05-18 05:13:33 +00:00
James Fehlig
4ab6a7b304 Add a SLE12 SP2 bug fix to the Factory libvirt package
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=529
2016-05-13 18:14:28 +00:00
James Fehlig
24511ba7f9 - Fix default video RAM setting
e4d131b8-mv-virDomainDefPostParseInternal.patch,
  3e428670-post-parse-implicit-video.patch,
  538012c8-default-vram.patch, 96b21fb0-vram-tests.patch,
  400e716d-libxl-noprope-emulator.patch,
  b90c4b5f-tests-use-qemu-xen.patch
  bsc#979397

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=528
2016-05-13 17:55:57 +00:00
James Fehlig
63954fab12 Accepting request 394064 from home:olh:branches:Virtualization
- Remove unknown locales to fix build in old dists

OBS-URL: https://build.opensuse.org/request/show/394064
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=527
2016-05-09 16:54:43 +00:00
James Fehlig
36595c9b4c Accepting request 393490 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.3.4
  - Add support for migration data compression in QEMU driver
  - Drop libvirtd.socket
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches: 216650f1-libxl-build-fix.patch,
    6d8b6d28-mark-implicit-video-primary.patch,
    03e8d5fb-qemu-perf-memory-corruption.patch,
    libvirtd-systemd-socket.patch

OBS-URL: https://build.opensuse.org/request/show/393490
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=526
2016-05-03 21:55:59 +00:00
James Fehlig
2c3c6d1983 Add bsc references in changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=524
2016-04-26 01:40:02 +00:00
James Fehlig
cd2a81947f Add bug fixes found while testing SLES12 SP2
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=522
2016-04-18 22:25:47 +00:00
James Fehlig
7ebd24a2be Accepting request 388407 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.3.3
  - perf events
  - post-copy migration support
  - NSS module
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Add rpmlintrc file to filter shlib-policy-name-error for
    new libnss_libvirt plugin
- Fix build with Xen4.7
  216650f1-libxl-build-fix.patch

OBS-URL: https://build.opensuse.org/request/show/388407
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=521
2016-04-13 00:22:05 +00:00
OBS User buildservice-autocommit
da0e8f4458 Accepting request 384426 from Virtualization
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/384426
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=520
2016-04-08 07:39:28 +00:00
OBS User buildservice-autocommit
93630a9236 Updating link to change in openSUSE:Factory/libvirt revision 200.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=b9bf8359d9a78a026242bba8fed372b3
2016-04-08 07:39:27 +00:00
d6664428e7 Revert LIBXL_API_VERSION, its all wrong
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=519
2016-04-08 06:06:17 +00:00
20b7f7b197 Accepting request 384141 from home:olh:branches:Virtualization
- Force LIBXL_API_VERSION=0x040500 to fix build with xen-4.7

OBS-URL: https://build.opensuse.org/request/show/384141
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=518
2016-04-05 08:47:44 +00:00
James Fehlig
1c9f80bcb5 - spec: restart daemons in %posttrans after connection drivers
have been processed
  bsc#854343, bsc#968483

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=516
2016-03-18 20:47:21 +00:00
James Fehlig
7405b879a5 - libxl: advertise system qemu instead of qemu-xen in caps
libxl-qemu-emulator-caps.patch
  FATE#320638

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=514
2016-03-03 22:44:56 +00:00
James Fehlig
89b02a08bc Accepting request 363743 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.3.2
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/363743
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=512
2016-03-01 17:58:15 +00:00
James Fehlig
83ea398b7d The openSUSE Xen package provides and supports several block-*
scripts. libvirt should support them too.

- libxl: Add support for block-{dmmd,drbd,npiv} scripts
  libxl-support-block-script.patch
  bsc#954872

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=511
2016-02-23 22:12:48 +00:00
James Fehlig
ead8cd12f9 Accepting request 356399 from home:jfehlig:branches:Virtualization
- qemu: set /usr/share/qemu/ovmf-x86_64-ms-{code,vars}.bin as
  default UEFI firmwares for x86_64
  bsc#961853

OBS-URL: https://build.opensuse.org/request/show/356399
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=509
2016-01-27 22:57:49 +00:00
James Fehlig
fe8f4e8203 Accepting request 354651 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.3.1
  - CVE-2015-5313
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches: 034e47c3-CVE-2015-5313.patch,
    ace1ee22-qemuxml2argv-test.patch, add-with-login-shell.patch,
    virt-aa-helper-rw-mounts.patch

OBS-URL: https://build.opensuse.org/request/show/354651
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=508
2016-01-18 19:32:30 +00:00
James Fehlig
7d7161c99c In an upgrade scenario we must explicitly enable virtlockd/virtlogd
sockets, if libvirtd is already enabled and start them if
libvirtd is running, otherwise the qemu driver will fail to start
guests.

- spec: perform one-time enable and start of virtlogd.socket when
  upgrading from libvirt < 1.3.0. Inspired by upstream libvirt.git
  commit da054f35.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=506
2015-12-22 02:31:20 +00:00
James Fehlig
938f073a9b Accepting request 349565 from home:jfehlig:branches:Virtualization
- CVE-2015-5313: don't allow '/' in filesystem volume names
  034e47c3-CVE-2015-5313.patch
  bsc#953110
- Fix failing qemuxml2argv test on 32-bit platforms
  ace1ee22-qemuxml2argv-test.patch

- Update to libvirt 1.3.0
  - New virtlogd log daemon
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patch: 703ec1b7-qemu-bridge-helper-fix.patch
  - Added patch: virtlogd-init-script.patch

OBS-URL: https://build.opensuse.org/request/show/349565
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=505
2015-12-18 21:01:20 +00:00
Cédric Bosdonnat
978f12dfb9 Accepting request 347309 from home:cbosdonnat:branches:Virtualization
- Run udevadm settle after removing NICs in lxc driver.
  bsc#829033. lxc-wait-after-eth-del.patch

OBS-URL: https://build.opensuse.org/request/show/347309
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=503
2015-12-04 08:54:48 +00:00
Cédric Bosdonnat
62997836cc Accepting request 344925 from home:cbosdonnat:branches:Virtualization
- Don't add apparmor deny rw rule for 9P readonly mounts.
  bsc#952849. virt-aa-helper-rw-mounts.patch

OBS-URL: https://build.opensuse.org/request/show/344925
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=501
2015-11-17 15:45:23 +00:00
Cédric Bosdonnat
ac30e132c5 Accepting request 343283 from home:cbosdonnat:branches:Virtualization
- Don't package virt-login-shell anymore as shipping it as
  non-setuid doesn't make sense. bsc#837609
  add-with-login-shell.patch

OBS-URL: https://build.opensuse.org/request/show/343283
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=499
2015-11-09 23:51:50 +00:00
James Fehlig
7012e84cf0 Accepting request 342482 from home:jfehlig:branches:Virtualization
- Detect path of qemu-bridge-helper during %configure
  - add qemu-tools as BuildRequires for suse_version > 1130
  - add upstream patch 703ec1b7-qemu-bridge-helper-fix.patch

- Update to libvirt 1.2.21
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    disable-virCgroupGetPercpuStats-test.patch

- spec: some minor wireshark fixups. Essentially a backport of
  commit 7c8250d7.

OBS-URL: https://build.opensuse.org/request/show/342482
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=497
2015-11-05 00:23:08 +00:00
Cédric Bosdonnat
048cb10d28 Accepting request 339223 from home:cbosdonnat:branches:Virtualization
- spec: remove all dependencies on apparmor to keep it optional.
  bsc#949793

OBS-URL: https://build.opensuse.org/request/show/339223
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=495
2015-10-16 09:13:56 +00:00
James Fehlig
d1058d1ec0 Add an old SLE12 bug fix to Factory/Tumbleweed
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=494
2015-10-13 17:02:37 +00:00
James Fehlig
5735dde32d - spec: the libvirt apparmor profiles #include files from the
apparmor-profiles package, thus should have a dependency on it
  bsc#949793

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=492
2015-10-09 17:21:22 +00:00
James Fehlig
cd92a8b149 Accepting request 336998 from home:olh:branches:Virtualization
- Remove Wants=xencommons.service from libvirtd.service
  xencommons is already enabled by a global preset, and the
  absence of xen-tools.rpm causes a systemd warning

OBS-URL: https://build.opensuse.org/request/show/336998
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=491
2015-10-08 02:55:03 +00:00
James Fehlig
de9b140cb2 Accepting request 335994 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.20
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped upstream patches:
    3468542f-virFileUnlink.patch,
    8b1d84e6-refreshVol-failure.patch,
    e0025d29-storage-mode-check.patch,
    ba25c214-libxl-log-level.patch,
    56945e13-libxl-AttachDeviceConfig-hostdev.patch

OBS-URL: https://build.opensuse.org/request/show/335994
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=490
2015-10-02 20:23:01 +00:00
James Fehlig
5353c641ca Add a SLE12 SP1 bug fix to the Factory libvirt package.
- bsc#945962: SLES12 SP1 Beta3 - Pass-through NIC device via virsh
  not available to VM.
  56945e13-libxl-AttachDeviceConfig-hostdev.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=488
2015-09-17 15:45:05 +00:00
James Fehlig
d7a1722cf4 - libxl: set driver log level to the log_level specified in
libvirtd.conf
  ba25c214-libxl-log-level.patch
  bsc#945796

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=486
2015-09-15 17:45:03 +00:00
Cédric Bosdonnat
a702768575 Added reference to newly created bsc#945645
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=485
2015-09-14 09:22:05 +00:00
Cédric Bosdonnat
ee07210d25 Accepting request 330855 from home:cbosdonnat:branches:Virtualization
- CVE-2015-5247 - denial of service through root-squash NFS storage
  3468542f-virFileUnlink.patch
  8b1d84e6-refreshVol-failure.patch
  e0025d29-storage-mode-check.patch

OBS-URL: https://build.opensuse.org/request/show/330855
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=484
2015-09-14 08:45:45 +00:00
James Fehlig
09046d2962 Fix changelog entry about new support for PCI express controllers in QEMU
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=482
2015-09-03 17:52:13 +00:00
James Fehlig
9c26a2274f Accepting request 328678 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.19
  - Improved ppc64 support
  - New virDomainRename API
  - Support for new QEMU pci emulations
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped upstream patches:
    269d39af-storage-allocation-fix.patch,
    26c5fa3a-virt-aa-helper-missing-doc.patch,
    d25a5e08-virt-aa-helper-simplify-restriction-logic.patch,
    2f01cfdf-virt-aa-helper-allow-ovmf.patch,
    91fdcefa-virt-aa-helper-allow-nvram.patch,
    52970dec-virt-aa-helper-improve-valid-path.patch,
    44a54eb0-libxl-fix-refcnt-MigrationDstArgs.patch,
    15120b8c-libxl-no-resume-on-suspend-fail.patch,
    e80b84a7-libxl-acquire-job-on-migrate.patch,
    60acb38-revert-curmem-inactive-dom.patch

OBS-URL: https://build.opensuse.org/request/show/328678
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=481
2015-09-02 15:27:32 +00:00
James Fehlig
8af0df1210 Accepting request 327805 from home:jfehlig:branches:Virtualization
Add fixes from SLE12 SP1 to Factory libvirt package.

- Replace local libxl patches with upstream variants
  Dropped:
  0003-libxl-fix-ref-counting-of-libxlMigrationDstArgs.patch
  0004-libxl-don-t-attempt-to-resume-domain-when-suspend-fa.patch
  0005-libxl-acquire-a-job-when-receiving-a-migrating-domai.patch
  Added:
  44a54eb0-libxl-fix-refcnt-MigrationDstArgs.patch
  15120b8c-libxl-no-resume-on-suspend-fail.patch
  e80b84a7-libxl-acquire-job-on-migrate.patch
  bsc#936185
- Added another virt-aa-helper upstream patch
  52970dec-virt-aa-helper-improve-valid-path.patch
  lp#1483071
- Added upstream patch to fix libvirt-tck memory balloon test
  failure on Xen
  60acb38-revert-curmem-inactive-dom.patch

- Fix generated apparmor profile to allow access to ovmf and nvram.
  26c5fa3a-virt-aa-helper-missing-doc.patch
  2f01cfdf-virt-aa-helper-allow-ovmf.patch
  91fdcefa-virt-aa-helper-allow-nvram.patch
  d25a5e08-virt-aa-helper-simplify-restriction-logic.patch
  lp#1483071

OBS-URL: https://build.opensuse.org/request/show/327805
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=479
2015-08-28 20:30:35 +00:00
James Fehlig
f2f3308233 - storage: only run safezero if allocation is > 0
269d39af-storage-allocation-fix.patch
  bsc#942085

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=477
2015-08-24 16:33:48 +00:00
James Fehlig
379397c0f7 Accepting request 320420 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.18
  - libxl: support dom0
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped upstream patches:
    e44bcae-virt-aa-helper-trailing-slash.patch,
    a55a5e7-virt-aa-helper-log.patch,
    61dab0f-virt-aa-helper-renaming.patch,
    24f3c2f-virt-aa-helper-fix-caps.patch,
    45697fe5-libxl-support-dom0.patch,
    e9c27344-libxl-fix-virDomainObj-state.patch,
    4ffb21c8-libxl-dom0-state-fix.patch,
    qemu-nbd-cleanup-fix.patch

OBS-URL: https://build.opensuse.org/request/show/320420
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=475
2015-08-04 15:13:51 +00:00
James Fehlig
dd862584c2 Add fix for bsc#936185 to Factory
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=473
2015-07-31 18:53:33 +00:00
James Fehlig
2f5a2436b0 Add libxl driver fixes from SLE12 SP1 work.
- libxl: set dom0 state to running
  4ffb21c8-libxl-dom0-state-fix.patch
  bsc#937316
- libxl: support management of dom0
  45697fe5-libxl-support-dom0.patch
  bsc#937316
- libxl: libxl: fix setting state of virDomainObj
  e9c27344-libxl-fix-virDomainObj-state.patch
  bsc#934937

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=471
2015-07-10 18:38:45 +00:00
Cédric Bosdonnat
37e0137a03 Accepting request 315860 from home:cbosdonnat:branches:Virtualization
Tue Jul  10 13:29:51 UTC 2015 - cbosdonnat@suse.com
- Fixed virt-aa-helper bugs preventing virt-sandbox to work.
  24f3c2f-virt-aa-helper-fix-caps.patch
  61dab0f-virt-aa-helper-renaming.patch
  a55a5e7-virt-aa-helper-log.patch
  e44bcae-virt-aa-helper-trailing-slash.patch
  bsc#936841
- Fixed crasher due to uninitialized values
  qemu-nbd-cleanup-fix.patch bsc#936841

OBS-URL: https://build.opensuse.org/request/show/315860
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=470
2015-07-10 12:21:25 +00:00
James Fehlig
57e1254dfd Accepting request 314914 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.17
  - parallels driver renamed to vz (Virtuozzo)
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
- spec: re-enable tests that have received upstream fixes and
  are now passing

OBS-URL: https://build.opensuse.org/request/show/314914
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=468
2015-07-02 22:10:14 +00:00
James Fehlig
4e3feede94 - Remove unsupported settings in libvirtd.socket unit file when
systemd version < 214
  libvirtd-systemd-socket.patch
  bsc#933043
- spec: always apply Apparmor and netcontrol patches

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=465
2015-06-03 17:34:40 +00:00
James Fehlig
55164a402d - spec: Add libvirtd.socket unit file to service_add_pre and
service_del_postun macros

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=464
2015-06-02 15:30:34 +00:00
James Fehlig
0813eec6fe Accepting request 309688 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.16
  - Introduce pci-serial
  - Introduce virDomainSetUserPassword API
  - Introduce protected key mgmt ops
  - Add domain vmport feature
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches c0d3f608-libxl-soundhw.patch and
    8910e063-arch-caps.patch
  - Drop polkit-10-virt.rules in favor of upstream 50-libvirt.rules

OBS-URL: https://build.opensuse.org/request/show/309688
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=463
2015-06-01 17:48:26 +00:00
James Fehlig
29b2859f80 Fix a qemu regression found by Duncan.
- qemu: fix regression defaulting to host arch
  8910e063-arch-caps.patch
  rhb#1219191

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=461
2015-05-20 18:55:09 +00:00
James Fehlig
8c47289013 Accepting request 305630 from home:jfehlig:branches:Virtualization
Minor spec file adjustments:

- spec: build libxl driver for aarch64 and remove useless
  'suse_version <= 1220' conditional

OBS-URL: https://build.opensuse.org/request/show/305630
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=459
2015-05-06 17:54:05 +00:00
James Fehlig
de80dc9cf2 - libxl: support virtual sound devices in HVM domains
c0d3f608-libxl-soundhw.patch
  bsc#875216

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=457
2015-05-05 15:48:11 +00:00
James Fehlig
8fa113bc65 Accepting request 305342 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.15
  - Implement virDomainAddIOThread and virDomainDelIOThread
  - libxl: Introduce configuration file for libxl driver
  - Add VIR_DOMAIN_EVENT_ID_DEVICE_ADDED event
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches da33a1ac-lxc-init-statedir.patch and
    open-ns-files-readonly.patch
- spec file fixups for building --without-driver-modules

OBS-URL: https://build.opensuse.org/request/show/305342
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=456
2015-05-04 16:52:19 +00:00
Cédric Bosdonnat
5879925aff Accepting request 298239 from home:cbosdonnat:branches:Virtualization
- boo#926765: add libvirt-daemon-driver-qemu dependency on
  libvirt-daemon-driver-storage.

OBS-URL: https://build.opensuse.org/request/show/298239
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=453
2015-04-20 18:17:37 +00:00
Cédric Bosdonnat
5d8a863e03 Accepting request 295136 from home:cbosdonnat:branches:Virtualization
- boo#926153: make sure /var/run/libvirt/lxc folder exists when
  starting the driver. da33a1ac-lxc-init-statedir.patch
- Fix lxc-enter-namespace for 3.19+ kernels.
  open-ns-files-readonly.patch

OBS-URL: https://build.opensuse.org/request/show/295136
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=451
2015-04-09 10:08:11 +00:00
James Fehlig
563e94d4f8 Accepting request 294211 from home:jfehlig:branches:Virtualization
- Disable building wireshark dissector.  Commit 37397320
  requires wireshark pkgconfig, which SUSE wireshark packages
  do not provide.
- Disable building the legacy Xen driver since Xen no longer
  provides the xend toolstack.  Remove xend-specific patches
  while at it: fix-pci-attach-xen-driver.patch,
  xen-name-for-devid.patch

- Update to libvirt 1.2.14
  - qemu: Implement memory device hotplug
  - Implement public API for virDomainPinIOThread
  - Implement public API for virDomainGetIOThreadsInfo
  - SRIOV NIC offload feature discovery
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop disable-hugepage-test.patch in favor of upstream fix

- Fix build on older distros containing a polkit package that lacks
  support for /etc/polkit-1/rules.d drop directory

OBS-URL: https://build.opensuse.org/request/show/294211
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=450
2015-04-02 16:20:09 +00:00
James Fehlig
140ccf2159 Accepting request 293120 from home:jfehlig:branches:Virtualization
This change fixes boo#920551 in libvirt.  IMO the bug should be
fixed in libnetcontrol since all apps using libnetcontrol would
be affected, but alas libvirt is probably the only libnetcontrol
app in existence.

- Disable interface driver if libnetcontrol cannot be initialized
  Modified libvirt-suse-netcontrol.patch
  boo#920551

OBS-URL: https://build.opensuse.org/request/show/293120
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=448
2015-03-25 16:02:37 +00:00
James Fehlig
e456a7adb9 Accepting request 291345 from home:jfehlig:branches:Virtualization
- Fix crash in libnetcontrol-backed interface driver
  Modified libvirt-suse-netcontrol.patch
  boo#920551

OBS-URL: https://build.opensuse.org/request/show/291345
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=446
2015-03-18 18:17:20 +00:00
James Fehlig
44a71b3a3e Accepting request 291007 from home:flavio_castelli:branches:Virtualization
- Instruct polkit to allow memebers of the 'libvirt' group to connect
  to libvirt without providing any password (bnc#920804)
- Added polkit-10-virt.rules to fix bnc#920804

OBS-URL: https://build.opensuse.org/request/show/291007
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=444
2015-03-16 16:59:15 +00:00
James Fehlig
06af732b93 add bug number to last changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=443
2015-03-11 15:44:09 +00:00
James Fehlig
168a353639 - Change default setting of security_default_confined in
/etc/libvirt/qemu.conf instead of in code.  Making the change in
  code changes the default behavior for all users, even those that
  have a custom security setup in their /etc/libvirt/qemu.conf.
  Modified suse-qemu-conf.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=442
2015-03-11 15:35:20 +00:00
James Fehlig
7eedb34aa2 - Fixed a number of QEMU apparmor abstraction problems. bsc#921355
apparmor-fixes.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=441
2015-03-11 04:41:55 +00:00
James Fehlig
b625df8512 Accepting request 288564 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.13
  - qemu: improved support for host and guest NUMA
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/288564
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=439
2015-03-02 20:13:45 +00:00
James Fehlig
919b8be388 Accepting request 283071 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.12
  - CVE-2015-0236: qemu: Check ACLs when dumping security info
    from snapshots
  - CVE-2015-0236: qemu: Check ACLs when dumping security info
    from save image
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: 30c6aecc-apparmor-lib64.patch,
    apparmor-xen-fixup.patch, apparmor-allow-helpers.patch,
    apparmor-tck-raw-packets.patch
  - Disable a hugepage test that is failing on ppc, ppc64, and
    ppc64le architectures - disable-hugepage-test.patch

OBS-URL: https://build.opensuse.org/request/show/283071
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=437
2015-01-28 04:12:58 +00:00
Cédric Bosdonnat
5dda10253d Accepting request 282079 from home:cbosdonnat:branches:Virtualization
- Fixed patches to pass make syntax-check

OBS-URL: https://build.opensuse.org/request/show/282079
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=435
2015-01-20 13:32:02 +00:00
Cédric Bosdonnat
9ae36308d4 Accepting request 282003 from home:mlatimer:branches:Virtualization
- Apparmor profile regression breaks Xen domains. bsc#913799
  apparmor-xen-fixup.patch
  apparmor-allow-helpers.patch
  apparmor-tck-raw-packets.patch

OBS-URL: https://build.opensuse.org/request/show/282003
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=434
2015-01-20 08:09:54 +00:00
Cédric Bosdonnat
944b1122db Accepting request 279988 from home:cbosdonnat:branches:Virtualization
- Replaced hard to maintain install-apparmor-profiles.patch
  by upstreamed 30c6aecc-apparmor-lib64.patch.
- Reformatted libvirt.spec and libvirtd.init to pass upstream make
  syntax-check

OBS-URL: https://build.opensuse.org/request/show/279988
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=432
2015-01-05 20:14:57 +00:00
James Fehlig
46094474d5 Accepting request 266543 from home:Ledest:bashisms
fix bashisms in libvirt-guests.sh script

OBS-URL: https://build.opensuse.org/request/show/266543
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=430
2014-12-27 23:27:33 +00:00
Cédric Bosdonnat
8082129d0c Accepting request 265250 from home:cbosdonnat:branches:Virtualization
- Update to libvirt 1.2.11
  - Implement public API for virDomainGetFSInfo
  - qemu: Add define for the new throttle options
  - CVE-2014-8131: Fix possible deadlock and segfault in qemuConnectGetAllDomainStats()
  - CVE-2014-7823: dumpxml: security hole with migratable flag
- Drop upstream patches: 2222123-virt-aa-helper-crash.patch,
  433b427-iplink-name.patch,
  52691f99-qemu-mig-crash.patch,
  72fecf1-lxc-resolve-symlinks.patch,
  b1674ad5-CVE-2014-7823.patch,
  ba9b7252-sys-net-rw.patch,
  c264eea-virt-aa-helper-sandbox.patch,
  e50457d-lxc-unmount-check.patch,
  cgroup-all-devices.patch,
  libvirt-ppc64le-support.patch

OBS-URL: https://build.opensuse.org/request/show/265250
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=428
2014-12-15 14:16:23 +00:00
Cédric Bosdonnat
06949b0f82 Accepting request 264662 from home:cbosdonnat:branches:Virtualization
- Get /proc/sys/net/ipv[46] read-write for wicked to work in
  containers. bsc#904432. ba9b7252-sys-net-rw.patch
- Fixed allowing devices for containers.
  cgroup-all-devices.patch

OBS-URL: https://build.opensuse.org/request/show/264662
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=426
2014-12-10 14:19:10 +00:00
James Fehlig
69a5f4bf9f - qemu: Fix crash in tunnelled migration
52691f99-qemu-mig-crash.patch
  boo#908008

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=424
2014-12-03 12:25:32 +00:00
Cédric Bosdonnat
d6a22feac8 Accepting request 262985 from home:cbosdonnat:branches:Virtualization
- Fix potential crasher in virt-aa-helper
  2222123-virt-aa-helper-crash.patch
- ip link add now needs the 'name' parameter.
  433b427-iplink-name.patch
- Fixes for virt-sandbox-service to work:
  - Allow adding virt-sandbox service config to apparmor rules.
    c264eea-virt-aa-helper-sandbox.patch
  - fix symlink resolving for containers to start.
    72fecf1-lxc-resolve-symlinks.patch
  - fix unmounting file system if it contains the source to mount.
    e50457d-lxc-unmount-check.patch

- Remove security_driver = "none" in qemu config. This completely
  disabled all security drivers instead of probing them.
- Changed default value of QEMU's security_default_confined to 0 to
  keep QEMU domains unconfined by default.

OBS-URL: https://build.opensuse.org/request/show/262985
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=422
2014-11-25 13:41:55 +00:00
Cédric Bosdonnat
dd4dfc896b Accepting request 262066 from home:cbosdonnat:branches:Virtualization
- Fix Qemu AppArmor abstraction.
  - qemu-block.so was denied on x86_64. install-apparmor-profiles.patch
  - Temporary fix access to screenshot temporary file. bsc#904426.
    qemu-apparmor-screenshot.patch

OBS-URL: https://build.opensuse.org/request/show/262066
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=420
2014-11-17 17:17:05 +00:00
James Fehlig
d97b2f8ea8 - CVE-2014-7823: dumpxml: security hole with migratable flag
b1674ad5-CVE-2014-7823.patch
  bsc#904176

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=418
2014-11-11 05:03:23 +00:00
James Fehlig
084e297a8a Accepting request 259573 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.10
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/259573
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=416
2014-11-03 22:53:40 +00:00
Cédric Bosdonnat
2f63224a45 wireshark-libvirt renamed to wireshark-plugin-libvirt
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=415
2014-11-03 09:00:37 +00:00
Cédric Bosdonnat
4fa650a969 Accepting request 258581 from home:cbosdonnat:branches:Virtualization
- Added package wireshark-plugin to provide the wireshark dissector
  for the libvirt RPC protocol

OBS-URL: https://build.opensuse.org/request/show/258581
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=414
2014-10-27 23:00:39 +00:00
James Fehlig
932db09f51 - spec: Remove gpg-offline build dependency and use of gpg_verify
to verify tarball since this task can be performed by source
  services

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=412
2014-10-02 21:32:06 +00:00
James Fehlig
278a149fdc Accepting request 253577 from home:jfehlig:branches:Virtualization
Note:  tarball verification is now done using %gpg_verify, along
with the .asc file the upstream libvirt maintainer now generates
for each release.  This approach requires using the upstream .gz
tarball, which is slightly larger than the regenerated .bz2 one.

- Update to libvirt 1.2.9
  - Introduce virNodeAllocPages
  - event: introduce new event for tunable values
  - Add support for fetching statistics of completed jobs
  - CVE-2014-3657: domain_conf: fix domain deadlock
  - CVE-2014-3633: qemu: blkiotune: Use correct definition when
    looking up disk
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: 3e745e8f-CVE-2014-3633.patch,
    libvirt-guests-wait-for-ntp.patch
- Verify tarball with associated .asc file
  Add: libvirt.keyring, libvirt-1.2.9.tar.gz.asc
  Use upstream .gz tarball instead of locally generated .bz2

OBS-URL: https://build.opensuse.org/request/show/253577
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=411
2014-10-01 22:29:37 +00:00
James Fehlig
408925e5ca Add bug number to changelog for CVE-2014-3633
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=409
2014-09-22 21:33:19 +00:00
James Fehlig
88c5e40c87 Fix for CVE-2014-3633, which is public.
- CVE-2014-3633: Use correct definition when looking up disk in
  qemu blkiotune
  3e745e8f-CVE-2014-3633.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=408
2014-09-19 04:45:37 +00:00
James Fehlig
805eccbdff Fix a '%endif' that was misplaced during recent refactoring
of the spec file.

- spec: do not require dmidecode on older code 11

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=406
2014-09-10 16:28:04 +00:00
James Fehlig
9159704921 - Wait for ntp service before running libvirt-guests
libvirt-guests-wait-for-ntp.patch
  bnc#895194

- Canonicalize host arch name ppc64le to ppc64
  ppc64le-canonical-name.patch
  bnc#894956

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=405
2014-09-08 17:56:04 +00:00
James Fehlig
e20ed85102 Accepting request 247245 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.8
  - virDomainBlockCopy with XML destination, typed params
  - Introduce API for retrieving bulk domain stats
  - Introduce virDomainOpenGraphicsFD API
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/request/show/247245
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=403
2014-09-02 15:52:40 +00:00
Cédric Bosdonnat
143254387d Accepting request 247103 from home:cbosdonnat:branches:Virtualization
- bnc#893999: remove mount rules from libvirt-lxc apparmor
  abstraction file as those aren't handled by our kernel.
  apparmor-no-mount.patch

OBS-URL: https://build.opensuse.org/request/show/247103
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=402
2014-09-01 15:20:43 +00:00
James Fehlig
6d56add060 Accepting request 246867 from home:mlatimer:branches:Virtualization
- bnc#894232 - Update apparmor profile to allow raw packets
  install-apparmor-profiles.patch

OBS-URL: https://build.opensuse.org/request/show/246867
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=401
2014-08-29 17:00:28 +00:00
James Fehlig
b751536fe6 Accepting request 245523 from home:oertel:branches:Virtualization
- remove not necessary hunks from libvirt-ppc64le-support.patch
- move new patches to section for to be upstreamed

- add patch: libvirt-power8-models.patch
  add current power8 cpu models to map 

- add patch: libvirt-ppc64le-support.patch
  add preliminary ppc64le support to libvirt

OBS-URL: https://build.opensuse.org/request/show/245523
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=399
2014-08-22 00:16:00 +00:00
James Fehlig
7cb5558888 Fix day in last changelog entry.
Whitespace cleanup in changelog.
Refresh blockcopy-check-dst-identical-device.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=397
2014-08-08 15:08:21 +00:00
James Fehlig
e0ef76a77b Accepting request 243931 from home:cyliu:branches:Virtualization
- bnc#820399 - virsh blockcopy should refuse identical device
  blockcopy-check-dst-identical-device.patch

OBS-URL: https://build.opensuse.org/request/show/243931
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=396
2014-08-08 15:04:43 +00:00
James Fehlig
3598615076 fix copy and paste error in changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=394
2014-08-04 17:27:23 +00:00
James Fehlig
02bfe2161f Accepting request 243625 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.7
  - Introduce virConnectGetDomainCapabilities
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: dba3432b-virt-lxc-convert-fix.patch,
    9b1e4cd5-skip-useless-apparmor-files.patch,
    dba3432b-virt-lxc-convert-fix.patch,
    add-nocow-to-vol-xml.patch,
    lxc-keep-caps-feature.patch,
    lxc-keep-caps-feature-conversion.patch,
    lxc-keep-caps-feature-doc.patch,
    lxc-net-target-name.patch,
    lxc-net-target-name-conversion.patch,
    lxc-net-target-name-doc.patch

OBS-URL: https://build.opensuse.org/request/show/243625
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=393
2014-08-04 17:17:49 +00:00
Cédric Bosdonnat
164c37781e Accepting request 241231 from home:cbosdonnat:branches:Virtualization
- Add virt-lxc-convert to libvirt-daemon-driver-lxc package

OBS-URL: https://build.opensuse.org/request/show/241231
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=391
2014-07-16 15:45:21 +00:00
Cédric Bosdonnat
43a3b335a6 Accepting request 241206 from home:cbosdonnat:branches:Virtualization
- lxc AppArmor profile now only restricting potentially dangerous
  accesses. fdo#886460
- added patches:
  * 9265f8ab-apparmor-lxc-rework.patch
  * 9b1e4cd5-skip-useless-apparmor-files.patch

- virt-lxc-convert: force free to output values in bytes
- added patches:
  * dba3432b-virt-lxc-convert-fix.patch

- lxc: allow setting a custom name for container NICs as LXC is
  is able to do it.
  lxc-net-target-name.patch,
  lxc-net-target-name-conversion.patch,
  lxc-net-target-name-doc.patch

OBS-URL: https://build.opensuse.org/request/show/241206
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=390
2014-07-16 13:45:18 +00:00
James Fehlig
803ff43893 Accepting request 239388 from home:jfehlig:branches:Virtualization
- Move 'Requires' of qemu from libvirt-daemon-qemu subpackage to
  libvirt-daemon-driver-qemu
  bnc#885267

- Temporarily disable virt-aa-helper-test, which fails in Factory

- Update to libvirt 1.2.6
  - libxl: add migration support and fixes
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patch libxl-migration-support.patch
  - Drop ia64-clone.patch since libvirt is not built for IA64

OBS-URL: https://build.opensuse.org/request/show/239388
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=388
2014-07-02 19:21:03 +00:00
Cédric Bosdonnat
f0ef621840 Accepting request 238658 from home:cbosdonnat:branches:Virtualization
- lxc-keep-caps-feature.patch: allow to keep/drop additional
  capabilities for LXC containers. bnc#881465
- lxc-keep-caps-feature-conversion.patch: convert lxc.cap.drop to
  the new domain configuration.
- lxc-keep-caps-feature-doc.patch: documentation for the new feature.

OBS-URL: https://build.opensuse.org/request/show/238658
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=385
2014-06-25 14:28:44 +00:00
James Fehlig
d9b6cab0f0 Accepting request 236506 from home:jfehlig:branches:Virtualization
- Disable failing virportallocatortest on aarch64

OBS-URL: https://build.opensuse.org/request/show/236506
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=383
2014-06-06 21:41:33 +00:00
James Fehlig
e5c6318b4d Accepting request 235993 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.5
  - Introduce virDomain{Get,Set}Time APIs
  - Introduce virDomainFSFreeze() and virDomainFSThaw() public API
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches:
    b98bf811-add-paravirt-shutdown-flag.patch,
    c4fe29f8-use-shutdown-flag.patch,
    da744120-use-reboot-flag.patch,
    d6b27d3e-CVE-2014-0179.patch,
    fd43d1f8-libxl-iface-hostdev.patch,
    99f50208-managed-hostdev-iface.patch,
    292d3f2d-libselinux-build-fix1.patch,
    b109c097-libselinux-build-fix2.patch

OBS-URL: https://build.opensuse.org/request/show/235993
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=381
2014-06-02 04:12:51 +00:00
James Fehlig
92f6cbc9c8 - Add upstream patches that fix build with libselinux 2.3
Added: 292d3f2d-libselinux-build-fix1.patch,
         b109c097-libselinux-build-fix2.patch
  Dropped: libselinux-build-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=379
2014-05-28 23:16:07 +00:00
Cédric Bosdonnat
40ebd7b517 Accepting request 235677 from home:cbosdonnat:branches:Virtualization
- Fix the build breakers brought by libselinux 2.3.
  libselinux-build-fix.patch

OBS-URL: https://build.opensuse.org/request/show/235677
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=378
2014-05-28 13:01:17 +00:00
Cédric Bosdonnat
c4fe5060ef Accepting request 235109 from devel:ARM:Factory
- blacklist one more unit test for qemu_linux_user builds

OBS-URL: https://build.opensuse.org/request/show/235109
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=376
2014-05-22 14:28:52 +00:00
James Fehlig
321518b183 - spec: libvirt-daemon package owns /etc/libvirt, not libvirt-client
bnc#878056

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=374
2014-05-20 21:17:11 +00:00
James Fehlig
df9dc08811 - libxl: Fix <interface type='hostdev'> syntax for SR-IOV devices
fd43d1f8-libxl-iface-hostdev.patch,
  99f50208-managed-hostdev-iface.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=372
2014-05-12 21:28:43 +00:00
James Fehlig
553e9bd059 - Update to libvirt 1.2.4
- Primarily a bug-fix release.  See http://libvirt.org/news.html
    for a detailed list of bug fixes and improvements
  - Drop upstream patches:
    0e0c1a74-domid-fix.patch, 7a1452f5-libxl-empty-cdrom.patch
- libxl: Support ACPI shutdown event
  b98bf811-add-paravirt-shutdown-flag.patch,
  c4fe29f8-use-shutdown-flag.patch, da744120-use-reboot-flag.patch
  bnc#872777
- libx: Support migration
  libxl-migration-support.patch
  bnc#875193

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=369
2014-05-06 18:02:27 +00:00
James Fehlig
b5414a9ca3 - CVE-2014-0179: Don't expand entities when parsing XML
d6b27d3e-CVE-2014-0179.patch
  bnc#873705

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=368
2014-05-06 17:46:39 +00:00
James Fehlig
f8ebdc5158 merge NOCOW patch from Chunyan
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=366
2014-04-08 17:26:09 +00:00
James Fehlig
52a7fec2c4 - libxl: Set disk format for empty cdrom device
0e0c1a74-domid-fix.patch, 7a1452f5-libxl-empty-cdrom.patch
  bnc#872517

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=365
2014-04-08 17:20:15 +00:00
Cédric Bosdonnat
6cc2de8c8b Accepting request 229020 from home:cbosdonnat:branches:Virtualization
cleanup after upgrade to 1.2.3

OBS-URL: https://build.opensuse.org/request/show/229020
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=363
2014-04-04 13:07:17 +00:00
Cédric Bosdonnat
36ec00cd38 Accepting request 228741 from home:cbosdonnat:branches:Virtualization
Updated to 1.2.3

OBS-URL: https://build.opensuse.org/request/show/228741
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=362
2014-04-02 12:48:46 +00:00
James Fehlig
a397ef8391 - Add /usr/sbin/rc{libvirtd,virtlockd,libvirt-guests} symlinks
to preserve backwards compatibility
  bnc#868190

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=360
2014-03-14 19:46:52 +00:00
James Fehlig
e3d360d0d4 - Improve lock manager comments in qemu.conf
Updated suse-qemu-conf.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=357
2014-03-04 19:05:01 +00:00
James Fehlig
4d81ed52ea Accepting request 224655 from home:saschpe:branches:Virtualization
- Create /etc/libvirt/hooks to allow using hook scripts

OBS-URL: https://build.opensuse.org/request/show/224655
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=356
2014-03-04 18:53:29 +00:00
James Fehlig
5016413cf6 - Update to libvirt 1.2.2
- add LXC from native conversion tool
  - vbox: add support for v4.2.20+ and v4.3.4+
  - CVE-2013-6456 (bnc#857490)
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: 37564b47-xend-parse-response.patch,
    4f20084-fix-apparmor-install-patch.patch
  - Add local disable-virCgroupGetPercpuStats-test.patch to disable
    failing virCgroupGetPercpuStats test in 'make check'

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=354
2014-03-03 04:22:57 +00:00
James Fehlig
e73e04b7bc - daemon-qemu: Require qemu instead of kvm to align with
recent changes to the qemu package structure

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=353
2014-02-24 23:41:51 +00:00
James Fehlig
a47687187b - spec: fix dependencies of daemon-config-network and
daemon-config-nwfilter subpackages.  Influenced by upstream
  commits cf76c4b3 and dca5ce4c

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=352
2014-02-14 22:22:58 +00:00
James Fehlig
2fb4dce3cd - Remove libvirtd, virtlockd, and libvirt-guests init scripts when
using systemd
  bnc#863540

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=351
2014-02-14 22:19:58 +00:00
Cédric Bosdonnat
046a57aff2 libvirt apparmor template profile was installed in the wrong place
Fixed the path to be /etc/apparmor.d/libvirt/TEMPLATE again.

- Fix the path to libvirtd AppArmor template profile

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=350
2014-02-12 15:59:31 +00:00
James Fehlig
2e70ffe5a3 - Fix parsing xend http response
37564b47-xend-parse-response.patch
  rhb#1055165

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=348
2014-01-29 21:51:41 +00:00
James Fehlig
fb199c00ce Include note in changelog that install-apparmor-profiles.patch was modified
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=346
2014-01-22 17:19:10 +00:00
James Fehlig
063e1ec7ae - Add CAP_SYS_PACCT capability to libvirtd AppArmor profile
bnc#817407

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=345
2014-01-22 17:05:10 +00:00
James Fehlig
629e5aaef7 - Fix build on code 11
- Fix rpmlint warning

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=344
2014-01-21 01:24:00 +00:00
James Fehlig
db81eba56f - Following the upstream pattern, introduce the
daemon-config-network subpackage to handle defining the default
  network
  bnc#859041

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=343
2014-01-21 00:43:47 +00:00
James Fehlig
0e53c763a0 - Update to libvirt 1.2.1
- CVE-2014-0028, CVE-2014-1447, CVE-2013-6458, CVE-2013-6457,
    CVE-2013-6436
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped upstream patches: 5e397d9c-test-fix-dbus-crash.patch,
    78af457e-fix-virnettlscontexttest.patch,
    9faf3f29-LXC-memtune.patch, f8c1cb90-CVE-2013-6436.patch,
    libxl-hvm-nic.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=342
2014-01-17 19:45:49 +00:00
James Fehlig
5ad9c78897 - Ignore 'make check' on older, code 11 base
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=340
2013-12-27 00:03:47 +00:00
James Fehlig
8b2f36a3ed Accepting request 212280 from home:cbosdonnat:branches:Virtualization
Reenabled make check. Still failing for 11.4... but it's really old, isn't it?

OBS-URL: https://build.opensuse.org/request/show/212280
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=339
2013-12-26 23:59:17 +00:00
James Fehlig
57d3b850ee - Remove dependency on pm-utils from libvirt-client
bnc#856381

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=338
2013-12-20 20:31:00 +00:00
James Fehlig
7ea60c0a28 - CVE-2013-6436: Fix crashes in lxc memtune code, one of which
results in DoS
  f8c1cb90-CVE-2013-6436.patch, 9faf3f29-LXC-memtune.patch
  bnc#854486

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=337
2013-12-20 16:25:32 +00:00
James Fehlig
387203a948 - More adjustments to the spec file to fix package dependency
issues
  bnc#848918

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=336
2013-12-06 22:50:19 +00:00
James Fehlig
c5c21c4a37 Add missing changelog entry about building with numad support
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=335
2013-12-06 22:49:19 +00:00
James Fehlig
bfc56c3413 - Update to libvirt 1.2.0
- Add support for gluster pool
  - Separation of python binding
  - vbox: add support for 4.3 APIs
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Updated and renamed clone.patch to ia64-clone.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=334
2013-12-06 18:39:18 +00:00
James Fehlig
68aa91d2e5 - Link with same versions of libnl used by netcontrol to prevent
crashing libvirtd on start

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=333
2013-12-04 21:31:09 +00:00
James Fehlig
e48979ae7d - Add '/etc/sasl2' to libvirt-client file list to fix Factory build
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=332
2013-12-04 17:44:31 +00:00
James Fehlig
9521d83020 - Fix starting of libvirtd when NetworkManager is enabled
Modified libvirt-suse-netcontrol.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=331
2013-11-27 03:04:08 +00:00
James Fehlig
c521110742 - Allow execution of libvirt hook scripts in /etc/libvirt/hooks/
in libvirtd AppArmor profile

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=330
2013-11-26 21:52:18 +00:00
James Fehlig
a58c0b5ccc - Update to libvirt 1.1.4
- Add support for AArch64 architecture
  - Various improvements on test code and test driver
  - Don't link virt-login-shell against libvirt.so
  - Close all non-stdio FDs in virt-login-shell
  - Only allow 'stderr' log output when running setuid
  - Fix perms for virConnectDomainXML{To,From}Native
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
    2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
    e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
    e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
    484cc321-fix-spice-migration.patch,
    79552754-libvirtd-chardev-crash.patch,
    57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
    8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
    3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
    843bdb2f-CVE-2013-4400.patch,
    bd773e74-lxc-terminate-machine.patch,
    e350826c-python-fix-fd-passing.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 20:02:26 +00:00
James Fehlig
26dd4e5d14 - Allow execution of Xen binaries in /usr/lib{,64}/xen/bin in
libvirtd AppArmor profile
  bnc#849524

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=328
2013-11-19 21:25:55 +00:00
James Fehlig
9049faae46 - Require libvirt-daemon-<hypervisor> in the main libvirt package
for each supported hypervisor
  bnc#850882

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=327
2013-11-19 20:17:39 +00:00
James Fehlig
420446e6e4 - Fix initialization of libxl NIC devices
libxl-hvm-nic.patch
  bnc#848918

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=325
2013-11-04 23:05:28 +00:00
James Fehlig
2b59a31f32 - Fix typo in libvirtd apparmor profile which prevented the profile
from loading
  bnc#848216

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=323
2013-10-30 14:37:11 +00:00
James Fehlig
1ec99abbc8 - libxl driver: fix initialization of VNC and SDL info for
HVM domains
  libxl-hvm-vnc.patch
  bnc#847566
- Allow libvirtd apparmor profile to access /etc/xen/scripts/*

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=320
2013-10-25 19:29:19 +00:00
James Fehlig
3973ce3dde - Fix file descriptor passing in python bindings
e350826c-python-fix-fd-passing.patch
  rhb#1021434

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=319
2013-10-23 03:41:22 +00:00
James Fehlig
65c4cfdc02 - Have systemd terminate the machine as a workaround of fdo#68370
bd773e74-lxc-terminate-machine.patch
  bnc#842834

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=318
2013-10-22 21:27:53 +00:00
James Fehlig
8296f9e96d - Spec file fixes to only package libvirt-login-shell when
building the LXC driver

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=317
2013-10-22 18:29:21 +00:00
James Fehlig
53a4a5c7fa Add upstream patches to fix build on older systems that
have a gnutls that uses libgcrypt.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=316
2013-10-22 17:07:40 +00:00
James Fehlig
fffa5dcc99 - CVE-2013-4400: Unsantized use of env variables allows privilege
escalation via virt-login-shell
  ae53e5d1-CVE-2013-4400.patch, 8c3586ea-CVE-2013-4400.patch,
  b7fcc799a-CVE-2013-4400.patch, 3e2f27e1-CVE-2013-4400.patch,
  CVE-2013-4400-build-fix.patch
  bnc#837609
- CVE-2013-4401: Fix perms for virConnectDomainXML{To,From}Native
  57687fd6-CVE-2013-4401.patch
  bnc#845704

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=315
2013-10-21 21:49:57 +00:00
James Fehlig
4b629b33b6 - Move hypervisor-specific files out of libvirt-daemon package
and into libvirt-daemon-<hypervisor> subpackage
  bnc#845851
- conf: Don't crash on invalid chardev source definition
  79552754-libvirtd-chardev-crash.patch
  bnc#845704, rhb#1012196

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=313
2013-10-18 20:46:45 +00:00
James Fehlig
b905305de1 - Use newer libnl3 instead of libnl-1_1
bnc#845540

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=312
2013-10-17 20:18:18 +00:00
James Fehlig
e9ae5f7966 - Move virt-login-shell to new subpackage libvirt-login-shell,
requiring users to opt-in for this setuid binary.  Note: For now,
  virt-login-shell will not have setuid permissions, pending
  resolution of bnc#837609

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=310
2013-10-15 04:28:21 +00:00
James Fehlig
2df984b272 - qemu: Fix seamless SPICE migration
484cc321-fix-spice-migration.patch
  bnc#842301

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=309
2013-10-15 03:27:06 +00:00
James Fehlig
17e6200a6a Also reference bnc#842300 in changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=308
2013-10-15 02:48:48 +00:00
James Fehlig
4f9e403a41 - CVE-2013-4399: Fix crash in libvirtd when events are registered
and ACLs active
  8294aa0c-CVE-2013-4399.patch
  bnc#844052

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=307
2013-10-15 02:35:05 +00:00
James Fehlig
2b3f0e1499 - Update the stale gettext BuildRequires and Requires dependencies
in the spec file
  bnc#841325

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=306
2013-10-14 22:51:07 +00:00