Commit Graph

661 Commits

Author SHA256 Message Date
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
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
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
8720257f58 add missing BuildRequires for systemd pkgconfig file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=466
2015-06-03 17:36:37 +00:00