Commit Graph

326 Commits

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