Commit Graph

464 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
02bfe2161f Accepting request 243625 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.7
  - Introduce virConnectGetDomainCapabilities
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: dba3432b-virt-lxc-convert-fix.patch,
    9b1e4cd5-skip-useless-apparmor-files.patch,
    dba3432b-virt-lxc-convert-fix.patch,
    add-nocow-to-vol-xml.patch,
    lxc-keep-caps-feature.patch,
    lxc-keep-caps-feature-conversion.patch,
    lxc-keep-caps-feature-doc.patch,
    lxc-net-target-name.patch,
    lxc-net-target-name-conversion.patch,
    lxc-net-target-name-doc.patch

OBS-URL: https://build.opensuse.org/request/show/243625
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=393
2014-08-04 17:17:49 +00:00
Cédric Bosdonnat
164c37781e Accepting request 241231 from home:cbosdonnat:branches:Virtualization
- Add virt-lxc-convert to libvirt-daemon-driver-lxc package

OBS-URL: https://build.opensuse.org/request/show/241231
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=391
2014-07-16 15:45:21 +00:00
Cédric Bosdonnat
43a3b335a6 Accepting request 241206 from home:cbosdonnat:branches:Virtualization
- lxc AppArmor profile now only restricting potentially dangerous
  accesses. fdo#886460
- added patches:
  * 9265f8ab-apparmor-lxc-rework.patch
  * 9b1e4cd5-skip-useless-apparmor-files.patch

- virt-lxc-convert: force free to output values in bytes
- added patches:
  * dba3432b-virt-lxc-convert-fix.patch

- lxc: allow setting a custom name for container NICs as LXC is
  is able to do it.
  lxc-net-target-name.patch,
  lxc-net-target-name-conversion.patch,
  lxc-net-target-name-doc.patch

OBS-URL: https://build.opensuse.org/request/show/241206
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=390
2014-07-16 13:45:18 +00:00
James Fehlig
803ff43893 Accepting request 239388 from home:jfehlig:branches:Virtualization
- Move 'Requires' of qemu from libvirt-daemon-qemu subpackage to
  libvirt-daemon-driver-qemu
  bnc#885267

- Temporarily disable virt-aa-helper-test, which fails in Factory

- Update to libvirt 1.2.6
  - libxl: add migration support and fixes
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patch libxl-migration-support.patch
  - Drop ia64-clone.patch since libvirt is not built for IA64

OBS-URL: https://build.opensuse.org/request/show/239388
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=388
2014-07-02 19:21:03 +00:00
Cédric Bosdonnat
f0ef621840 Accepting request 238658 from home:cbosdonnat:branches:Virtualization
- lxc-keep-caps-feature.patch: allow to keep/drop additional
  capabilities for LXC containers. bnc#881465
- lxc-keep-caps-feature-conversion.patch: convert lxc.cap.drop to
  the new domain configuration.
- lxc-keep-caps-feature-doc.patch: documentation for the new feature.

OBS-URL: https://build.opensuse.org/request/show/238658
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=385
2014-06-25 14:28:44 +00:00
James Fehlig
d9b6cab0f0 Accepting request 236506 from home:jfehlig:branches:Virtualization
- Disable failing virportallocatortest on aarch64

OBS-URL: https://build.opensuse.org/request/show/236506
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=383
2014-06-06 21:41:33 +00:00
James Fehlig
e5c6318b4d Accepting request 235993 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.5
  - Introduce virDomain{Get,Set}Time APIs
  - Introduce virDomainFSFreeze() and virDomainFSThaw() public API
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches:
    b98bf811-add-paravirt-shutdown-flag.patch,
    c4fe29f8-use-shutdown-flag.patch,
    da744120-use-reboot-flag.patch,
    d6b27d3e-CVE-2014-0179.patch,
    fd43d1f8-libxl-iface-hostdev.patch,
    99f50208-managed-hostdev-iface.patch,
    292d3f2d-libselinux-build-fix1.patch,
    b109c097-libselinux-build-fix2.patch

OBS-URL: https://build.opensuse.org/request/show/235993
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=381
2014-06-02 04:12:51 +00:00
James Fehlig
92f6cbc9c8 - Add upstream patches that fix build with libselinux 2.3
Added: 292d3f2d-libselinux-build-fix1.patch,
         b109c097-libselinux-build-fix2.patch
  Dropped: libselinux-build-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=379
2014-05-28 23:16:07 +00:00
Cédric Bosdonnat
40ebd7b517 Accepting request 235677 from home:cbosdonnat:branches:Virtualization
- Fix the build breakers brought by libselinux 2.3.
  libselinux-build-fix.patch

OBS-URL: https://build.opensuse.org/request/show/235677
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=378
2014-05-28 13:01:17 +00:00
Cédric Bosdonnat
c4fe5060ef Accepting request 235109 from devel:ARM:Factory
- blacklist one more unit test for qemu_linux_user builds

