Commit Graph

242 Commits

Author SHA256 Message Date
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
James Fehlig
91ef7e8b5c - yajl is availabile in all supported SUSE products, so always
use it when building libvirtd

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=206
2012-04-25 14:31:24 +00:00
James Fehlig
c77ae44d06 - Update to libvirt 0.9.11
- Add support for the suspend event
  - Add support for event tray moved of removable disks
  - qemu: Support numad
  - cpustats: API, improvements and qemu support
  - qemu: support type='hostdev' network devices at domain start
  - Introduce virDomainPMWakeup API
  - network: support Open vSwitch
  - snapshot improvements

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=204
2012-04-12 21:33:51 +00:00
James Fehlig
888e156393 whitespace cleanup in spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=203
2012-03-26 19:07:45 +00:00
James Fehlig
16e7b0f5e2 - Remove unconditional define of 'with_netcontrol'
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=202
2012-03-26 19:02:33 +00:00
James Fehlig
61bad01df3 - Add a note in /etc/libvirt/qemu.conf describing administrator
vigilance required when enabling a lock manager such as sanlock

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=200
2012-02-16 17:05:01 +00:00
James Fehlig
afbbb95406 - Recommend dmidecode if suse_version > 1110. dmidecode is used
by virConnectGetSysinfo.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=199
2012-02-16 16:05:20 +00:00
James Fehlig
a78854eae9 - Add upstream patches to fix issues with older PolicyKit
c05ec920-polkit0-build.patch
  fcdfa31f-polkit0-auth.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=198
2012-02-16 05:03:57 +00:00
James Fehlig
cde45b0d95 - Update to libvirt 0.9.10
- Add support for sVirt in the LXC driver
  - Add new API virDomainBlockRebase
  - Add api to set and get domain metadata
  - virDomainGetDiskErrors public API
  - Add rawio attribute to disk element of domain XML
  - Introduce virDomainPMSuspendForDuration API
  - Add virStorageVolResize() API
  - Add a virt-host-validate command to sanity check HV config
  - Add new virDomainShutdownFlags API
  - QEMU guest agent support

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=197
2012-02-15 19:01:07 +00:00
James Fehlig
b4b10fd188 - Fix init script packaging after enabling systemd support
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=195
2012-01-25 21:42:04 +00:00
James Fehlig
cac6daf6b8 - Fix %files after enabling sanlock support
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=194
2012-01-24 21:28:41 +00:00
James Fehlig
460b02d301 spec file cleanup
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=193
2012-01-19 23:02:47 +00:00
James Fehlig
58225ed584 - Enable libvirt integration with sanlock
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=190
2012-01-18 23:03:47 +00:00
James Fehlig
4b5a0e883b - During configure, libvirt checks for availability of iptables
binary and doesn't actually use anything from iptables-devel
  package, hence only need 'BuildRequires: iptables'.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=189
2012-01-11 16:36:57 +00:00
James Fehlig
e214671409 - Update to libvirt 0.9.9
- Add new API virDomain{S,G}etInterfaceParameters
  - Add new API virDomain{G,S}etNumaParameters
  - Add support for ppc64 qemu
  - Support Xen domctl v8

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=188
2012-01-09 22:51:36 +00:00
James Fehlig
ff2439ca46 - Fixup systemd support as per openSUSE systemd packaging
guidelines.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=185
2012-01-04 23:48:35 +00:00
James Fehlig
2caea9a03a - Use %fdupes for duplicate file checking instead of hand-rolled
function

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=184
2012-01-03 16:29:06 +00:00
James Fehlig
313e7cf2d5 Update to libvirt 0.9.8
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=183
2011-12-15 01:23:04 +00:00
James Fehlig
3231a86fc7 - Add support for QEMU 1.0
dd8e8956-qemu-1.0.patch
  bnc#736569

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=182
2011-12-14 04:48:31 +00:00
OBS User buildservice-autocommit
141f42da34 Updating link to change in openSUSE:Factory/libvirt revision 92.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=0c32160dd9a53f78a472ab00a2f00263
2011-12-06 17:26:09 +00:00
James Fehlig
6e6c8a48ca - Allow qemu driver (and hence libvirtd) to load when qemu
user:group does not exist.  The kvm or qemu package, which may
  not exist on a xen host, creates qemu user:group.
  relax-qemu-usergroup-check.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=179
2011-11-30 16:55:23 +00:00
James Fehlig
a05f801ae3 Fix some relevant bugs found in SLE11 SP2
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=176
2011-11-28 22:00:45 +00:00
Charles Arnold
82f0de3595 - Accommodate Xen domctl version 8
xen-domctl-ver8.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=175
2011-11-28 20:14:22 +00:00