Commit Graph

401 Commits

Author SHA256 Message Date
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
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
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
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
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
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