OBS-URL: https://build.opensuse.org/request/show/235109
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=376
2014-05-22 14:28:52 +00:00
James Fehlig
321518b183 - spec: libvirt-daemon package owns /etc/libvirt, not libvirt-client
bnc#878056

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=374
2014-05-20 21:17:11 +00:00
James Fehlig
df9dc08811 - libxl: Fix <interface type='hostdev'> syntax for SR-IOV devices
fd43d1f8-libxl-iface-hostdev.patch,
  99f50208-managed-hostdev-iface.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=372
2014-05-12 21:28:43 +00:00
James Fehlig
951275e87c re-enable add-nocow-to-vol-xml.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=370
2014-05-07 16:21:44 +00:00
James Fehlig
553e9bd059 - Update to libvirt 1.2.4
- Primarily a bug-fix release.  See http://libvirt.org/news.html
    for a detailed list of bug fixes and improvements
  - Drop upstream patches:
    0e0c1a74-domid-fix.patch, 7a1452f5-libxl-empty-cdrom.patch
- libxl: Support ACPI shutdown event
  b98bf811-add-paravirt-shutdown-flag.patch,
  c4fe29f8-use-shutdown-flag.patch, da744120-use-reboot-flag.patch
  bnc#872777
- libx: Support migration
  libxl-migration-support.patch
  bnc#875193

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=369
2014-05-06 18:02:27 +00:00
James Fehlig
b5414a9ca3 - CVE-2014-0179: Don't expand entities when parsing XML
d6b27d3e-CVE-2014-0179.patch
  bnc#873705

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=368
2014-05-06 17:46:39 +00:00
James Fehlig
f8ebdc5158 merge NOCOW patch from Chunyan
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=366
2014-04-08 17:26:09 +00:00
James Fehlig
52a7fec2c4 - libxl: Set disk format for empty cdrom device
0e0c1a74-domid-fix.patch, 7a1452f5-libxl-empty-cdrom.patch
  bnc#872517

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=365
2014-04-08 17:20:15 +00:00
Cédric Bosdonnat
6cc2de8c8b Accepting request 229020 from home:cbosdonnat:branches:Virtualization
cleanup after upgrade to 1.2.3

OBS-URL: https://build.opensuse.org/request/show/229020
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=363
2014-04-04 13:07:17 +00:00
Cédric Bosdonnat
36ec00cd38 Accepting request 228741 from home:cbosdonnat:branches:Virtualization
Updated to 1.2.3

OBS-URL: https://build.opensuse.org/request/show/228741
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=362
2014-04-02 12:48:46 +00:00
James Fehlig
a397ef8391 - Add /usr/sbin/rc{libvirtd,virtlockd,libvirt-guests} symlinks
to preserve backwards compatibility
  bnc#868190

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=360
2014-03-14 19:46:52 +00:00
Cédric Bosdonnat
d4706a0ef5 Accepting request 225657 from home:cbosdonnat:branches:Virtualization
Fixed spec file:
  * Added missing apparmor-parser requires
  * Removed explicit libcgroup1 requires

OBS-URL: https://build.opensuse.org/request/show/225657
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=358
2014-03-12 11:12:54 +00:00
James Fehlig
4d81ed52ea Accepting request 224655 from home:saschpe:branches:Virtualization
- Create /etc/libvirt/hooks to allow using hook scripts

