Commit Graph

775 Commits

Author SHA256 Message Date
Dominique Leuenberger
65ef8cd435 Accepting request 404539 from Virtualization
More improvements to the spec file, allowing common usage
between openSUSE and SLE. Also add some SLE patches missing
in 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-set-cach-mode.patch

OBS-URL: https://build.opensuse.org/request/show/404539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=209
2016-06-29 13:10:28 +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
Dominique Leuenberger
90dda79c74 Accepting request 402821 from Virtualization
Incremental update of libvirt package fixing a few bugs.

- xenconfig: fix conversion of <driver> to backendtype
  e33cd67a-xenconfig-backendtype-fix.patch
  bsc#984798

- 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/request/show/402821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=208
2016-06-21 09:30:29 +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
Dominique Leuenberger
4197a5740f Accepting request 400902 from Virtualization
Latest libvirt release for Factory/Tumbleweed.

- apparmor: Don't scrub environment of virtlogd process
  apparmor-dont-scrub-environment-of-virtlogd-process.patch
  boo#980441

- 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/400902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=207
2016-06-14 21:07:13 +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
Dominique Leuenberger
ba5dcd54fb Accepting request 399249 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/399249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=206
2016-06-02 07:39:00 +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
Dominique Leuenberger
b4cfa20c43 Accepting request 398051 from Virtualization
Yet nother bug fix for the Factory and SLE12 SP2 libvirt package.

-  libxl: add domainInterfaceAddresses API
   ba566428-libxl-dom-iface-addrs.patch
   bsc#979425

- libxl: default to qemu driver for network disks
  a1c9a81a-libxl-rbd-fix.patch
  boo#981094

OBS-URL: https://build.opensuse.org/request/show/398051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=205
2016-05-29 01:12:38 +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
Dominique Leuenberger
ea876fb37e Accepting request 396699 from Virtualization
Add some bug fixes and improvements from SLE12 SP2.

- spec: Remove %defattr usage
  Inspired by upstream commit 90f9193c

- libxl: support Xen migration stream V2
  fccf2725-libxl-API-4.4.patch,
  5325123d-libxl-migv2-save-restore.patch,
  f9edcfa4-libxl-migv2-migration.patch
  bsc#978361

- 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/request/show/396699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=204
2016-05-23 14:38:53 +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
Dominique Leuenberger
d4f4028b16 Accepting request 394498 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/394498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=203
2016-05-14 10:23:21 +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
Dominique Leuenberger
7da9104bcd Accepting request 391594 from Virtualization
Updated libvirt package fixing a few bugs found by
VT test automation.

- qemu: perf: Fix crash/memory corruption on failed VM start
  03e8d5fb-qemu-perf-memory-corruption.patch
  bsc#977131

- Fix setting implicit video devices as primary
  6d8b6d28-mark-implicit-video-primary.patch
  bsc#977150

OBS-URL: https://build.opensuse.org/request/show/391594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=202
2016-04-30 21:30:04 +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
Dominique Leuenberger
1b86f57f87 Accepting request 388410 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/388410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=201
2016-04-22 14:24:19 +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
Dominique Leuenberger
198ec318e5 Accepting request 384426 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/384426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=200
2016-04-08 07:39:27 +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
Dominique Leuenberger
d554ef4836 Accepting request 379941 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/379941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=199
2016-03-26 14:29:41 +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
Dominique Leuenberger
aedd72868b Accepting request 365718 from Virtualization
Sorry, but another libvirt submission for Factory/Tumbleweed,
this time superseding #364991. It adds a patch from the SLE12 SP2
libvirt package for FATE#320638.

- libxl: advertise system qemu instead of qemu-xen in caps
  libxl-qemu-emulator-caps.patch
  FATE#320638

- Update to libvirt 1.3.2
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

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

OBS-URL: https://build.opensuse.org/request/show/365718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=198
2016-03-07 12:27:31 +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
2e973f5fca improve libxl-support-block-script.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=513
2016-03-02 20:40:27 +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
Dominique Leuenberger
bfd77cbb30 Accepting request 356412 from Virtualization
Supersedes sr#355837 to add a fix for bug#961853.

- qemu: set /usr/share/qemu/ovmf-x86_64-ms-{code,vars}.bin as
  default UEFI firmwares for x86_64
  bsc#961853

- 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/356412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=197
2016-01-28 16:25:01 +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
Dominique Leuenberger
1a9e29cc70 Accepting request 351143 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/351143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=196
2016-01-01 18:48:12 +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
Dominique Leuenberger
24299e9466 Accepting request 347416 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/347416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=195
2015-12-09 18:51:12 +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
Stephan Kulow
c932d6bfd6 Accepting request 344926 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/344926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=194
2015-11-22 10:00:22 +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
Dominique Leuenberger
26bc0f435a Accepting request 343284 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/343284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=193
2015-11-11 09:31:25 +00:00