Commit Graph

234 Commits

Author SHA256 Message Date
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
d820fe0d40 - Fix botched backport of commit bbe97ae9
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=263
2013-05-16 22:26:04 +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
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
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
c36a4fa1e0 - Fix detach of managed PCI devices from inactive domains.
Detected while running test cases for FATE #313570.
  Modified xen-name-for-devid.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=250
2013-02-25 21:55:36 +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
dc014342e1 Note in changelog that libvirt update fixes CVE-2013-0170
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=243
2013-02-01 18:49:03 +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
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
4fd37b7da7 Mention patch removals in changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=222
2012-08-20 17:19:50 +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