Commit Graph

416 Commits

Author SHA256 Message Date
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
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
6d5d1ecad3 Accepting request 282088 from home:cbosdonnat:branches:Virtualization
Fixed unused attribute warning

OBS-URL: https://build.opensuse.org/request/show/282088
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=436
2015-01-20 14:17:38 +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