Commit Graph

426 Commits

Author SHA256 Message Date
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
6ee7100e24 A few spec file cleanups from prior changes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=557
2016-08-04 17:28:41 +00:00
James Fehlig
619f54d34a spec: fix logic that enables numactl and numad support
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=555
2016-08-02 21:28:46 +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
7e6534702e spec: use proper capitolization in a comment
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=552
2016-07-15 20:41:05 +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
7dc8dc52fc move comment in spec file to place of subject
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=546
2016-06-24 17:40:17 +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
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