OBS-URL: https://build.opensuse.org/request/show/224655
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=356
2014-03-04 18:53:29 +00:00
James Fehlig
5016413cf6 - Update to libvirt 1.2.2
- add LXC from native conversion tool
  - vbox: add support for v4.2.20+ and v4.3.4+
  - CVE-2013-6456 (bnc#857490)
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: 37564b47-xend-parse-response.patch,
    4f20084-fix-apparmor-install-patch.patch
  - Add local disable-virCgroupGetPercpuStats-test.patch to disable
    failing virCgroupGetPercpuStats test in 'make check'

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=354
2014-03-03 04:22:57 +00:00
James Fehlig
e73e04b7bc - daemon-qemu: Require qemu instead of kvm to align with
recent changes to the qemu package structure

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=353
2014-02-24 23:41:51 +00:00
James Fehlig
a47687187b - spec: fix dependencies of daemon-config-network and
daemon-config-nwfilter subpackages.  Influenced by upstream
  commits cf76c4b3 and dca5ce4c

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=352
2014-02-14 22:22:58 +00:00
James Fehlig
2fb4dce3cd - Remove libvirtd, virtlockd, and libvirt-guests init scripts when
using systemd
  bnc#863540

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=351
2014-02-14 22:19:58 +00:00
Cédric Bosdonnat
046a57aff2 libvirt apparmor template profile was installed in the wrong place
Fixed the path to be /etc/apparmor.d/libvirt/TEMPLATE again.

- Fix the path to libvirtd AppArmor template profile

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=350
2014-02-12 15:59:31 +00:00
James Fehlig
2e70ffe5a3 - Fix parsing xend http response
37564b47-xend-parse-response.patch
  rhb#1055165

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=348
2014-01-29 21:51:41 +00:00
James Fehlig
629e5aaef7 - Fix build on code 11
- Fix rpmlint warning

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=344
2014-01-21 01:24:00 +00:00
James Fehlig
db81eba56f - Following the upstream pattern, introduce the
daemon-config-network subpackage to handle defining the default
  network
  bnc#859041

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=343
2014-01-21 00:43:47 +00:00
James Fehlig
0e53c763a0 - Update to libvirt 1.2.1
- CVE-2014-0028, CVE-2014-1447, CVE-2013-6458, CVE-2013-6457,
    CVE-2013-6436
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped upstream patches: 5e397d9c-test-fix-dbus-crash.patch,
    78af457e-fix-virnettlscontexttest.patch,
    9faf3f29-LXC-memtune.patch, f8c1cb90-CVE-2013-6436.patch,
    libxl-hvm-nic.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=342
2014-01-17 19:45:49 +00:00
James Fehlig
5ad9c78897 - Ignore 'make check' on older, code 11 base
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=340
2013-12-27 00:03:47 +00:00
James Fehlig
8b2f36a3ed Accepting request 212280 from home:cbosdonnat:branches:Virtualization
Reenabled make check. Still failing for 11.4... but it's really old, isn't it?

OBS-URL: https://build.opensuse.org/request/show/212280
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=339
2013-12-26 23:59:17 +00:00
James Fehlig
57d3b850ee - Remove dependency on pm-utils from libvirt-client
bnc#856381

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=338
2013-12-20 20:31:00 +00:00
James Fehlig
7ea60c0a28 - CVE-2013-6436: Fix crashes in lxc memtune code, one of which
results in DoS
  f8c1cb90-CVE-2013-6436.patch, 9faf3f29-LXC-memtune.patch
  bnc#854486

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=337
2013-12-20 16:25:32 +00:00
James Fehlig
387203a948 - More adjustments to the spec file to fix package dependency
issues
  bnc#848918

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=336
2013-12-06 22:50:19 +00:00
James Fehlig
bfc56c3413 - Update to libvirt 1.2.0
- Add support for gluster pool
  - Separation of python binding
  - vbox: add support for 4.3 APIs
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Updated and renamed clone.patch to ia64-clone.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=334
2013-12-06 18:39:18 +00:00
James Fehlig
68aa91d2e5 - Link with same versions of libnl used by netcontrol to prevent
crashing libvirtd on start

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=333
2013-12-04 21:31:09 +00:00
James Fehlig
e48979ae7d - Add '/etc/sasl2' to libvirt-client file list to fix Factory build
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=332
2013-12-04 17:44:31 +00:00
James Fehlig
a58c0b5ccc - Update to libvirt 1.1.4
- Add support for AArch64 architecture
  - Various improvements on test code and test driver
  - Don't link virt-login-shell against libvirt.so
  - Close all non-stdio FDs in virt-login-shell
  - Only allow 'stderr' log output when running setuid
  - Fix perms for virConnectDomainXML{To,From}Native
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: e7f400a1-CVE-2013-4296.patch,
    2dba0323-CVE-2013-4297.patch, db7a5688-CVE-2013-4311.patch,
    e65667c0-CVE-2013-4311.patch, 922b7fda-CVE-2013-4311.patch,
    e4697b92-CVE-2013-4311.patch, 8294aa0c-CVE-2013-4399.patch,
    484cc321-fix-spice-migration.patch,
    79552754-libvirtd-chardev-crash.patch,
    57687fd6-CVE-2013-4401.patch, ae53e5d1-CVE-2013-4400.patch,
    8c3586ea-CVE-2013-4400.patch, b7fcc799a-CVE-2013-4400.patch,
    3e2f27e1-CVE-2013-4400.patch, 5a0ea4b7-CVE-2013-4400.patch,
    843bdb2f-CVE-2013-4400.patch,
    bd773e74-lxc-terminate-machine.patch,
    e350826c-python-fix-fd-passing.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=329
2013-11-20 20:02:26 +00:00
James Fehlig
9049faae46 - Require libvirt-daemon-<hypervisor> in the main libvirt package
for each supported hypervisor
  bnc#850882

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=327
2013-11-19 20:17:39 +00:00
James Fehlig
420446e6e4 - Fix initialization of libxl NIC devices
libxl-hvm-nic.patch
  bnc#848918

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=325
2013-11-04 23:05:28 +00:00
James Fehlig
1ec99abbc8 - libxl driver: fix initialization of VNC and SDL info for
HVM domains
  libxl-hvm-vnc.patch
  bnc#847566
- Allow libvirtd apparmor profile to access /etc/xen/scripts/*

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=320
2013-10-25 19:29:19 +00:00
James Fehlig
3973ce3dde - Fix file descriptor passing in python bindings
e350826c-python-fix-fd-passing.patch
  rhb#1021434

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=319
2013-10-23 03:41:22 +00:00
James Fehlig
65c4cfdc02 - Have systemd terminate the machine as a workaround of fdo#68370
bd773e74-lxc-terminate-machine.patch
  bnc#842834

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=318
2013-10-22 21:27:53 +00:00
James Fehlig
8296f9e96d - Spec file fixes to only package libvirt-login-shell when
building the LXC driver

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=317
2013-10-22 18:29:21 +00:00
James Fehlig
53a4a5c7fa Add upstream patches to fix build on older systems that
have a gnutls that uses libgcrypt.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=316
2013-10-22 17:07:40 +00:00
James Fehlig
fffa5dcc99 - CVE-2013-4400: Unsantized use of env variables allows privilege
escalation via virt-login-shell
  ae53e5d1-CVE-2013-4400.patch, 8c3586ea-CVE-2013-4400.patch,
  b7fcc799a-CVE-2013-4400.patch, 3e2f27e1-CVE-2013-4400.patch,
  CVE-2013-4400-build-fix.patch
  bnc#837609
- CVE-2013-4401: Fix perms for virConnectDomainXML{To,From}Native
  57687fd6-CVE-2013-4401.patch
  bnc#845704

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=315
2013-10-21 21:49:57 +00:00
James Fehlig
c27ca0ddd7 fix build for distros that don't have libxl
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=314
2013-10-18 22:13:52 +00:00
James Fehlig
4b629b33b6 - Move hypervisor-specific files out of libvirt-daemon package
and into libvirt-daemon-<hypervisor> subpackage
  bnc#845851
- conf: Don't crash on invalid chardev source definition
  79552754-libvirtd-chardev-crash.patch
  bnc#845704, rhb#1012196

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=313
2013-10-18 20:46:45 +00:00
James Fehlig
b905305de1 - Use newer libnl3 instead of libnl-1_1
bnc#845540

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=312
2013-10-17 20:18:18 +00:00
James Fehlig
e9ae5f7966 - Move virt-login-shell to new subpackage libvirt-login-shell,
requiring users to opt-in for this setuid binary.  Note: For now,
  virt-login-shell will not have setuid permissions, pending
  resolution of bnc#837609

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=310
2013-10-15 04:28:21 +00:00
James Fehlig
2df984b272 - qemu: Fix seamless SPICE migration
484cc321-fix-spice-migration.patch
  bnc#842301

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=309
2013-10-15 03:27:06 +00:00
James Fehlig
4f9e403a41 - CVE-2013-4399: Fix crash in libvirtd when events are registered
and ACLs active
  8294aa0c-CVE-2013-4399.patch
  bnc#844052

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=307
2013-10-15 02:35:05 +00:00
James Fehlig
2b3f0e1499 - Update the stale gettext BuildRequires and Requires dependencies
in the spec file
  bnc#841325

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=306
2013-10-14 22:51:07 +00:00
James Fehlig
9b367aafd3 - Add support for using 3-arg pkcheck syntax for process
db7a5688-CVE-2013-4311.patch, e65667c0-CVE-2013-4311.patch,
  922b7fda-CVE-2013-4311.patch, e4697b92-CVE-2013-4311.patch
  bnc#836931

- CVE-2013-4296: Fix crash in remoteDispatchDomainMemoryStats
  e7f400a1-CVE-2013-4296.patch
  bnc#838638
- CVE-2013-4297: Fix crash in virFileNBDDeviceAssociate
  2dba0323-CVE-2013-4297.patch
  bnc#838642

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=299
2013-10-02 16:20:46 +00:00
James Fehlig
6d3a1703e9 - Update to libvirt 1.1.2
- various improvements to libxl driver
  - systemd integration improvements
  - Add flag to BaselineCPU API to return detailed CPU features
  - Introduce a virt-login-shell binary
  - conf: add startupPolicy attribute for harddisk
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: bcef0f01-libxl-console.patch,
    9d0557b9-legacy-xen-double-free.patch,
    d7a45bf2-legacy-xen-dumpxml.patch, 0e671a16-CVE-2013-4239.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=296
2013-09-03 17:08:54 +00:00
James Fehlig
0a26adabe1 - Fix memory corruption in legacy Xen driver
0e671a16-CVE-2013-4239.patch
  bnc#834598
- Upstream patches to fix dumpxml in legacy Xen driver
  9d0557b9-legacy-xen-double-free.patch,
  d7a45bf2-legacy-xen-dumpxml.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=294
2013-08-13 16:50:35 +00:00
James Fehlig
10c35258ed - Backport upstream patch implementing domainOpenConsole in the
libxl driver.  Allows 'virsh console dom-name' to work with
  Xen libxl toolstack.
  bcef0f01-libxl-console.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=292
2013-07-31 22:56:30 +00:00
James Fehlig
0119ca3996 - Update to libvirt 1.1.0
- Adding device removal or deletion events
  - Introduce new domain create APIs to pass pre-opened FDs to LXC
  - Add interface versions for Xen 4.3
  - Add new public API virDomainSetMemoryStatsPeriod
  - Various LXC improvements
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: f38c8185-CVE-2013-2230.patch,
    fd2e3c4c-xen-sysctl-domctl.patch, dfc69235-CVE-2013-4153.patch,
    96518d43-CVE-2013-4154.patch, fe89fd3b-storage-pool-deadlock.patch
  - Drop relax-qemu-usergroup-check.patch - no longer needed
    after hypervisor-specific daemon package split

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=290
2013-07-30 20:33:47 +00:00
James Fehlig
0572a9487c - Unlock the storage volume object after looking it up
fe89fd3b-storage-pool-deadlock.patch
  rhb#980676

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=287
2013-07-22 23:19:39 +00:00
James Fehlig
eda6aa8e7f - CVE-2013-4153: Fix double free of returned JSON array in
qemuAgentGetVCPUs()
  dfc69235-CVE-2013-4153.patch
- CVE-2013-4154: Prevent crash of libvirtd without guest agent
  configuration
  96518d43-CVE-2013-4154.patch
  bnc#830498

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=286
2013-07-22 16:42:02 +00:00
James Fehlig
1b256e680d - Fix legacy xen driver with Xen 4.3
fd2e3c4c-xen-sysctl-domctl.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=284
2013-07-17 17:50:14 +00:00
James Fehlig
5674459f46 Accepting request 182783 from home:jfehlig:branches:Virtualization
- CVE-2013-2230: Fix crash when multiple event callbacks were
  registered
  f38c8185-CVE-2013-2230.patch
  bnc#827801

- Update to libvirt 1.1.0
  - Extensible migration APIs
  - Add a policy kit access control driver
  - various improvements in the Xen and libxl drivers
  - improve networking support on BSD
  - agent based vCPU hotplug support
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: 244e0b8c-CVE-2013-2218.patch

OBS-URL: https://build.opensuse.org/request/show/182783
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=282
2013-07-10 22:06:19 +00:00
James Fehlig
78ac454f8b - Only require lzop if suse_version > 1210
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=281
2013-07-08 18:44:33 +00:00
James Fehlig
43fb22fd87 - Fix typo in spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=280
2013-07-03 17:14:50 +00:00
James Fehlig
84d9a7b3ca - Enable support for netcontrol by default
- Only require libvirt-daemon-driver-interface when building the
  interface driver

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=279
2013-07-03 16:22:28 +00:00
James Fehlig
1caaf6bb06 - CVE-2013-2218: Fix crash listing network interfaces with filters
244e0b8c-CVE-2013-2218.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=277
2013-07-01 15:28:09 +00:00
James Fehlig
3a2f8fadaa - Add xencommons as 'Wanted' in the systemd libvirtd service file
systemd-service-xen.patch
  bnc#820888

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=275
2013-06-11 16:40:05 +00:00
James Fehlig
336eff2235 - Fix build for SLE11 SP2
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=273
2013-06-10 15:15:54 +00:00
James Fehlig
82502faa00 - Add a README to the empty packages. Provides some info about
their purpose and satisfies suse-filelist-empty check.
  Drop rpmlintrc

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=272
2013-06-07 21:42:47 +00:00
James Fehlig
99cb6b4f3c - Fix typo in spec file: devel package requires doc package, not
docs

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=271
2013-06-07 14:16:07 +00:00
James Fehlig
ed47b0b49d Accepting request 177953 from home:jfehlig:branches:Virtualization
- Add rpmlintrc to get around suse-filelist-empty error on
  older distros.

- Refactor libvirt spec file to create subpackages for the various
  libvirtd components.  This allows installing a libvirtd tailored
  for the underlying virtualizer.  E.g. on a KVM/QEMU virtualizer
  only the libvirt-daemon-qemu package needs installed.
  Similarly, only libvirt-daemon-xen on a Xen virtualizer and 
  libvirt-daemon-lxc on LXC.

OBS-URL: https://build.opensuse.org/request/show/177953
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=270
2013-06-07 01:10:31 +00:00
James Fehlig
4514dc2f52 - Update to libvirt 1.0.6
- Move VirtualBox driver into libvirtd
  - Support for static routes on a virtual bridge
  - Various improvement for hostdev SCSI support
  - Switch to VIR_STRDUP and VIR_STRNDUP
  - Various cleanups and improvement in Xen and LXC drivers
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: f493d83f-cgroup-swap-control.patch,
    486a86eb-cgroups-docs.patch, 0ced83dc-cgroup-escape-dot.patch,
    bbe97ae9-no-cgroups.patch, c2cf5f1c-no-cgroups-fix.patch,
    95c6cc34-selinux.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=268
2013-06-04 22:48:46 +00:00
James Fehlig
9decd8f3cc - Update to libvirt 1.0.5.1 stable release
- qemu: Fix cgroup handling when setting VCPU BW
  - daemon: fix leak after listing all volumes
  - Fix iohelper usage with streams opened for read
  - util: fix virFileOpenAs return value and resulting error logs
  - iscsi: don't leak portal string when starting a pool
  - don't mention disk controllers in generic controller errors
  - conf: don't crash on a tpm device with no backends
  - qemu: allocate network connections sooner during domain startup
  -  Make detect_scsi_host_caps a function on all architectures
  - Fix release of resources with lockd plugin
  - Fix potential use of undefined variable in remote dispatch code
  - Fix F_DUPFD_CLOEXEC operation args
  - qemu: fix stupid typos in VFIO cgroup setup/teardown
  - network: fix network driver startup for qemu:///session
- Remove patches that are included in the 1.0.5.1 release
  0471637d-cgroups-vcpu-bw.patch, a2214c52-iohelper.patch,
  ca697e90-CVE-2013-1962.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=266
2013-05-21 18:02:56 +00:00
James Fehlig
4800cebe0e - Don't mount selinux fs in LXC if selinux is disabled
95c6cc34-selinux.patch
  bnc#814680

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=265
2013-05-20 20:57:29 +00:00
James Fehlig
8806eb20b1 - fix leak after listing all volumes - CVE-2013-1962
ca697e90-CVE-2013-1962.patch
  bnc#820397
- Fix iohelper usage with streams opened for read
  a2214c52-iohelper.patch
- Cope with missing swap cgroup controls
  f493d83f-cgroup-swap-control.patch
  bnc#819976
- Fix cgroup handling when setting VCPU BW
  0471637d-cgroups-vcpu-bw.patch
  rhb#963592
- Escape a leading '.' with '_' in the cgroup names
  0ced83dc-cgroup-escape-dot.patch
- Add missing documentation on new cgroup layout
  486a86eb-cgroups-docs.patch
- Another fix related to systems with no cgroups
  c2cf5f1c-no-cgroups-fix.patch
  bnc#819963

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=264
2013-05-18 15:17:46 +00:00
James Fehlig
63e2ee1ac4 - Fix starting domains when kernel has no cgroups support
bbe97ae9-no-cgroups.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=262
2013-05-13 15:33:43 +00:00
James Fehlig
9f17752b70 - Update to libvirt 1.0.5
- PPC64: Add NVRAM device
  - Add XML config for resource partitions
  - Add support for TPM
  - NPIV storage migration support
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=261
2013-05-02 19:17:46 +00:00
James Fehlig
5c86ebdada remove inadvertent change in spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=260
2013-04-02 22:01:29 +00:00
James Fehlig
0a126bf0e7 - Update to libvirt 1.0.4
- qemu: support passthrough for iscsi disks
  - various S390 improvements
  - various LXC bugs fixes and improvements
  - add API for thread cancellation
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: ce4557c3-apparmor-tapfd-label.patch
    libvirt-iptables-1.4.18.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=259
2013-04-02 21:49:11 +00:00
Ismail Dönmez
fe4a6bb6d8 Accepting request 160819 from home:seife:branches:Virtualization
add libvirt-iptables-1.4.18.diff, fix masquerading with iptables v1.4.18

OBS-URL: https://build.opensuse.org/request/show/160819
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=256
2013-03-24 20:40:42 +00:00
James Fehlig
48f970eb90 remove spurious debug stuff from spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=254
2013-03-08 19:49:19 +00:00
James Fehlig
6bfebf3884 - Fix PCI device attach for xen HVM domains
fix-pci-attach-xen-driver.patch
  FATE#313570

- Apparmor security driver: Ensure tapfd's are labled when
  generating the guest profile.
  Modified install-apparmor-profiles.patch, added upstream patch
  ce4557c3-apparmor-tapfd-label.patch
  bnc#807940

- Grant permission to use datagram packets in libvirtd apparmor
  profile.
  Remove AF_PACKET.patch, modify install-apparmor-profiles.patch
  bnc#801145

- Add 'managed' PCI passthrough support to legacy xen driver
  support-managed-pci-xen-driver.patch
  FATE#313570

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=253
2013-03-08 19:47:00 +00:00
James Fehlig
326f0f1ce2 - Update to libvirt 1.0.3
- Introduce virDomainMigrate*CompressionCache APIs
  - Introduce virDomainGetJobStats API
  - Add basic support for VDI images
  - Introduce API virNodeDeviceLookupSCSIHostByWWN
  - Various locking improvements
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: a6b8bae5-python-generator-fix1.patch,
    25ea8e47-python-generator-fix2.patch,
    567779e5-libxl-default-disk-backend.patch

- Fix path to qemu-bridge-helper in libvirt-qemu apparmor profile
  Modified install-apparmor-profiles.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=252
2013-03-06 04:40:21 +00:00
James Fehlig
905e8c597f - spec: Fix installation of default network
- Fix default setting of backend field of libxl_device_disk
  567779e5-libxl-default-disk-backend.patch
  rhb#912488

- Fix build on IA64
  Modified clone.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=249
2013-02-25 18:49:59 +00:00
James Fehlig
b920f5444b - Fix error handling in python bindings
a6b8bae5-python-generator-fix1.patch
  25ea8e47-python-generator-fix2.patch
  bnc#802619

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=247
2013-02-07 21:56:04 +00:00
James Fehlig
6329e6d6db Accepting request 150880 from home:elvigia:branches:Virtualization
- Require modutils instead of module-init-tools.

OBS-URL: https://build.opensuse.org/request/show/150880
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=245
2013-02-05 05:22:33 +00:00
James Fehlig
49fa466c51 - Update to libvirt 1.0.2
- LXC improvements
  - S390 architecture improvements
  - Power architecture improvements
  - large Coverity report cleanups and associated bug fixes
  - virTypedParams* APIs to help with those data structures
  - libxenlight driver improvements
  - Drop upstream patches: 68e7bc45-libxl-link-fix.patch,
    462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
    5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
    66ff2ddc-virtlockd-systemd-file-perms.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=242
2013-01-30 18:45:29 +00:00
James Fehlig
13d485c1ee - Unconditionally build sanlock support
bnc#799262

- Fix interface management functions that were broken when
  rebasing libvirt-suse-netcontrol.patch
  bnc#799444 (SLES bug that affect Factory too)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=240
2013-01-22 04:02:42 +00:00
James Fehlig
a870a15461 - Update to libvirt 1.0.1
- Introduce virtlockd daemon
  - parallels: add disk and network device support
  - Add virDomainSendProcessSignal API
  - Introduce virDomainFSTrim() public API
  - add fuse support for libvirt lxc
  - Add Gluster protocol as supported network disk backend
  - various snapshot improvements
- Add upstream patches to fix bugs in 1.0.1
  66ff2ddc-virtlockd-systemd-file-perms.patch,
  462a6962-script-fixes1.patch, cb854b8f-script-fixes2.patch,
  5ec4b22b-script-fixes3.patch, a1fd56cb-script-fixes4.patch,
  68e7bc45-libxl-link-fix.patch
- Rework SUSE patches for the various init scripts
  Dropped use-init-script-redhat.patch and added
  libvirtd-init-script.patch, libvirt-guests-init-script.patch,
  and virtlockd-init-script.patch
  - Drop upstream patches: 371ddc98-xen-sysctl-9.patch,
    416eca18-xenstore-header-fix.patch,
    f644361b-virCommand-env.patch, 2b32735a-virCommand-env.patch,
    9785f2b6-fix-xen-sysctl9.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=238
2013-01-07 18:44:26 +00:00
James Fehlig
f38c7dff24 - Update to libvirt 1.0.0
- virNodeGetCPUMap: Define public API
  - Add systemd journal support
  - Add a qemu capabilities cache manager
  - USB migration support
  - various improvement and fixes when using QMP QEmu interface
  - Support for Xen 4.2 in legacy xen driver
  - Lot of localization enhancements

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=237
2012-11-02 17:55:26 +00:00
James Fehlig
b3c36f0cbc - Fix Xen sysctl version 9 support
9785f2b6-fix-xen-sysctl9.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=235
2012-10-23 20:34:57 +00:00
James Fehlig
ae1e5e873b - Add upstream patches to support latest libguestfs
f644361b-virCommand-env.patch
  2b32735a-virCommand-env.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=233
2012-10-11 14:35:56 +00:00
James Fehlig
25374005f5 - Fix build when using -werror
416eca18-xenstore-header-fix.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=231
2012-09-27 16:36:18 +00:00
James Fehlig
4378c255d8 - Support Xen sysctl version 9
371ddc98-xen-sysctl-9.patch
  bnc#781425

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=230
2012-09-26 20:34:15 +00:00
James Fehlig
3296360f5b Cleanup some debug cruft in the spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=228
2012-09-25 22:23:10 +00:00
James Fehlig
794d4df5d5 - Temporarily disable building libxl driver. The current
implementation does not support libxl in Xen 4.2.

- Update to libvirt 0.10.2
  - network: define new API virNetworkUpdate
  - add support for QEmu sandbox support
  - blockjob: add virDomainBlockCommit
  - node_memory: Define the APIs to get/set memory parameters
  - list: Define new API virConnectListAllSecrets
  - list: Define new API virConnectListAllNWFilter
  - list: Define new API virConnectListAllNodeDevices
  - list: Define new API virConnectListAllInterfaces
  - list: Define new API virConnectListAllNetworks
  - list: Define new API virStoragePoolListAllVolumes
  - list: Define new API virStorageListAllStoragePools
  - parallels: add support of containers to the driver
  - Add PMSUSPENDED life cycle event
  - Add per-guest S3/S4 state configuration
  - qemu: Support for Block Device IO Limits

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=227
2012-09-25 22:22:08 +00:00
James Fehlig
0027057c64 - Update to libvirt 0.10.1
- Bug fix release for critical bugs in 0.10.0
  - Drop upstream patch f781e276-xen-driver-fix.patch

- Update to libvirt 0.10.0
  - agent: add qemuAgentArbitraryCommand()
  - Introduce virDomainPinEmulator and virDomainGetEmulatorPinInfo
  - network: use firewalld instead of iptables, when available
  - network: make network driver vlan-aware
  - esx: Implement network driver
  - driver for parallels hypervisor
  - Various LXC improvements
  - Add virDomainGetHostname
  - Drop upstream patches
    4036aa91-systemd.patch
    6039a2cb-CVE-2012-3445.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=226
2012-09-12 15:08:18 +00:00
James Fehlig
3d3eadb7f0 - Fix xen driver following changes to make it stateful
f781e276-xen-driver-fix.patch
  bnc#778006

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=224
2012-08-31 03:22:18 +00:00
James Fehlig
687c47cc53 - Update to libvirt 0.9.13
- S390: support for s390(x)
  - snapshot: implement new APIs for esx and vbox
  - snapshot: new query APIs and many improvements
  - virsh: Allow users to reedit rejected XML
  - nwfilter: add DHCP snooping
  - storage backend: Add RBD (RADOS Block Device) support
  - sVirt support for LXC domains inprovement

_ Update to libvirt 0.9.12
  - qemu: allow snapshotting of sheepdog and rbd disks
  - blockjob: add new AP
  - many bug fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=221
2012-08-08 17:47:16 +00:00
James Fehlig
a3547ecbaf - daemon: Fix crash in virTypedParameterArrayClear
CVE-2012-3445
  6039a2cb-CVE-2012-3445.patch
  bnc#773955

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=219
2012-08-01 17:43:38 +00:00
James Fehlig
f7a4f1af0a - libvirtd.service: ensure libvirtd starts after network
4036aa91-systemd.patch
  bnc#767932

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=217
2012-07-10 15:18:59 +00:00
James Fehlig
5a46bd028d - Add upstream patch to fix ref count of virNetServer object
9c77bf04-fix-virnetserver-refcnt.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=216
2012-06-22 22:26:50 +00:00
James Fehlig
6765bcc4b6 - Fix libvirtd deadlock on shutdown
0dda594d-libvirtd-shutdown-deadlock.patch
  bnc#767797

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=215
2012-06-21 17:57:19 +00:00
James Fehlig
aeaac79c1b - Fix segfault in libvirt_lxc
57349ffc-lxc-ctrl.patch
  bnc#767448

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=214
2012-06-21 05:41:40 +00:00
James Fehlig
f04e151e5b - Fix build on i586
revert-d8978c90.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=213
2012-06-20 16:50:17 +00:00
James Fehlig
8d8243b548 - Update to libvirt 0.9.11.4 stable release
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=212
2012-06-20 00:00:14 +00:00
James Fehlig
12b4dbbe29 - VUL-1: Fix hotplug support for usb devices with same vendorID,
productID
  9914477e-usb-search-funcs.patch
  05abd150-usb-improve-hotplug.patch
  bnc#766559

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=211
2012-06-12 20:22:26 +00:00
James Fehlig
fbf6ff9777 - Add capability 'audit_write' to libvirtd apparmor profile
update install-apparmor-profiles.patch
  bnc#764388
- Update to libvirt 0.9.11.3 stable release

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=209
2012-05-30 22:10:42 +00:00
James Fehlig
67b62a5e60 - Copy user in virURIParse
4eb1c256-viruri-user.patch
  bnc#757766

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=207
2012-04-25 18:28:21 +00:00