summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/libvirt-sandbox/Manifest2
-rw-r--r--app-emulation/qemu-kvm/ChangeLog782
-rw-r--r--app-emulation/qemu-kvm/Manifest32
-rw-r--r--app-emulation/qemu-kvm/files/65-kvm.rules1
-rw-r--r--app-emulation/qemu-kvm/files/qemu-0.11.0-mips64-user-fix.patch11
-rw-r--r--app-emulation/qemu-kvm/files/qemu-ifup5
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm2
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch37
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-nonkvm-arches.patch23
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-qemu-system-ppc.patch21
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-1.0-per-target-i8259.patch85
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-VERSION.patch7
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch12
-rw-r--r--app-emulation/qemu-kvm/files/qemu-kvm-9999-fix-mipsen.patch18
-rw-r--r--app-emulation/qemu-kvm/metadata.xml35
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-1.0.1-r1.ebuild382
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-1.0.1.ebuild368
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild372
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-1.1.1-r3.ebuild373
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-9999.ebuild386
20 files changed, 2 insertions, 2952 deletions
diff --git a/app-emulation/libvirt-sandbox/Manifest b/app-emulation/libvirt-sandbox/Manifest
index 44a0767a35bb..0c79dca4b898 100644
--- a/app-emulation/libvirt-sandbox/Manifest
+++ b/app-emulation/libvirt-sandbox/Manifest
@@ -1,4 +1,6 @@
DIST libvirt-sandbox-0.0.2.tar.gz 428164 SHA256 323160948e5f797a1bb159890cc5c8a456e6549ae404641474376a7a3affb310 SHA512 0ea41e328ddd6d8155c6d8f9c36ecffe2702edeb7227ead676086134402b929fa878680eef64745c4a70e7db7dafe33ed6d3b1bee25fae5efbe3f23726dfce2e WHIRLPOOL caca4260ea062eafe6d243b8116f7dca2f30f8b9385eac6e43c7907aad1443d13255f3dc7a39903925ca03d4c12c6a1a8eb0d886349220538b131ec1fd310064
+DIST libvirt-sandbox-0.1.0.tar.gz 496410 SHA256 2337b4e865661b9d2697864c544021381ea887e3e432759d7a7376ece1146320 SHA512 8985d62937e325b1bf9bac80ea4549fb22837f2dfa1deb980804945c53390bab5a3e0fe48a017e246e82ae366f3fa22c7b2735b5d6f8c51d1e3a612f4f533fab WHIRLPOOL 4c0d6df0efe25c5678bf258c972af48667f4a8d95bc64379ce11314727bcb9c2ddda38003d707ba59396058d005469391537d7bc83f8f1632a04ceb1e2cf2b64
EBUILD libvirt-sandbox-0.0.2.ebuild 957 SHA256 faf77ab105f61bb81b8c9b099ad15ec4f549254dc347e94b6b42df60ef88d988 SHA512 0eb4270ef118f04b8e5dc4c8e30577672b9bf89c8d9f67382cf49b2f50d5c6f58763e4a10d93446d6df98dcfac51517439f811bbbb519c91fd6bffa1d6ace60b WHIRLPOOL a53b9fe39c85b37a3918d93e7497fb755fa072b061a543a739b904fa8b9d3822e5dd49e617b8a62a69e30292c2255ab4927675adeb672b3a49626e99d4e10909
+EBUILD libvirt-sandbox-0.1.0.ebuild 957 SHA256 7cf658d7b0fb7dc791b583e8fd1fb62a8a16869f2e53a7a8737234a1db008251 SHA512 2ea9fe676a46301c585130db28b4f402b054591e213ee04764e5a7f607d29b116f418d65df925acbfcff8b0b5db656895096cae91f6e3559296e97f0d7ab2279 WHIRLPOOL 5ee1742b12eb8fb1cc8e1c03cd64a37b62d0367960412e2e9d4b32fbf8de972d4c60c5d98154761bdb3f4130b52364efa4a86ed3cac6dff49e059cf923fd465e
MISC ChangeLog 541 SHA256 12ee1e771f520e884acf0885ca85c8185c2ce1acdf21497dfcad7b204a41a42b SHA512 6344be7ef38970955e049eeb3bc9206e154083de9766e515ca949fb5fdd5ca9fe6593ea5ed51b5a9b4a7f6ce263b252d45d75b67911192a1cf5c17d69235e1ac WHIRLPOOL 0565c340e2031b0ecc920496bd215d51ec56aee3c17d026cdaf30dddcc7f48ade26cbd14a581d26090c86e9e3b7cb440c290db96394b15741a5f9e4256d8d54f
MISC metadata.xml 272 SHA256 36324a1ed74c94fadbfecc0abe90d933d6b6a06ded870441cc3f555998ff9878 SHA512 052d57bc24acddfe6fe622c30f65634ff01ac1fd8e2e8e98150e20bbdd9cc4fb3bb061f9d78be8f39b31c8b624d546cc1d6e09b67b07e1a7cfe0002512e20711 WHIRLPOOL e402f06f2698b5ad069b1d1a45b11b9facbb7da45e9ea9e56c5ec31aa2e41b56cd69729547993b05c43393ad2d860918635d8c939fd3295aca21b525f1295aa6
diff --git a/app-emulation/qemu-kvm/ChangeLog b/app-emulation/qemu-kvm/ChangeLog
deleted file mode 100644
index c685b56d4996..000000000000
--- a/app-emulation/qemu-kvm/ChangeLog
+++ /dev/null
@@ -1,782 +0,0 @@
-# ChangeLog for app-emulation/qemu-kvm
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.162 2012/09/23 08:47:42 phajdan.jr Exp $
-
- 23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- qemu-kvm-1.1.1-r1.ebuild:
- x86 stable wrt bug #428476
-
- 10 Sep 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Use sys-firmware/ipxe rather than the preshipped binaries.
-
- 10 Sep 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.1-r1.ebuild,
- qemu-kvm-1.1.1-r3.ebuild:
- Update to only require texi2html with USE=doc. bug #413959
-
- 07 Sep 2012; Sergei Trofimovich <slyfox@gentoo.org>
- +files/qemu-kvm-9999-fix-mipsen.patch, qemu-kvm-9999.ebuild:
- Added build fix for mips*-softmmu targets.
-
- 07 Sep 2012; Sergei Trofimovich <slyfox@gentoo.org> qemu-kvm-9999.ebuild:
- Follow upstream removal of '--enable-kvm-device-assignment' switch. Add or32
- (OpenRISC) user and softmmu targets. Disable libseccomp for now as in-tree
- version is not compatible with current qemu.
-
- 31 Aug 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.1-r1.ebuild,
- qemu-kvm-1.1.1-r3.ebuild, qemu-kvm-9999.ebuild:
- Add a note about USE=static being unstable.
-
- 25 Aug 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Remove --disable-debug-mon which is an obsolete option for 1.2. bug #432484
-
- 13 Aug 2012; Doug Goldstein <cardoe@gentoo.org> files/qemu-kvm:
- Fix --enable-kvm argument to -enable-kvm. bug #431088
-
- 13 Aug 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0.1.ebuild,
- qemu-kvm-1.0.1-r1.ebuild, qemu-kvm-1.1.1-r1.ebuild, qemu-kvm-1.1.1-r3.ebuild,
- qemu-kvm-9999.ebuild:
- Update LICENSE field to match all the files included.
-
- 13 Aug 2012; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
- Remove unused local USE flag descriptions.
-
- 13 Aug 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.15.1-r1.ebuild:
- Remove older version
-
-*qemu-kvm-1.1.1-r3 (12 Aug 2012)
-
- 12 Aug 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-1.1.1-r2.ebuild,
- +qemu-kvm-1.1.1-r3.ebuild, qemu-kvm-9999.ebuild:
- Upstreamed fixes for the following: issues with --disable-kvm, glibc 2.16
- support, USB redir babble, ECHI assert when using isoc transfers. Ebuild
- fixes for potential issues with audio output selection, mixemu can only be
- enabled, systemtap can only be enabled.
-
- 12 Aug 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Live ebuild doesn't use BACKPORTS.
-
-*qemu-kvm-1.1.1-r2 (12 Aug 2012)
-
- 12 Aug 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.1.1-r2.ebuild,
- qemu-kvm-9999.ebuild, metadata.xml:
- Add support for SystemTAP/DTrace. Add support for audio mixer emulation. More
- use of REQUIRED_USE to detect problems with the build earlier than dying in
- src_configure. Clean out old commented out. Remove executable stacks.
-
- 12 Aug 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Switch from QA_PRESTRIPPED to QA_PREBUILT since these files are actually
- prebuilt so that we prevent QA warnings.
-
- 06 Aug 2012; Doug Goldstein <cardoe@gentoo.org> -files/65-gentoo-kvm.rules,
- -files/qemu-kvm-0.12.3-fix-crash-with-sdl.patch,
- -files/qemu-kvm-0.12.3-include-madvise-defines.patch, -qemu-kvm-1.1.0.ebuild,
- -files/qemu-kvm-guest-hang-on-usb-add.patch:
- Remove older version and older files.
-
- 05 Aug 2012; Agostino Sarubbo <ago@gentoo.org> qemu-kvm-1.1.1-r1.ebuild:
- Stable for amd64, wrt bug #428476
-
- 04 Aug 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.1-r1.ebuild:
- Switch from QA_PRESTRIPPED to QA_PREBUILT since these files are in fact
- pre-built and won't respect CFLAGS.
-
- 04 Aug 2012; Agostino Sarubbo <ago@gentoo.org> qemu-kvm-1.0.1-r1.ebuild:
- Stable for amd64, wrt bug #425206
-
- 28 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.15.1-r1.ebuild,
- qemu-kvm-1.0.1.ebuild, qemu-kvm-1.0.1-r1.ebuild, qemu-kvm-1.1.0.ebuild,
- qemu-kvm-1.1.1-r1.ebuild, qemu-kvm-9999.ebuild:
- sys-apps/seabios -> sys-firmware/seabios, sys-apps/vgabios ->
- sys-firmware/vgabios, sys-apps/sgabios -> sys-firmware/sgabios
-
- 28 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Disable the guest agent since we now have app-emulation/qemu-guest-agent for
- that.
-
- 22 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Use packaged sgabios instead of what QEMU ships with.
-
- 21 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.1-r1.ebuild,
- qemu-kvm-9999.ebuild:
- Use the Gentoo provided seabios and vgabios instead of the shipped versions.
-
- 21 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild,
- qemu-kvm-1.1.1-r1.ebuild, qemu-kvm-9999.ebuild:
- Fix seabios dependency.
-
- 21 Jul 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-1.0-r3.ebuild:
- Remove older version
-
-*qemu-kvm-1.1.1-r1 (21 Jul 2012)
-
- 21 Jul 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-1.1.1.ebuild,
- +qemu-kvm-1.1.1-r1.ebuild:
- Fix issue where compilation would fail for certain softmmu targets. bug
- #425418
-
-*qemu-kvm-1.1.1 (16 Jul 2012)
-
- 16 Jul 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.1.1.ebuild:
- Version bump.
-
- 10 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Update to latest version. Fix --enable-vnc-thread as its documented in the
- ebuild source. bug #425654
-
- 10 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild:
- Attempt to better handle the case when we can't have PIE enabled, which is
- when GCC was built with USE=nopie or when USE=static is enabled. bug #425662
-
- 10 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild:
- Fix 'virtfs' USE flag to correctly depend on sys-libs/libcap and not depend
- on kernel features which aren't necessary on the host. Add USE flag for
- libcap-ng usage called 'cap'. bug #425476
-
- 10 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild,
- metadata.xml:
- Add a virtfs USE flag to control VirtFS via 9p support. bug #425476
-
- 10 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> qemu-kvm-1.1.0.ebuild,
- qemu-kvm-9999.ebuild:
- Fix typos that caused spurious warnings. Thanks to Juergen Rose for reporting
- bug #425298.
-
- 09 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild,
- qemu-kvm-9999.ebuild:
- Docs are only created when USE=doc. bug #425402
-
- 09 Jul 2012; Justin Lecher <jlec@gentoo.org> qemu-kvm-1.1.0.ebuild:
- Remove unnessecary die's
-
- 08 Jul 2012; Doug Goldstein <cardoe@gentoo.org> +files/65-kvm.rules,
- qemu-kvm-1.1.0.ebuild, qemu-kvm-9999.ebuild:
- More ebuild cleanups and work. Ready for unmasking.
-
- 08 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild:
- Add the backports tarball to the ebuild
-
- 08 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Update the live ebuild to the latest version
-
- 08 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild,
- metadata.xml:
- Fix a number of outstanding qemu/qemu-kvm bugs as well as cleanup the ebuild.
-
- 07 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0.1-r1.ebuild,
- +files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch:
- Add Gentoo/FreeBSD support. bug #421399
-
- 07 Jul 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.1.0.ebuild:
- Remove qemu-ifup as its gone and it was deprecated last release.
-
-*qemu-kvm-1.1.0 (03 Jul 2012)
-
- 03 Jul 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.1.0.ebuild:
- Version bump for qemu-kvm 1.1.0. This is an initial testing version.
-
- 31 May 2012; Zac Medico <zmedico@gentoo.org> qemu-kvm-0.15.1-r1.ebuild,
- qemu-kvm-1.0-r3.ebuild, qemu-kvm-1.0.1-r1.ebuild, qemu-kvm-1.0.1.ebuild,
- qemu-kvm-9999.ebuild:
- tweak git-2 inherit so repoman can parse it, and inherit user for enewgroup
-
-*qemu-kvm-1.0.1-r1 (29 May 2012)
-
- 29 May 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.0.1-r1.ebuild,
- +files/qemu-kvm-1.0.1-VERSION.patch:
- Fix the version number reported by qemu-kvm to be 1.0.1 instead of 1.0,1 to
- fix bug #418035
-
- 25 May 2012; Sergei Trofimovich <slyfox@gentoo.org> qemu-kvm-9999.ebuild:
- Drop '--disable-darwin-user' from configure params. Upstream does not export
- it anymore. Bug #417273 by Stevan Bajić.
-
- 09 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> qemu-kvm-1.0-r3.ebuild,
- qemu-kvm-1.0.1.ebuild:
- x86 stable; security bug #373997, bug #415069
-
- 09 May 2012; Agostino Sarubbo <ago@gentoo.org> qemu-kvm-1.0.1.ebuild:
- Stable for amd64, wrt bug #415069
-
- 03 May 2012; Jeff Horelick <jdhore@gentoo.org> qemu-kvm-0.15.1-r1.ebuild,
- qemu-kvm-1.0-r3.ebuild, qemu-kvm-1.0.1.ebuild, qemu-kvm-9999.ebuild:
- dev-util/pkgconfig -> virtual/pkgconfig
-
- 28 Apr 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0.1.ebuild:
- Fix issue with the PPC system targets. bug #413487
- Add epatch_user during the src_prepare phase allowing people to apply patches
- Default enewgroup to gid 78 as part of GLEP 27.
-
-*qemu-kvm-1.0.1 (23 Apr 2012)
-
- 23 Apr 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.0.1.ebuild:
- Version bump
-
- 18 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
- qemu-kvm-0.15.1-r1.ebuild, qemu-kvm-1.0-r3.ebuild, qemu-kvm-9999.ebuild,
- metadata.xml:
- Remove USE="esd" because media-sound/esound isn't in tree anymore.
-
- 15 Mar 2012; Agostino Sarubbo <ago@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Stable for amd64, wrt bug #373997
-
- 13 Mar 2012; Sergei Trofimovich <slyfox@gentoo.org>
- -files/qemu-kvm-9999-fix-nonkvm-arches.patch, qemu-kvm-9999.ebuild:
- Drop outdated patch.
-
- 08 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Only warn about the lack of kvm-amd or kvm-intel on amd64 and x86.
-
- 08 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Prefix with spaces rather than suffix for wrapped lines cause #gentoo-dev
- likes it better.
-
- 08 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Remove the backslash gluing which was causing odd spacing. Make KVM optional
- in the kernel for mgorny.
-
- 08 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Warn about KVM_INTEL and KVM_AMD and don't require both to be present bug
- #407377
-
- 07 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Switch to EAPI=4 so we don't have to depend on a newer sys-libs/zlib for the
- USE=static-libs option on sys-libs/zlib.
-
- 06 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Add support for Prefix. bug #407193
-
- 06 Mar 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-1.0-r2.ebuild:
- Remove older revision.
-
- 06 Mar 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild,
- metadata.xml:
- Enable curl USE flag by default since HTTP/HTTPS ISOs are a feature people
- are often confused why it doesn't just work and there is poor docs behind how
- to enable it since all distros ship with it on by default.
-
- 25 Feb 2012; Mike Gilbert <floppym@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Fix zlib dep.
-
- 25 Feb 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0-r3.ebuild:
- Initial attempt to support static builds.
-
- 19 Feb 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.14.1-r2.ebuild:
- Drop older version
-
-*qemu-kvm-1.0-r3 (19 Feb 2012)
-
- 19 Feb 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.0-r3.ebuild,
- metadata.xml:
- Major overhaul to the qemu-kvm ebuild to clean up depends, messages, and
- support for missing features.
-
- 16 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- qemu-kvm-0.15.1-r1.ebuild:
- x86 stable wrt bug #399221
-
- 11 Feb 2012; Doug Goldstein <cardoe@gentoo.org> Manifest:
- Enable a few USE flags by default since users will really want this on by
- default and they usually don't select it. We already pull in the depends
- through other packages we depend on as well.
-
- 11 Feb 2012; <cardoe@gentoo.org> qemu-kvm-1.0-r2.ebuild:
- Enable a few USE flags by default since users will really want this on by
- default and they usually don't select it. We already pull in the depends
- through other packages we depend on as well.
-
- 30 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
- files/qemu-kvm-9999-fix-nonkvm-arches.patch, qemu-kvm-9999.ebuild:
- Update patch against current upstream.
-
- 29 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org> qemu-kvm-9999.ebuild:
- Respect user's decision whether to generate debug info when build stuff
- (related to bug #355861 by Andrew Savchenko). Drop outdated seding of
- Makefiles.
-
-*qemu-kvm-1.0-r2 (25 Jan 2012)
-
- 25 Jan 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-1.0.ebuild,
- -qemu-kvm-1.0-r1.ebuild, +qemu-kvm-1.0-r2.ebuild,
- +files/qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch:
- Fix for bug #400595 / CVE-2012-0029.
-
- 25 Jan 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.15.0.ebuild:
- Drop 0.15.0 since we favor 0.15.1 over it.
-
-*qemu-kvm-1.0-r1 (25 Jan 2012)
-
- 25 Jan 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.0-r1.ebuild,
- qemu-kvm-9999.ebuild:
- Switch from using shipped pre-compiled vgabios binary blobs to building them
- ourselves on x86 and amd64. Still need a solution for non-x86 platforms.
-
- 24 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
- +files/qemu-kvm-1.0-per-target-i8259.patch, qemu-kvm-1.0.ebuild:
- Unbreak KVM targets (breakage caused by qemu-kvm-1.0-fix-nonkvm-arches.patch).
- Fixes bug #400597 reported by Marc Schiffbauer.
-
- 23 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org> +files/qemu-ifup,
- metadata.xml, qemu-kvm-9999.ebuild:
- Restored USE="opengl qemu-ifup"; added USE="usbredir".
-
- 22 Jan 2012; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm-9999] Whitespace changes.
-
- 22 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org> qemu-kvm-0.14.1-r2.ebuild,
- qemu-kvm-0.15.0.ebuild, qemu-kvm-0.15.1-r1.ebuild, qemu-kvm-1.0.ebuild:
- Backport xen vs. xen-tools depend to older ebuilds. Fixes bug #389727 by Ian
- Delaney.
-
- 22 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
- +files/qemu-kvm-1.0-fix-qemu-system-ppc.patch, qemu-kvm-1.0.ebuild:
- Fix build failure of qemu-system-ppc* targets.
-
- 22 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
- +files/qemu-kvm-1.0-fix-nonkvm-arches.patch,
- +files/qemu-kvm-9999-fix-nonkvm-arches.patch, qemu-kvm-1.0.ebuild,
- qemu-kvm-9999.ebuild:
- Fix build failure on non-KVM targets.
-
- 22 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
- +files/65-gentoo-kvm.rules, qemu-kvm-9999.ebuild:
- Updated live ebuild. Synced with qemu ebuild: fixed USE=xen depend; dropped
- USE="opengl qemu-ifup"; fixed udev rule installation; added more targets from
- upstream.
-
- 20 Jan 2012; Agostino Sarubbo <ago@gentoo.org> qemu-kvm-0.15.1-r1.ebuild:
- Stable for amd64, wrt bug #399221
-
- 17 Jan 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.13.0-r2.ebuild:
- Remove old version
-
- 17 Jan 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Update the live ebuild with the latest updates. bug #394623
-
- 17 Jan 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.15.0.ebuild,
- qemu-kvm-0.15.1-r1.ebuild, qemu-kvm-1.0.ebuild:
- Since version 0.15.0, we always need dev-util/pkgconfig installed. bug
- #386937
-
- 17 Jan 2012; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-1.0.ebuild:
- Install the udev files into the correct path. bug #393337
-
-*qemu-kvm-1.0 (17 Jan 2012)
-
- 17 Jan 2012; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-1.0.ebuild:
- Version bump. Based on ebuild from Alphat-PC <alphatpc@gmail.com>
-
- 04 Dec 2011; Markos Chandras <hwoarang@gentoo.org> qemu-kvm-0.14.1-r2.ebuild:
- Stable on amd64 wrt bug #364889
-
- 21 Nov 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-0.15.1-r1.ebuild, qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm] Sync 0.15.1-r1 and 9999 ebuilds
-
- 16 Nov 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> ChangeLog:
- [app-emulation/qemu-kvm-9999] Revert to the old kernel.org repository.
-
-*qemu-kvm-0.15.1-r1 (25 Oct 2011)
-
- 25 Oct 2011; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.15.1.ebuild,
- +qemu-kvm-0.15.1-r1.ebuild:
- Fix bad BIOS symlink.
-
- 24 Oct 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.15.1.ebuild:
- Add 2nd argument to dosym. bug #388039
-
- 22 Oct 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.15.1.ebuild:
- Only depend on sys-apps/seabios on x86 & amd64 since it will only compile
- there. Use the shipping binary for ppc & ppc64 so we can re-support those
- arches. I'll have to figure out a permenant solution for this.
-
- 22 Oct 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.15.1.ebuild:
- inherit python eclass so that we can set the active version to 2.x since
- qemu-kvm doesn't work with 3.x. bug #379015
-
- 21 Oct 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-0.15.1.ebuild, qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm] Restore the use of Avi Kivity's git repo until
- kernel.org is up again.
-
-*qemu-kvm-0.15.1 (21 Oct 2011)
-
- 21 Oct 2011; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.15.1.ebuild:
- Version bump. Switch to using the seabios package. Slowly we'll be replacing
- all the blobs with built ones.
-
- 21 Oct 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm-9999] Use Avi Kivity's git repo until kernel.org is
- up again.
-
- 27 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- qemu-kvm-0.14.1-r2.ebuild:
- x86 stable wrt security bug #364889
-
- 14 Aug 2011; Diego E. Pettenò <flameeyes@gentoo.org> qemu-kvm-0.15.0.ebuild:
- Fix build with nss enabled and --as-needed. Closes bug #379149.
-
- 14 Aug 2011; Diego E. Pettenò <flameeyes@gentoo.org> qemu-kvm-0.15.0.ebuild,
- qemu-kvm-9999.ebuild, metadata.xml:
- Also add an xattr USE flag to avoid automagic dependency over sys-apps/attr.
-
- 14 Aug 2011; Diego E. Pettenò <flameeyes@gentoo.org> qemu-kvm-0.15.0.ebuild,
- qemu-kvm-9999.ebuild, metadata.xml:
- Avoid automagic dependency over nss for the new smartcard feature; see bug
- #379149.
-
- 12 Aug 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.15.0.ebuild,
- qemu-kvm-9999.ebuild:
- Fix up depends
-
- 11 Aug 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-9999.ebuild:
- Update the 9999 ebuild to gain all the improvements from past updates.
-
-*qemu-kvm-0.15.0 (11 Aug 2011)
-
- 11 Aug 2011; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.15.0.ebuild:
- Version bump
-
- 22 Jul 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.14.1-r2.ebuild:
- Refactor the way that SoftMMU targets are enabled by default and detect which
- ones users have on. This fixes bug #375957 and #375949.
-
- 21 Jul 2011; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.14.1-r1.ebuild:
- Remove old version
-
-*qemu-kvm-0.14.1-r2 (21 Jul 2011)
-
- 21 Jul 2011; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.14.1-r2.ebuild:
- Fix for qxl/spice support. Fix for CVE-2011-2212 & CVE-2011-2512. Drop the
- number of targets we build by default to just the minimal for qemu-kvm. bug
- #372411, bug #372691
-
- 11 Jun 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.14.1-r1.ebuild:
- Make USE=vhost-net the default. bug #370939
-
- 09 Jun 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.14.1-r1.ebuild:
- Remove USE=static, since its depends can not be expressed with current EAPIs
-
- 08 Jun 2011; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.14.1-r1.ebuild:
- Fix USE=debug builds
-
-*qemu-kvm-0.14.1-r1 (31 May 2011)
-
- 31 May 2011; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.14.1.ebuild,
- +qemu-kvm-0.14.1-r1.ebuild:
- Fix not installing udev rules and qemu-kvm symlink. bug #369187 & bug #369427
-
- 27 May 2011; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.12.5-r1.ebuild,
- -qemu-kvm-0.13.0-r1.ebuild:
- Remove old versions
-
-*qemu-kvm-0.14.1 (27 May 2011)
-
- 27 May 2011; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.14.1.ebuild:
- Version bump. Contains a fix for CVE-2011-1750 & CVE-2011-1751. Adds new USE
- flags for additional features in 0.14.x and previously unexposed debug
- options and vnc-threads
-
- 28 Mar 2011; Diego E. Pettenò <flameeyes@gentoo.org>
- qemu-kvm-0.12.5-r1.ebuild, qemu-kvm-0.13.0-r1.ebuild,
- qemu-kvm-0.13.0-r2.ebuild, qemu-kvm-9999.ebuild:
- Install udev files in /lib/udev (and multilib equivalents). No revision
- bumps, as it's a minor change.
-
- 21 Jan 2011; Tiziano Müller <dev-zero@gentoo.org> qemu-kvm-9999.ebuild,
- metadata.xml:
- spice (resp. the QXL graphics device) support has been finally merged at
- qemu-upstream, added a USE flag for it. Added USE flags to toggle vhost-net
- support (which requires newer kernel-headers) and rados block device storage
- backend support.
-
- 17 Jan 2011; Jory A. Pratt <anarchy@gentoo.org> qemu-kvm-0.13.0-r1.ebuild,
- qemu-kvm-0.13.0-r2.ebuild, qemu-kvm-9999.ebuild:
- convert to virtual/jpeg instead of forcing media-libs/jpeg
-
- 05 Jan 2011; Markos Chandras <hwoarang@gentoo.org> qemu-kvm-0.13.0-r2.ebuild:
- Stable on amd64 wrt bug #346681
-
- 25 Nov 2010; Christian Faulhammer <fauli@gentoo.org>
- qemu-kvm-0.13.0-r2.ebuild:
- stable x86, bug 346681
-
-*qemu-kvm-0.13.0-r2 (03 Nov 2010)
-
- 03 Nov 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- -qemu-kvm-0.11.1-r1.ebuild,
- -files/qemu-kvm-0.12.2-virtio-large-iovecs.patch,
- -qemu-kvm-0.12.3-r1.ebuild, -qemu-kvm-0.12.4-r1.ebuild,
- -files/qemu-kvm-0.12.4-large-virtio-corruption.patch,
- -qemu-kvm-0.13.0.ebuild, qemu-kvm-0.13.0-r1.ebuild,
- +qemu-kvm-0.13.0-r2.ebuild, metadata.xml:
- Fixed the non installation of binaries due to a bad variable declaration -
- bug 343951.
- Updated dtc dep to fix the build failures on amd64 - bug 339044.
- Restricted parallel build until we fix it - bug 343175.
- Dropped old ebuilds and files.
-
-*qemu-kvm-0.13.0-r1 (02 Nov 2010)
-
- 02 Nov 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- -files/qemu-kvm-0.12.1-kvm_save_mpstate-workaround.patch,
- -qemu-kvm-0.12.5.ebuild, +qemu-kvm-0.13.0-r1.ebuild, qemu-kvm-9999.ebuild,
- +files/qemu-kvm-guest-hang-on-usb-add.patch:
- Synced the qemu-kvm-0.13.0-r1 ebuild with qemu-kvm-9999 ebuild.
- Added missing jpeg and png use flags. Dropped the non-existent kvm-trace
- use flag - fixes bug 343317.
- Moved some checks from pkg_setup to src_configure. Applied the fix to the
- $(prefix)/etc issue.
- Dropped unused qemu-kvm-0.12.1-kvm_save_mpstate-workaround.patch file -
- fixes bug 340727.
- Included patch file to fix issues with usb, bug 337988 , but won't use it
- until upstream commits it to the git tree or gives an ok.
- Dropped old version.
-
-*qemu-kvm-0.13.0 (28 Oct 2010)
-
- 28 Oct 2010; Luca Barbato <lu_zero@gentoo.org> +qemu-kvm-0.13.0.ebuild:
- New version, user targets support improved
-
- 06 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm-9999] Synced to latest qemu-kvm-0.12.5-r1.
- Sorted IUSE flags.
-
- 06 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-0.12.5-r1.ebuild, metadata.xml:
- [app-emulation/qemu-kvm-0.12.5-r1] Synced the updates on qemu-kvm-9999.
- Applied the gnutls to ssl use flag change - fixes bug 311627.
-
- 06 Sep 2010; Luca Barbato <lu_zero@gentoo.org> qemu-kvm-0.12.5-r1.ebuild:
- Fix typo in brltty vs brlapi
-
- 06 Sep 2010; Patrick Lauer <patrick@gentoo.org> qemu-kvm-0.12.5-r1.ebuild:
- Removing keywords from 0.12.5-r1 until it is fixed. See #336162
-
- 06 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm-9999] Updated ebuild to reflect changes in
- upstream's build system.
- Added use flags to enable jpeg and png compression on vnc.
- Replaced gnu-tls with ssl use flag - bug 311627.
- Added use flag to make accessbility support optional - bug 326491.
- Currently it seems qemu-kvm won't build with -sasl - will check and
- updated ebuild soon.
-
- 06 Sep 2010; Luca Barbato <lu_zero@gentoo.org> qemu-kvm-0.12.5-r1.ebuild,
- qemu-kvm-9999.ebuild:
- Add dep for brltty, see #326491
-
-*qemu-kvm-0.12.5-r1 (26 Aug 2010)
-
- 26 Aug 2010; Doug Goldstein <cardoe@gentoo.org>
- +qemu-kvm-0.12.5-r1.ebuild:
- Fix a few IDE issues related to the -drive option. fixes #332993
-
- 12 Aug 2010; Tiziano Müller <dev-zero@gentoo.org>
- qemu-kvm-0.11.1-r1.ebuild, qemu-kvm-0.12.3-r1.ebuild,
- qemu-kvm-0.12.4-r1.ebuild, qemu-kvm-0.12.5.ebuild, qemu-kvm-9999.ebuild:
- Disallow parallel installation with qemu-kvm-spice.
-
- 05 Aug 2010; Doug Goldstein <cardoe@gentoo.org> -qemu-kvm-0.11.1.ebuild,
- -qemu-kvm-0.12.3.ebuild, -qemu-kvm-0.12.4.ebuild,
- -qemu-kvm-0.12.4-r2.ebuild, -qemu-kvm-0.12.4-r3.ebuild,
- qemu-kvm-0.12.5.ebuild:
- Remove older versions. Remove versions with broken epatch line. Fix epatch
- line for future versions
-
-*qemu-kvm-0.12.5 (27 Jul 2010)
-
- 27 Jul 2010; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.12.5.ebuild:
- bump for upstream release
-
-*qemu-kvm-0.12.4-r3 (20 Jul 2010)
-
- 20 Jul 2010; Doug Goldstein <cardoe@gentoo.org>
- +qemu-kvm-0.12.4-r3.ebuild:
- Missed an upstream patch for bug #325209 in the -r2 version
-
-*qemu-kvm-0.12.4-r2 (20 Jul 2010)
-
- 20 Jul 2010; Doug Goldstein <cardoe@gentoo.org>
- +qemu-kvm-0.12.4-r2.ebuild:
- Pull in a lot of stable patches from upstream stable repos.
-
- 30 Jun 2010; Harald van Dijk <truedfx@gentoo.org> qemu-kvm-0.11.1.ebuild,
- qemu-kvm-0.11.1-r1.ebuild, qemu-kvm-0.12.3.ebuild,
- qemu-kvm-0.12.3-r1.ebuild, qemu-kvm-0.12.4.ebuild,
- qemu-kvm-0.12.4-r1.ebuild, qemu-kvm-9999.ebuild:
- Fix quoting
-
-*qemu-kvm-0.12.4-r1 (15 Jun 2010)
-
- 15 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
- +qemu-kvm-0.12.4-r1.ebuild,
- +files/qemu-kvm-0.12.4-large-virtio-corruption.patch:
- Fix issue with large virtio disks getting corrupted. bug #321005
-
- 12 Jun 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild:
- [app-emulation/qemu-kvm-9999] Restricted targets to x86_64-softmmu after
- upstream informed that's the only supported target for qemu-kvm.
- Should fix bug 317205 and bug 318413.
-
-*qemu-kvm-0.12.4 (18 May 2010)
-
- 18 May 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -qemu-kvm-0.12.2-r2.ebuild, +qemu-kvm-0.12.4.ebuild:
- Version bump
-
-*qemu-kvm-0.12.3-r1 (03 Apr 2010)
-
- 03 Apr 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- +qemu-kvm-0.12.3-r1.ebuild,
- +files/qemu-kvm-0.12.3-fix-crash-with-sdl.patch,
- +files/qemu-kvm-0.12.3-include-madvise-defines.patch:
- Include madvise defines, fixes bug 305785, include virtio-large-iovecs
- patch, fixes bug 308451, include upstream fix for crash with sdl as
- default sound option, fixes sound issues of bug 294269
-
- 28 Mar 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild, -files/qemu-kvm-9999-sysconfigdir.patch:
- Remove the sysconfigdir patch from qemu-kvm-9999 as the fix was applied
- upstream.
- Fixes bug 310979 - thanks to Jeff Kowalczyk <jtk@yahoo.com>.
-
- 19 Mar 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- qemu-kvm-0.12.2-r2.ebuild, qemu-kvm-0.12.3.ebuild:
- Also add warning and dont install useless files without
- QEMU_SOFTMMU_TARGETS=x86_64
-
- 19 Mar 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- qemu-kvm-0.12.2-r2.ebuild, qemu-kvm-0.12.3.ebuild:
- Die, when nothing from QEMU_SOFTMMU_TARGETS is defined, fixes bug 310243
-
- 10 Mar 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- qemu-kvm-0.12.2-r2.ebuild:
- Also apply changes to 0.12.2-r2
-
- 10 Mar 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -qemu-kvm-0.12.1.ebuild, -qemu-kvm-0.12.1.1.ebuild,
- -qemu-kvm-0.12.1.2.ebuild, -qemu-kvm-0.12.2.ebuild,
- -qemu-kvm-0.12.2-r1.ebuild, qemu-kvm-0.12.3.ebuild:
- Add message, if no targets are defined (bug #298287), some cleanup, remove
- older 0.12* versions
-
- 07 Mar 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-9999.ebuild, +files/qemu-kvm-9999-sysconfigdir.patch:
- Added a patch to fix the support for --sysconfdir and updated
- src_configure to prevent the default $prefix/etc.
-
-*qemu-kvm-0.12.3 (02 Mar 2010)
-
- 02 Mar 2010; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.12.3.ebuild,
- qemu-kvm-9999.ebuild, metadata.xml:
- version bump. fix bug #304097 in the process
-
-*qemu-kvm-0.12.2-r2 (15 Feb 2010)
-
- 15 Feb 2010; Doug Goldstein <cardoe@gentoo.org>
- +qemu-kvm-0.12.2-r2.ebuild, qemu-kvm-9999.ebuild:
- Correct building with the right compiler (tc-getBUILD_CC). Fix issue with
- executable stacks by passing correct LDFLAGS option. Add support for
- static builds. Fix issue with fdt being disabled, bug #297909
-
- 12 Feb 2010; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.11.1.ebuild,
- qemu-kvm-0.11.1-r1.ebuild, qemu-kvm-0.12.1.ebuild,
- qemu-kvm-0.12.1.1.ebuild, qemu-kvm-0.12.1.2.ebuild,
- qemu-kvm-0.12.2.ebuild, qemu-kvm-0.12.2-r1.ebuild:
- add missing depend on sys-apps/iproute2 and net-misc/bridge-utils for the
- qemu/ifup script
-
-*qemu-kvm-0.11.1-r1 (08 Feb 2010)
-
- 08 Feb 2010; Lance Albertson <ramereth@gentoo.org>
- +qemu-kvm-0.11.1-r1.ebuild:
- Add 'kvm' symlink so that other applications can still use it for
- portability
-
-*qemu-kvm-0.12.2-r1 (03 Feb 2010)
-
- 03 Feb 2010; Doug Goldstein <cardoe@gentoo.org>
- +qemu-kvm-0.12.2-r1.ebuild,
- +files/qemu-kvm-0.12.2-virtio-large-iovecs.patch:
- upstream fix for virtio and certain use cases. Fixes issues people have
- seen with Ubuntu 10.04 guests and other distros
-
-*qemu-kvm-0.12.2 (21 Jan 2010)
-
- 21 Jan 2010; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.12.2.ebuild,
- -qemu-kvm-0.12.2.build:
- fix awesome typo
-
- 20 Jan 2010; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.12.2.build:
- version bump
-
-*qemu-kvm-0.12.1.2 (31 Dec 2009)
-
- 31 Dec 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-0.12.1.1.ebuild, +qemu-kvm-0.12.1.2.ebuild, qemu-kvm-9999.ebuild:
- Version bump.
-
-*qemu-kvm-9999 (30 Dec 2009)
-
- 30 Dec 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
- qemu-kvm-0.12.1.1.ebuild, +qemu-kvm-9999.ebuild:
- Added live qemu-kvm ebuild and sorted 0.12.1.1 deps.
-
- 29 Dec 2009; Christian Faulhammer <fauli@gentoo.org> metadata.xml:
- Write out acronym ftd, as requested on bug 298906 by Michael Orlitzky
- <michael AT orlitzky DOT com>
-
- 23 Dec 2009; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.12.1.ebuild,
- qemu-kvm-0.12.1.1.ebuild:
- Xen backend support is broken in this release. Upstream is looking into
- it.
-
-*qemu-kvm-0.12.1.1 (22 Dec 2009)
-
- 22 Dec 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- +qemu-kvm-0.12.1.1.ebuild:
- Version bump
-
- 21 Dec 2009; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.12.1.ebuild:
- Add Linux Async IO support. Add curl support for live migrations. Add back
- support for fdt. Add support for KVM trace. Enable experimental support
- for Xen backend. Use libuuid to generate proper uuid's. Fix compile failure
- when missing paxctl. No longer require kernel to be present to build.
-
-*qemu-kvm-0.12.1 (21 Dec 2009)
-
- 21 Dec 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -qemu-kvm-0.11.0.ebuild, +qemu-kvm-0.12.1.ebuild,
- +files/qemu-kvm-0.12.1-kvm_save_mpstate-workaround.patch:
- Version bump, drop old version
-
- 18 Dec 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- qemu-kvm-0.11.1.ebuild:
- Comment out pie and stack-protector filtering, remove with next version,
- if there are no complains
-
- 15 Dec 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
- change to qemu herd
-
-*qemu-kvm-0.11.1 (09 Dec 2009)
-
- 09 Dec 2009; Luca Barbato <lu_zero@gentoo.org> +qemu-kvm-0.11.1.ebuild:
- Version Bump
-
- 22 Nov 2009; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.11.0.ebuild:
- fix bug #291007 and install the ifup and ifdown scripts in the correct
- locations
-
- 22 Nov 2009; Doug Goldstein <cardoe@gentoo.org> qemu-kvm-0.11.0.ebuild:
- fix auto-magical depend against sasl
-
-*qemu-kvm-0.11.0 (22 Nov 2009)
-
- 22 Nov 2009; Doug Goldstein <cardoe@gentoo.org> +qemu-kvm-0.11.0.ebuild,
- +files/qemu-0.11.0-mips64-user-fix.patch, +metadata.xml:
- add initial ebuild based on qemu-0.11.0
diff --git a/app-emulation/qemu-kvm/Manifest b/app-emulation/qemu-kvm/Manifest
deleted file mode 100644
index 6f52c70cc1cd..000000000000
--- a/app-emulation/qemu-kvm/Manifest
+++ /dev/null
@@ -1,32 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX 65-kvm.rules 40 SHA256 c16a8dc7855880b2651f1a3ff488ecc54d4ac1036c71fffd5007021d8d18a7c5 SHA512 98aad2a2f212a7ac0ee5b60a9c92744fa462bce5f26594845c7a31d692aaaca2d52cb57bdbede7dfc60b9862c2a6510665dbb03215d5cf76e62516a283decdd6 WHIRLPOOL 937de93a23930f6b8533f0c3e0dd249c99ddf7d54446dea857607266ac0a4b435c5b4a52b2986b138bace9c0a7ade66f94116b38e2bc4767ead54bd11baf0920
-AUX qemu-0.11.0-mips64-user-fix.patch 313 SHA256 b4173fc177bd0d0ba67f5551a3512047a19a9b2c0a122f968e32fbd834848d2f SHA512 ca7f92b7d094ed62c15e539ac760aab50255699edfd6faf2bc017e13fb73da66f455c07999c6ee6a1f2196b7c0a2e2caa6c7a584be22d04717d1abea08781dbf WHIRLPOOL 2eb95b7dd79e30ecd4b50a4901553866180c0022760cb1e425bb23f14411ef84356db00eca593230d8fc204f5f5b724567d051fad299a8d6bdb81a346bfa7436
-AUX qemu-ifup 138 SHA256 a43d8bc11049589e57ce417b6030a216fd04621581a2c7247c69292c51e53c2a SHA512 3b1040db210455e3d18c19e91ecf97c0289c9723c6c2392fe4f94c6924aa2d329f83a469661d2820229ff87a89ed29b8813b5dcd97dbcd33801e6c81069221c7 WHIRLPOOL 4a7ba5858c3f438ec9ab677afc547fab2e4b1fdefce5b77fbb47ae903c4d9718274ab653d79c8ccac979c58e65113e6cccb27f37c9c1ee759be1ecab45ea50c2
-AUX qemu-kvm 60 SHA256 ded08eb1c74a9581912a9ca7876de6f33d1c545ed2a7d275f9b1749539feb7ee SHA512 d973d70ffeb7f4cdc61b25a30bf7174ac05b8c136234478782367a16668ff617756e9862a9cd94acd4b6636fda36410762e069a2eccca99410aa6e3b4294e363 WHIRLPOOL 41937bf752a2f643085fbd04643fb7a5cb898fabe8625d80b730c9e930f48f8d63245d5acdffbe31ecede1e1eb83fd3a73aad925f020e5c016f1b6559e7426d3
-AUX qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch 1412 SHA256 9a06665c47b76b2501f148713c46f8ce0b14ed03da5e6cb03c0d141f5d91900a SHA512 ce0cb894819ff4a97de54a0f8935a8311f563c3ef4f7b71f15d83f333481febce947697430db92bf3fe95fbbc921312cb163bc6f214d1cf7c4275d4c4d331587 WHIRLPOOL a526113ef51e6d65ba01db9a8310a161f857b80672a588b52d468540d4ee715b378164ca6c1b7eac68b359895a7b938df67f2a68fc7f2d44ac9d804f7e0afa1d
-AUX qemu-kvm-1.0-fix-nonkvm-arches.patch 742 SHA256 3f2bf2def429453a8a9adbc2adf9d4f2e1d4c1f505ce0ade8f3810b74c281f02 SHA512 238e8d59f7464daf0ad3edfa664ed4fb0070d707c3d4bbc29ae2b75c1e1cd6f4c351c484d8ce9e0ee1f9726c6ead22b35e0ef7aaf9fd3ac633938f39ceb42299 WHIRLPOOL 2d22e17a529d2b4f55c0ade5765824f723ee324a849872457a7afb2d3645855e71ce32a9dcbbece5f6e09852f261bd6865684e250cb2e776f46c2b90c5273607
-AUX qemu-kvm-1.0-fix-qemu-system-ppc.patch 1071 SHA256 22a9e989806477e943a09a3ada01c9a6a739d3fdcf6226275c064db1037cb02f SHA512 f911f82635f6197998257f8d6d09904ab4d16b9b7c5c0ff1cfa1250e6c3502ea11757284c674e387c617a9a097916b0bcc581edfb09628c9008090ff9882bdf8 WHIRLPOOL 662126f85ce6873623319cad4c5717d331b02f98dfaa21905340737d682cd7eed24a136987b52805d772b0d94799c898a31a862777f749b1798640e4227ffa4e
-AUX qemu-kvm-1.0-per-target-i8259.patch 2765 SHA256 42b5905f4e2f0bb5bcdca1e14a669941c2d70ffb1e0b6969b69fc4435772abb2 SHA512 ea323af4f2612fc84f15f69210cef4433c0b29719dc673c28a5175c0267fd77cd6e696c059e5f058965c66a3058988332ea3216b5b6e48851ad61835e22cd3fd WHIRLPOOL 47f63d08749443d2a2c6af06ccfcf158839162d33a41ce9b1d1a3885aa0b0127edec313fde8281a0ad2453a9ae9618de1ff6636afb077b8dce496cdc24815dc0
-AUX qemu-kvm-1.0.1-VERSION.patch 115 SHA256 568ee593587ea4c6cdd2c57e607deda256ff848b4230733591ce9f045b5030bd SHA512 971ad15cc7b2b06384969c52eee13213c11bf5ba91f46a281519415921a3d10b765f2e2be2f3e6aebdbce1feaca55214bd82e8499ed48b586a931aec4716b1ef WHIRLPOOL 85d85953e00d32d850343887b073131e453afaf60e45e4837b34bb931d6b74ad90a83935e8daa105060d8e1b726df695dd0dc6fd68b98b2ab60fb019b768040b
-AUX qemu-kvm-1.0.1-freebsd-sysctl-header.patch 278 SHA256 af207d21f361d3eecdef6599eec7bad7655bd184f56df6e8bb87c83e8a0215e5 SHA512 c093f04295b8c70da7bd00316cdfb041ef15b0eb5a7ed4d6ceff2d46931328e31728378977b3a0fad1337a5bcd876831b0a0d0e1ad349bb720efb400490265f5 WHIRLPOOL a6845b705cd6a5b3a6ffebab68bd40850ef8dba4ab59a4bc240792761700603ea69e89fcdb1644071550a93cb0b4ce14a337a8fc28b4a4ea249e433b68f36a2d
-AUX qemu-kvm-9999-fix-mipsen.patch 684 SHA256 e4e9695c091d3b8ffc1afb24c3d59fc61bb08bdb3e25b7be5a36d0b327ba4b55 SHA512 25c3b6ce6140cca2ed76ca75d623730c78873f8e5b53d9f80362df376effd7755b41420d55ec19dd652b47f2c6aea01e2cae9dc75952a4ffae871841ba27142c WHIRLPOOL 99d2e15c00d24db9fd7765290efaa6f69bb42f828227e3b5bfe68027b25ddae173c9cdf49b8d84facd8372d911e32a8bd0ed2aa6bdbb083c67d467d93bd29f67
-DIST qemu-kvm-1.0.1.tar.gz 6214796 SHA256 57bcd26342af2303663028db9e9956a8b487babfcf2a432ac3351c88b8e2bf4f SHA512 31f0a8fc2d03a15b7a382a77b67183d792fb765b25241a6b80c14f64fbcd52064392f47bc21da48fc54bdc5b8da70542ddeb47394348304d9bfcf3421eb11b2f WHIRLPOOL febf169830f9c2631f5fcb5d97a9fdd6c138c3455e97243d086fd827776ece16cc70d8a1c787e55dd43ac0c01c2b07c01fc2ec2f74d09ca4efc3be52f7e804b0
-DIST qemu-kvm-1.1.1-bp-1.tar.xz 2908 SHA256 16b7cd2e10b3a05d20006898bcfdb26eb596f7c7d3c0e18fb216cb2b2026af40 SHA512 781eae1fdc1cb7482d3d6fd1cf81e0d565588e3987fc4cab92abc06741b1b57d999b0de1fffce7270f50033b53c5707e4ef477ca3b7ddfca3dc1a432c1e15cc7 WHIRLPOOL 3f80b4cc9902021686bea823a41af136d21dd5a6b8aa59913aeb8697c3a38acc02d92ee59b9d052b6d161830a72d709fe684beb95f756a92216fe79cce4c5d9a
-DIST qemu-kvm-1.1.1-bp-2.tar.xz 5404 SHA256 2cfec58dbeea354664d98f9920d8c41f946f964367fabcaaa931ac3448e9a090 SHA512 5a9ef7b7c6c483cdf8a729ea93a292c6092c385959cab8b8a55e747d853607d6f5494acb7ccec7d9c95f81756e0c1b990f9006524d053e0916abd412068d71c7 WHIRLPOOL 7018baa9bc24d5b280f769d89b2f541ba6bd1fec81870b0c867a8531c5d011e4d4b14f48999dba58d1334afd7798a7675b6e3c3207a9ce6dc9613d1e67b69a3a
-DIST qemu-kvm-1.1.1.tar.gz 6599376 SHA256 c6fab57ccadcad5deb34728623840a0141a0f3c8f29d0c253db577f059c796df SHA512 1106a35212cdac1fe5b043af6754595d03232f22bf74cdab86973759adb3cff2d3d7b42290883d2d99d97d163fe274de0108a05eed906ffdc3349c0631f52492 WHIRLPOOL 4d9b2b788a7f87104032635b3b6e2cd96275b92683e3003510b0951536ed6bcb959959bc7529e3f912a7a2055b5c1710b9310d591a8b443a17a231e5b86f6105
-EBUILD qemu-kvm-1.0.1-r1.ebuild 12233 SHA256 b5d854cea8a5c731c89ebabbac8e3b69349d82914bd375412d30101d348628c1 SHA512 230e3958d3330e09bc961acc89613c39ec2a8be8df90287a38b23df23278e6b43da6dc6457a63bd41a02ba1235dc3a90432bf08787a5b65839c0915fe24325f9 WHIRLPOOL 2e557e377b323e8251f0d35e7895aebd891d7fee2b849fb99e063fd477f6789612fb4ef43cdb2d6cfc152b6d514885cab8c9a769cde5f89ad7dab58d0c14f52d
-EBUILD qemu-kvm-1.0.1.ebuild 11507 SHA256 9ccd5f8ad3e439c863726c4327e45f75c9937614d7d49fe117aafffc4f484e77 SHA512 9286b3c1ab9f2096309167a1f28b74c9ac54bcd7755105e7dc887a39832ea5c7a5cc4dd772ec13066e601dcc0ba5a2b0f6d34e5af5aed6ba879203bbbf4b71bd WHIRLPOOL 9ab18cdf121011986ebe0c9c613fec249f8f764959b0e387d090d32e7748030139a18df3b4d44a13d2d9c10d7e5cac363137fb4d36cb1287ac50dff7672f6f8f
-EBUILD qemu-kvm-1.1.1-r1.ebuild 12015 SHA256 239192ad92cfc39c3e09af2f8c142d92e77d1830b41aa274a7648fe557dcb82f SHA512 39e33d4138290f0d67c7508a64cdd6e6d223fc10709b88a24fbacc4672badb811fd4db144b824cc3ce9ab18b4d84e0be4aa048a195b3d3c2c945af95ca66a7a9 WHIRLPOOL bdf4258ad12b0643e098bcf37e1055cb60a8b404e56c8946b0ab1cf73b652c6f9a0f0f8ed8680c95da4ede2a69389920be35bdb686f2b0ff1ec9610ecf8477c0
-EBUILD qemu-kvm-1.1.1-r3.ebuild 12094 SHA256 7caa78f02640b221e74a000ac7c1ad48632e6b85ae703e5fd6bde90397422d33 SHA512 fdc17c21c6828933735b0060fbe6a72293017687bc533027d3ffeb8832af698f144677d5e1e0a6a1a6f6175bd58d3faaba19cd51b0eda6347719d588a04c9b3e WHIRLPOOL c0063a59810f5e81b1a26f1c182edfb1db26181c2a13c74794fa9f1398020439cbc52d084929358e42083fe5a4774a17f8ec4701c3fb9b2b10f07e32f95f6baa
-EBUILD qemu-kvm-9999.ebuild 12697 SHA256 c84a2e1b9caf86c9bbcd6b1b20b065c0e8a94b14eba0aa1241f156afb739e26d SHA512 8c10e32f6501b528ad343692b19a988fd371f0feec5d45e79ae5612005a1a25b9e4ccdea78ffbe5d615b0c5a08141c3b82ef84f1fd05ea5fcf94a8e6aa41083e WHIRLPOOL ef872fbe747c96c09f1a6edd96ed8d088c427e20f5510fb7b6216e80359d026e45fd611c7fea13ca98c702416aed3a074d1487a905d9d9b3969c52ed4425fa2a
-MISC ChangeLog 31908 SHA256 c11db2f8193138f92d622a58302de6e5ab73b49740092349c11dbd818f401db0 SHA512 59cfef5c2669a6b98c22dfefc5c57cce567714c02ca60d6270d4b4a6b9bbff6248cb234ae8adf5ae15c73533dee34debce086968d64f40da10048102113ed625 WHIRLPOOL 43282d99a2fc9a015c5cc28a429bf1ea02b65a3d1dc1cf938af7a382e094e7db36a504f442d4b2ff90d5678f2cee9e72a9886ebd9db4965d17c3c2c41eb11a68
-MISC metadata.xml 2337 SHA256 b1e73a813ad11b04406255a877894bdfa52967d1cfd1a46338622d85c62d8168 SHA512 0ab3cd05e097cc4711038523121d63a036512e456d192663aee57af17f8f68c214c6ef3166c3a45602cfbd910efa3e57524740ffcde1792c5f9de6564ef24353 WHIRLPOOL 437741e74a6578749afefdf76f5e57a1ceb9e3fe0585cba2512168d9227fd41f429a741dd8602a78bbc7d37df9fd5df04b1c40534775e4cf724c9caa417ea24e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEAREIAAYFAlBezLUACgkQuUQtlDBCeQLZ0QCggwegfETyvL0f01ix+ihUVW87
-fFsAoIa6yT38y+FLp7cKdYBrfAasnYZ4
-=GTR0
------END PGP SIGNATURE-----
diff --git a/app-emulation/qemu-kvm/files/65-kvm.rules b/app-emulation/qemu-kvm/files/65-kvm.rules
deleted file mode 100644
index c2f7317aacca..000000000000
--- a/app-emulation/qemu-kvm/files/65-kvm.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="kvm", GROUP="kvm", MODE="0660"
diff --git a/app-emulation/qemu-kvm/files/qemu-0.11.0-mips64-user-fix.patch b/app-emulation/qemu-kvm/files/qemu-0.11.0-mips64-user-fix.patch
deleted file mode 100644
index c069f898c12d..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-0.11.0-mips64-user-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- qemu-0.11.0.orig/linux-user/main.c 2009-10-23 02:19:57.000000000 +0200
-+++ qemu-0.11.0/linux-user/main.c 2009-10-23 02:47:09.000000000 +0200
-@@ -1469,6 +1469,8 @@
-
- #ifdef TARGET_MIPS
-
-+#define TARGET_QEMU_ESIGRETURN 255
-+
- #define MIPS_SYS(name, args) args,
-
- static const uint8_t mips_syscall_args[] = {
diff --git a/app-emulation/qemu-kvm/files/qemu-ifup b/app-emulation/qemu-kvm/files/qemu-ifup
deleted file mode 100644
index 284b176c19d6..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-ifup
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-switch=$(/sbin/ip route list | awk '/^default / { print $5 }')
-/sbin/ifconfig $1 0.0.0.0 up
-/usr/sbin/brctl addif ${switch} $1
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm b/app-emulation/qemu-kvm/files/qemu-kvm
deleted file mode 100644
index 8273d11c7d46..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec /usr/bin/qemu-system-x86_64 -enable-kvm "$@"
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch b/app-emulation/qemu-kvm/files/qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch
deleted file mode 100644
index bd2bdc7425df..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From d0ed2d2e8e863a9a64c9fc9c08fa68bee546ad00 Mon Sep 17 00:00:00 2001
-From: Anthony Liguori <aliguori@us.ibm.com>
-Date: Mon, 23 Jan 2012 07:30:43 -0600
-Subject: [PATCH 26/26] e1000: bounds packet size against buffer size
-
-Otherwise we can write beyond the buffer and corrupt memory. This is tracked
-as CVE-2012-0029.
-
-Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
----
- hw/e1000.c | 3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/hw/e1000.c b/hw/e1000.c
-index 986ed9c..e164d79 100644
---- a/hw/e1000.c
-+++ b/hw/e1000.c
-@@ -466,6 +466,8 @@ process_tx_desc(E1000State *s, struct e1000_tx_desc *dp)
- bytes = split_size;
- if (tp->size + bytes > msh)
- bytes = msh - tp->size;
-+
-+ bytes = MIN(sizeof(tp->data) - tp->size, bytes);
- pci_dma_read(&s->dev, addr, tp->data + tp->size, bytes);
- if ((sz = tp->size + bytes) >= hdr && tp->size < hdr)
- memmove(tp->header, tp->data, hdr);
-@@ -481,6 +483,7 @@ process_tx_desc(E1000State *s, struct e1000_tx_desc *dp)
- // context descriptor TSE is not set, while data descriptor TSE is set
- DBGOUT(TXERR, "TCP segmentaion Error\n");
- } else {
-+ split_size = MIN(sizeof(tp->data) - tp->size, split_size);
- pci_dma_read(&s->dev, addr, tp->data + tp->size, split_size);
- tp->size += split_size;
- }
---
-1.7.7.6
-
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-nonkvm-arches.patch b/app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-nonkvm-arches.patch
deleted file mode 100644
index d66a99135921..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-nonkvm-arches.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix build failure caused by KVM-specific code in arches not supporting KVM:
- LINK alpha-softmmu/qemu-system-alpha
-i8259.o: In function `kvm_i8259_set_irq':
-/tmp/portage/app-emulation/qemu-kvm-9999/work/qemu-kvm-9999/hw/i8259.c:689: undefined reference to `apic_set_irq_delivered'
-diff --git a/hw/i8259.c b/hw/i8259.c
-index 0632ea2..2f6789d 100644
---- a/hw/i8259.c
-+++ b/hw/i8259.c
-@@ -682,12 +683,14 @@ static int kvm_kernel_pic_load_from_user(PicState *s)
-
- static void kvm_i8259_set_irq(void *opaque, int irq, int level)
- {
-+#ifdef CONFIG_KVM
- int pic_ret;
- if (kvm_set_irq(irq, level, &pic_ret)) {
- if (pic_ret != 0)
- apic_set_irq_delivered();
- return;
- }
-+#endif
- }
-
- device_init(pic_register)
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-qemu-system-ppc.patch b/app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-qemu-system-ppc.patch
deleted file mode 100644
index bd611a305c9b..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-fix-qemu-system-ppc.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Fix the following build failure:
- LINK ppc64-softmmu/qemu-system-ppc64
-../libhw64/i8259.o: In function `pic_read_irq':
-/tmp/portage/app-emulation/qemu-kvm-1.0/work/qemu-kvm-1.0/hw/i8259.c:240: undefined reference to `timer_acks'
-/tmp/portage/app-emulation/qemu-kvm-1.0/work/qemu-kvm-1.0/hw/i8259.c:240: undefined reference to `timer_acks'
-/tmp/portage/app-emulation/qemu-kvm-1.0/work/qemu-kvm-1.0/hw/i8259.c:241: undefined reference to `timer_ints_to_push'
-/tmp/portage/app-emulation/qemu-kvm-1.0/work/qemu-kvm-1.0/hw/i8259.c:242: undefined reference to `timer_ints_to_push'
-/tmp/portage/app-emulation/qemu-kvm-1.0/work/qemu-kvm-1.0/hw/i8259.c:242: undefined reference to `timer_ints_to_push'
-diff --git a/Makefile.target b/Makefile.target
-index 0b610ad..d8b1740 100644
---- a/Makefile.target
-+++ b/Makefile.target
-@@ -275,7 +275,7 @@ obj-ppc-y += virtex_ml507.o
- obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
- obj-ppc-$(CONFIG_FDT) += device_tree.o
- # PowerPC OpenPIC
--obj-ppc-y += openpic.o
-+obj-ppc-y += openpic.o i8254.o
-
- # Xilinx PPC peripherals
- obj-ppc-y += xilinx_intc.o
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-per-target-i8259.patch b/app-emulation/qemu-kvm/files/qemu-kvm-1.0-per-target-i8259.patch
deleted file mode 100644
index ff33898642b8..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-1.0-per-target-i8259.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-Allows i8259 building on per-target basis to use
-target-specific configuration (like CONFIG_KVM).
-
-Reported-by: Marc Schiffbauer
-Status: upstream
-Bug-URL: http://bugs.gentoo.org/400597
-
-commit 372951014b5008ca047e4dfbfaf4003bc27a2f6b
-Author: Jan Kiszka <jan.kiszka@siemens.com>
-Date: Wed Dec 14 13:15:54 2011 +0100
-
- qemu-kvm: Fix save/restore of in-kernel i8259
-
- As the qemu-kvm version of the i8259 contains KVM bits, it still has to
- be compiled per target. This unbreaks migration of the i8259.
-
- Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
- Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-
-diff --git a/Makefile.objs b/Makefile.objs
-index 77fea3b..70b118b 100644
---- a/Makefile.objs
-+++ b/Makefile.objs
-@@ -222,7 +222,7 @@ hw-obj-$(CONFIG_APPLESMC) += applesmc.o
- hw-obj-$(CONFIG_SMARTCARD) += usb-ccid.o ccid-card-passthru.o
- hw-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o
- hw-obj-$(CONFIG_USB_REDIR) += usb-redir.o
--hw-obj-$(CONFIG_I8259) += i8259.o
-+# hw-obj-$(CONFIG_I8259) += i8259.o
-
- # PPC devices
- hw-obj-$(CONFIG_PREP_PCI) += prep_pci.o
-diff --git a/Makefile.target b/Makefile.target
-index a4777c8..4da5712 100644
---- a/Makefile.target
-+++ b/Makefile.target
-@@ -228,7 +228,7 @@ obj-$(CONFIG_IVSHMEM) += ivshmem.o
-
- # Hardware support
- obj-i386-y += vga.o
--obj-i386-y += mc146818rtc.o pc.o
-+obj-i386-y += mc146818rtc.o pc.o i8259.o
- obj-i386-y += cirrus_vga.o sga.o apic.o ioapic.o piix_pci.o
- obj-i386-y += vmport.o
- obj-i386-y += device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o
-@@ -247,7 +247,7 @@ obj-i386-$(CONFIG_KVM_DEVICE_ASSIGNMENT) += device-assignment.o
- obj-ppc-y = ppc.o ppc_booke.o
- obj-ppc-y += vga.o
- # PREP target
--obj-ppc-y += mc146818rtc.o
-+obj-ppc-y += mc146818rtc.o i8259.o
- obj-ppc-y += ppc_prep.o
- # OldWorld PowerMac
- obj-ppc-y += ppc_oldworld.o
-@@ -303,7 +303,7 @@ obj-mips-y += acpi.o acpi_piix4.o
- obj-mips-y += mips_addr.o mips_timer.o mips_int.o
- obj-mips-y += vga.o
- obj-mips-y += jazz_led.o
--obj-mips-y += gt64xxx.o mc146818rtc.o
-+obj-mips-y += gt64xxx.o mc146818rtc.o i8259.o
- obj-mips-y += cirrus_vga.o
- obj-mips-$(CONFIG_FULONG) += bonito.o vt82c686.o mips_fulong2e.o
-
-@@ -383,7 +383,7 @@ obj-m68k-y += m68k-semi.o dummy_m68k.o
-
- obj-s390x-y = s390-virtio-bus.o s390-virtio.o
-
--obj-alpha-y = mc146818rtc.o
-+obj-alpha-y = mc146818rtc.o i8259.o
- obj-alpha-y += vga.o cirrus_vga.o
- obj-alpha-y += alpha_pci.o alpha_dp264.o alpha_typhoon.o
-
-diff --git a/hw/i8259.c b/hw/i8259.c
-index f2b18af..7e17071 100644
---- a/hw/i8259.c
-+++ b/hw/i8259.c
-@@ -697,8 +697,6 @@ static int kvm_kernel_pic_load_from_user(PicState *s)
- return 0;
- }
-
--extern void apic_set_irq_delivered(void);
--
- static void kvm_i8259_set_irq(void *opaque, int irq, int level)
- {
- int pic_ret;
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-VERSION.patch b/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-VERSION.patch
deleted file mode 100644
index 9c777aa99bed..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-VERSION.patch
+++ /dev/null
@@ -1,7 +0,0 @@
-diff --git a/VERSION b/VERSION
-index b70c292..7dea76e 100644
---- a/VERSION
-+++ b/VERSION
-@@ -1 +1 @@
--1.0,1
-+1.0.1
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch b/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch
deleted file mode 100644
index 1738650162ea..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/os-posix.c
-+++ b/os-posix.c
-@@ -27,6 +27,9 @@
- #include <fcntl.h>
- #include <signal.h>
- #include <sys/types.h>
-+#ifdef __FreeBSD__
-+#include <sys/sysctl.h>
-+#endif
- #include <sys/wait.h>
- /*needed for MAP_POPULATE before including qemu-options.h */
- #include <sys/mman.h>
diff --git a/app-emulation/qemu-kvm/files/qemu-kvm-9999-fix-mipsen.patch b/app-emulation/qemu-kvm/files/qemu-kvm-9999-fix-mipsen.patch
deleted file mode 100644
index 02a9a22e8aa7..000000000000
--- a/app-emulation/qemu-kvm/files/qemu-kvm-9999-fix-mipsen.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Fixes link failure due to missing piix symbols.
-
- LINK mips-softmmu/qemu-system-mips
-hw/mips/../mips_malta.o: In function `mips_malta_init':
-mips_malta.c:(.text+0x2314): undefined reference to `piix4_pm_init'
-collect2: error: ld returned 1 exit status
-diff --git a/hw/mips/Makefile.objs b/hw/mips/Makefile.objs
-index 29a5d0d..89af0e9 100644
---- a/hw/mips/Makefile.objs
-+++ b/hw/mips/Makefile.objs
-@@ -1,6 +1,7 @@
- obj-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o
- obj-y += mips_addr.o mips_timer.o mips_int.o
- obj-y += gt64xxx.o mc146818rtc.o
-+obj-y += acpi.o acpi_piix4.o
- obj-$(CONFIG_FULONG) += bonito.o vt82c686.o mips_fulong2e.o
-
- obj-y := $(addprefix ../,$(obj-y))
diff --git a/app-emulation/qemu-kvm/metadata.xml b/app-emulation/qemu-kvm/metadata.xml
deleted file mode 100644
index 6c20d80c8d27..000000000000
--- a/app-emulation/qemu-kvm/metadata.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>qemu</herd>
- <use>
- <flag name='aio'>Enables support for Linux's Async IO</flag>
- <flag name='alsa'>Enable alsa output for sound emulation</flag>
- <flag name='brltty'>Adds support for braille displays using brltty</flag>
- <flag name='curl'>Support ISOs / -cdrom directives vis HTTP or HTTPS.</flag>
- <flag name='fdt'>Enables firmware device tree support</flag>
- <flag name='mixemu'>Enable audio mixer emulation. On Fedora, known to cause performance problems when using SDL output and ALSA. For OSS, locks the sound device from other applications.</flag>
- <flag name='ncurses'>Enable the ncurses-based console</flag>
- <flag name='pulseaudio'>Enable pulseaudio output for sound emulation</flag>
- <flag name='qemu-ifup'>Provides the qemu-ifup script for use with QEMU's
- built in bridging</flag>
- <flag name='rbd'>Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD</flag>
- <flag name='sdl'>Enable the SDL-based console</flag>
- <flag name='spice'>Enable Spice protocol support via <pkg>app-emulation/spice</pkg></flag>
- <flag name='systemtap'>Enable SystemTAP/DTrace tracing</flag>
- <flag name='tci'>Enable the TCG Interpreter which can speed up or slowdown workloads depending on the host and guest CPUs being emulated. In the future it will be a runtime option but for now its compile time.</flag>
- <flag name='tls'>Enable TLS support for the VNC console server</flag>
- <flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB
- devices to another machine over TCP</flag>
- <flag name='vde'>Enable VDE-based networking</flag>
- <flag name='vhost-net'>Enable accelerated networking using vhost-net, see http://www.linux-kvm.org/page/VhostNet</flag>
- <flag name='virtfs'>Enable VirtFS support. See http://wiki.qemu.org/Documentation/9psetup</flag>
- <flag name='xattr'>
- Add support for getting and setting POSIX extended attributes, through
- <pkg>sys-apps/attr</pkg>. Requisite for the virtfs backend.
- </flag>
- <flag name='xen'>Enables support for Xen backends</flag>
- <flag name='xfs'>Support xfsctl() notification and syncing for XFS backed
- virtual disks.</flag>
- </use>
-</pkgmetadata>
diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.0.1-r1.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.0.1-r1.ebuild
deleted file mode 100644
index 2360edc44231..000000000000
--- a/app-emulation/qemu-kvm/qemu-kvm-1.0.1-r1.ebuild
+++ /dev/null
@@ -1,382 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.0.1-r1.ebuild,v 1.7 2012/08/13 00:59:46 cardoe Exp $
-
-#BACKPORTS=1
-
-EAPI="4"
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
- inherit git-2
-fi
-
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
-
-if [[ ${PV} = *9999* ]]; then
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
- ${BACKPORTS:+
- http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2
- http://dev.gentoo.org/~cardoe/distfiles/${P}-backports-${BACKPORTS}.tar.bz2}"
- KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-fi
-
-DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
-HOMEPAGE="http://www.linux-kvm.org"
-
-LICENSE="GPL-2 LGPL-2 BSD-2"
-SLOT="0"
-# xen is disabled until the deps are fixed
-IUSE="+aio alsa bluetooth brltty +curl debug fdt kernel_linux \
-kernel_FreeBSD ncurses opengl pulseaudio qemu-ifup rbd sasl sdl \
-smartcard spice static test +threads tls usbredir vde +vhost-net xattr xen"
-
-COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64"
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc32plus"
-
-# Setup the default SoftMMU targets, while using the loops
-# below to setup the other targets. x86_64 should be the only
-# defaults on for qemu-kvm
-IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- if [ "x${target}" = "xx86_64" ]; then
- continue
- fi
- IUSE="${IUSE} qemu_softmmu_targets_${target}"
-done
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} qemu_user_targets_${target}"
-done
-
-RDEPEND="
- !app-emulation/kqemu
- !app-emulation/qemu
- !app-emulation/qemu-user
- >=dev-libs/glib-2.0
- media-libs/libpng
- sys-apps/pciutils
- virtual/jpeg
- amd64? ( sys-firmware/seabios
- sys-firmware/vgabios )
- x86? ( sys-firmware/seabios
- sys-firmware/vgabios )
- aio? ( dev-libs/libaio )
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- bluetooth? ( net-wireless/bluez )
- brltty? ( app-accessibility/brltty )
- curl? ( >=net-misc/curl-7.15.4 )
- fdt? ( >=sys-apps/dtc-1.2.0 )
- kernel_linux? ( >=sys-apps/util-linux-2.16.0 )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- pulseaudio? ( media-sound/pulseaudio )
- qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
- rbd? ( sys-cluster/ceph )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
- !static? ( >=media-libs/libsdl-1.2.11[X] ) )
- static? ( sys-libs/zlib[static-libs(+)] )
- !static? ( sys-libs/zlib )
- smartcard? ( dev-libs/nss )
- spice? ( >=app-emulation/spice-0.9.0
- >=app-emulation/spice-protocol-0.8.1 )
- tls? ( net-libs/gnutls )
- usbredir? ( sys-apps/usbredir )
- vde? ( net-misc/vde )
- xattr? ( sys-apps/attr )
- xen? ( app-emulation/xen-tools )
-"
-
-DEPEND="${RDEPEND}
- app-text/texi2html
- virtual/pkgconfig
- kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
- test? ( dev-libs/check )"
-
-STRIP_MASK="/usr/share/qemu/palcode-clipper"
-
-QA_PRESTRIPPED="
- usr/share/qemu/openbios-ppc
- usr/share/qemu/openbios-sparc64
- usr/share/qemu/openbios-sparc32
- usr/share/qemu/palcode-clipper"
-
-QA_WX_LOAD="${QA_PRESTRIPPED}
- usr/bin/qemu-i386
- usr/bin/qemu-x86_64
- usr/bin/qemu-alpha
- usr/bin/qemu-arm
- usr/bin/qemu-cris
- usr/bin/qemu-m68k
- usr/bin/qemu-microblaze
- usr/bin/qemu-mips
- usr/bin/qemu-mipsel
- usr/bin/qemu-ppc
- usr/bin/qemu-ppc64
- usr/bin/qemu-ppc64abi32
- usr/bin/qemu-sh4
- usr/bin/qemu-sh4eb
- usr/bin/qemu-sparc
- usr/bin/qemu-sparc64
- usr/bin/qemu-armeb
- usr/bin/qemu-sparc32plus"
-
-pkg_pretend() {
- if ! use qemu_softmmu_targets_x86_64 && use amd64 ; then
- eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
- fi
-
- if ! use qemu_softmmu_targets_x86_64 && use x86 ; then
- eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
- fi
-
- if use kernel_linux && kernel_is lt 2 6 25; then
- eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
- eerror "Either upgrade your kernel"
- elif use kernel_linux; then
- if ! linux_config_exists; then
- eerror "Unable to check your kernel for KVM support"
- else
- CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
- ERROR_KVM="You must enable KVM in your kernel to continue"
- ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
- ERROR_KVM_AMD+=" your kernel configuration."
- ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
- ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
- ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
- ERROR_TUN+=" into your kernel or loaded as a module to use the"
- ERROR_TUN+=" virtual network device if using -net tap."
- ERROR_BRIDGE="You will also need support for 802.1d"
- ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
- use vhost-net && CHECK_CHECK+=" ~VHOST_NET"
- ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
- ERROR_VHOST_NET+=" support"
-
- if use amd64 || use x86 || use amd64-linux || use x86-linux; then
- CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
- fi
- fi
-}
-
-pkg_setup() {
- python_set_active_version 2
-
- enewgroup kvm 78
-}
-
-src_prepare() {
- # prevent docs to get automatically installed
- sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
- # Alter target makefiles to accept CFLAGS set via flag-o
- sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
- Makefile Makefile.target || die
- # append CFLAGS while linking
- sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak || die
-
- # remove part to make udev happy
- sed -e 's~NAME="%k", ~~' -i kvm/scripts/65-kvm.rules || die
-
- # ${PN}-guest-hang-on-usb-add.patch was sent by Timothy Jones
- # to the qemu-devel ml - bug 337988
- epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
-
- # Fix compilation of the qemu-system-ppc component
- epatch "${FILESDIR}"/${PN}-1.0-fix-qemu-system-ppc.patch
-
- # drop '-g' by default as it tends to eat
- # A LOT (~2GB) of ram for each job #355861
- sed -e 's/CFLAGS="-g $CFLAGS"/CFLAGS="$CFLAGS"/g' \
- -i configure || die
-
- # Quick fix for the bad version number
- epatch "${FILESDIR}"/${P}-VERSION.patch
-
- # Patch the use of sys/sysctl.h on FreeBSD
- epatch "${FILESDIR}"/${P}-freebsd-sysctl-header.patch
-
- [[ -n ${BACKPORTS} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
-
- epatch_user
-}
-
-src_configure() {
- local conf_opts audio_opts user_targets
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- if [[ -z ${softmmu_targets} ]]; then
- eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
- die "At least 1 SoftMMU target must be enabled"
- else
- einfo "Building the following softmmu targets: ${softmmu_targets}"
- fi
-
- if [[ -n ${user_targets} ]]; then
- einfo "Building the following user targets: ${user_targets}"
- conf_opts="${conf_opts} --enable-linux-user"
- else
- conf_opts="${conf_opts} --disable-linux-user"
- fi
-
- # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
- conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
-
- # Add support for static builds
- use static && conf_opts="${conf_opts} --static"
-
- # Support debug USE flag
- use debug && conf_opts="${conf_opts} --enable-debug"
-
- # audio options
- audio_opts="oss"
- use alsa && audio_opts="alsa ${audio_opts}"
- use pulseaudio && audio_opts="pa ${audio_opts}"
- use sdl && audio_opts="sdl ${audio_opts}"
-
- # conditionally making UUID work on Linux only is wrong
- # but the Gentoo/FreeBSD guys need to figure out what
- # provides libuuid on their platform
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-darwin-user \
- --disable-bsd-user \
- --disable-libiscsi \
- --disable-strip \
- --disable-werror \
- --enable-pie \
- --enable-tcg-interpreter \
- --enable-vnc-jpeg \
- --enable-vnc-png \
- --python=python2 \
- $(use_enable aio linux-aio) \
- $(use_enable bluetooth bluez) \
- $(use_enable brltty brlapi) \
- $(use_enable curl) \
- $(use_enable fdt) \
- $(use_enable kernel_linux kvm) \
- $(use_enable kernel_linux kvm-device-assignment) \
- $(use_enable kernel_linux kvm-pit) \
- $(use_enable kernel_linux nptl) \
- $(use_enable kernel_linux uuid) \
- $(use_enable ncurses curses) \
- $(use_enable opengl) \
- $(use_enable rbd) \
- $(use_enable sasl vnc-sasl) \
- $(use_enable sdl) \
- $(use_enable smartcard smartcard) \
- $(use_enable smartcard smartcard-nss) \
- $(use_enable spice) \
- $(use_enable test check-utests) \
- $(use_enable tls vnc-tls) \
- $(use_enable threads vnc-thread) \
- $(use_enable usbredir usb-redir) \
- $(use_enable vde) \
- $(use_enable vhost-net) \
- $(use_enable xen) \
- $(use_enable xattr attr) \
- --audio-drv-list="${audio_opts}" \
- --target-list="${softmmu_targets} ${user_targets}" \
- --cc="$(tc-getCC)" \
- --host-cc="$(tc-getBUILD_CC)" \
- || die "configure failed"
-
- # this is for qemu upstream's threaded support which is
- # in development and broken
- # the kvm project has its own support for threaded IO
- # which is always on and works
- # --enable-io-thread \
-
- # FreeBSD's kernel does not support QEMU assigning/grabbing
- # host USB devices yet
- use kernel_FreeBSD && \
- sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
-}
-
-src_install() {
- emake DESTDIR="${ED}" install || die "make install failed"
-
- if [[ -n ${softmmu_targets} ]]; then
- insinto /lib/udev/rules.d/
- doins kvm/scripts/65-kvm.rules || die
-
- if use qemu-ifup; then
- insinto /etc/qemu/
- insopts -m0755
- doins kvm/scripts/qemu-ifup || die
- fi
-
- if use qemu_softmmu_targets_x86_64 ; then
- dobin "${FILESDIR}"/qemu-kvm
- ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
- ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
- ewarn "your libvirt configs or other wrappers for ${PN}"
- else
- elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
- elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
- fi
- fi
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
- newdoc pc-bios/README README.pc-bios || die
- dohtml qemu-doc.html qemu-tech.html || die
-
- # FIXME: Need to come up with a solution for non-x86 based systems
- if use x86 || use amd64; then
- # Remove SeaBIOS since we're using the SeaBIOS packaged one
- rm "${ED}/usr/share/qemu/bios.bin"
- dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
-
- # Remove vgabios since we're using the vgabios packaged one
- rm "${ED}/usr/share/qemu/vgabios.bin"
- rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
- rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
- rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
- rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
- dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
- dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
- dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
- dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
- dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
- fi
-}
-
-pkg_postinst() {
-
- if [[ -n ${softmmu_targets} ]]; then
- elog "If you don't have kvm compiled into the kernel, make sure you have"
- elog "the kernel module loaded before running kvm. The easiest way to"
- elog "ensure that the kernel module is loaded is to load it on boot."
- elog "For AMD CPUs the module is called 'kvm-amd'"
- elog "For Intel CPUs the module is called 'kvm-intel'"
- elog "Please review /etc/conf.d/modules for how to load these"
- elog
- elog "Make sure your user is in the 'kvm' group"
- elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
- elog
- elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
- elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
- fi
-
- use qemu-ifup && \
- ewarn "qemu-ifup is deprecated, be prepared for it to disappear next release"
-}
diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.0.1.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.0.1.ebuild
deleted file mode 100644
index c311ad788154..000000000000
--- a/app-emulation/qemu-kvm/qemu-kvm-1.0.1.ebuild
+++ /dev/null
@@ -1,368 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.0.1.ebuild,v 1.8 2012/08/13 00:59:46 cardoe Exp $
-
-#BACKPORTS=1
-
-EAPI="4"
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
- inherit git-2
-fi
-
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
-
-if [[ ${PV} = *9999* ]]; then
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
- ${BACKPORTS:+
- http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2
- http://dev.gentoo.org/~cardoe/distfiles/${P}-backports-${BACKPORTS}.tar.bz2}"
- KEYWORDS="amd64 ~ppc ~ppc64 x86"
-fi
-
-DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
-HOMEPAGE="http://www.linux-kvm.org"
-
-LICENSE="GPL-2 LGPL-2 BSD-2"
-SLOT="0"
-# xen is disabled until the deps are fixed
-IUSE="+aio alsa bluetooth brltty +curl debug fdt ncurses \
-opengl pulseaudio qemu-ifup rbd sasl sdl smartcard spice static test
-+threads tls usbredir vde +vhost-net xattr xen"
-
-COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64"
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc32plus"
-
-# Setup the default SoftMMU targets, while using the loops
-# below to setup the other targets. x86_64 should be the only
-# defaults on for qemu-kvm
-IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- if [ "x${target}" = "xx86_64" ]; then
- continue
- fi
- IUSE="${IUSE} qemu_softmmu_targets_${target}"
-done
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} qemu_user_targets_${target}"
-done
-
-RDEPEND="
- !app-emulation/kqemu
- !app-emulation/qemu
- !app-emulation/qemu-user
- >=dev-libs/glib-2.0
- media-libs/libpng
- sys-apps/pciutils
- >=sys-apps/util-linux-2.16.0
- virtual/jpeg
- amd64? ( sys-firmware/seabios
- sys-firmware/vgabios )
- x86? ( sys-firmware/seabios
- sys-firmware/vgabios )
- aio? ( dev-libs/libaio )
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- bluetooth? ( net-wireless/bluez )
- brltty? ( app-accessibility/brltty )
- curl? ( >=net-misc/curl-7.15.4 )
- fdt? ( >=sys-apps/dtc-1.2.0 )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- pulseaudio? ( media-sound/pulseaudio )
- qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
- rbd? ( sys-cluster/ceph )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
- !static? ( >=media-libs/libsdl-1.2.11[X] ) )
- static? ( sys-libs/zlib[static-libs(+)] )
- !static? ( sys-libs/zlib )
- smartcard? ( dev-libs/nss )
- spice? ( >=app-emulation/spice-0.9.0
- >=app-emulation/spice-protocol-0.8.1 )
- tls? ( net-libs/gnutls )
- usbredir? ( sys-apps/usbredir )
- vde? ( net-misc/vde )
- xattr? ( sys-apps/attr )
- xen? ( app-emulation/xen-tools )
-"
-
-DEPEND="${RDEPEND}
- app-text/texi2html
- virtual/pkgconfig
- >=sys-kernel/linux-headers-2.6.35
- test? ( dev-libs/check )"
-
-STRIP_MASK="/usr/share/qemu/palcode-clipper"
-
-QA_PRESTRIPPED="
- usr/share/qemu/openbios-ppc
- usr/share/qemu/openbios-sparc64
- usr/share/qemu/openbios-sparc32
- usr/share/qemu/palcode-clipper"
-
-QA_WX_LOAD="${QA_PRESTRIPPED}
- usr/bin/qemu-i386
- usr/bin/qemu-x86_64
- usr/bin/qemu-alpha
- usr/bin/qemu-arm
- usr/bin/qemu-cris
- usr/bin/qemu-m68k
- usr/bin/qemu-microblaze
- usr/bin/qemu-mips
- usr/bin/qemu-mipsel
- usr/bin/qemu-ppc
- usr/bin/qemu-ppc64
- usr/bin/qemu-ppc64abi32
- usr/bin/qemu-sh4
- usr/bin/qemu-sh4eb
- usr/bin/qemu-sparc
- usr/bin/qemu-sparc64
- usr/bin/qemu-armeb
- usr/bin/qemu-sparc32plus"
-
-pkg_pretend() {
- if ! use qemu_softmmu_targets_x86_64 && use amd64 ; then
- eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
- fi
-
- if ! use qemu_softmmu_targets_x86_64 && use x86 ; then
- eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
- fi
-
- if kernel_is lt 2 6 25; then
- eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
- eerror "Either upgrade your kernel"
- else
- if ! linux_config_exists; then
- eerror "Unable to check your kernel for KVM support"
- else
- CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
- ERROR_KVM="You must enable KVM in your kernel to continue"
- ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
- ERROR_KVM_AMD+=" your kernel configuration."
- ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
- ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
- ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
- ERROR_TUN+=" into your kernel or loaded as a module to use the"
- ERROR_TUN+=" virtual network device if using -net tap."
- ERROR_BRIDGE="You will also need support for 802.1d"
- ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
- use vhost-net && CHECK_CHECK+=" ~VHOST_NET"
- ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
- ERROR_VHOST_NET+=" support"
-
- if use amd64 || use x86 || use amd64-linux || use x86-linux; then
- CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
- fi
- fi
-}
-
-pkg_setup() {
- python_set_active_version 2
-
- enewgroup kvm 78
-}
-
-src_prepare() {
- # prevent docs to get automatically installed
- sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
- # Alter target makefiles to accept CFLAGS set via flag-o
- sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
- Makefile Makefile.target || die
- # append CFLAGS while linking
- sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak || die
-
- # remove part to make udev happy
- sed -e 's~NAME="%k", ~~' -i kvm/scripts/65-kvm.rules || die
-
- # ${PN}-guest-hang-on-usb-add.patch was sent by Timothy Jones
- # to the qemu-devel ml - bug 337988
- epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
-
- # Fix compilation of the qemu-system-ppc component
- epatch "${FILESDIR}"/${PN}-1.0-fix-qemu-system-ppc.patch
-
- # drop '-g' by default as it tends to eat
- # A LOT (~2GB) of ram for each job #355861
- sed -e 's/CFLAGS="-g $CFLAGS"/CFLAGS="$CFLAGS"/g' \
- -i configure || die
-
- [[ -n ${BACKPORTS} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
-
- epatch_user
-}
-
-src_configure() {
- local conf_opts audio_opts user_targets
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- if [[ -z ${softmmu_targets} ]]; then
- eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
- die "At least 1 SoftMMU target must be enabled"
- else
- einfo "Building the following softmmu targets: ${softmmu_targets}"
- fi
-
- if [[ -n ${user_targets} ]]; then
- einfo "Building the following user targets: ${user_targets}"
- conf_opts="${conf_opts} --enable-linux-user"
- else
- conf_opts="${conf_opts} --disable-linux-user"
- fi
-
- # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
- conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
-
- # Add support for static builds
- use static && conf_opts="${conf_opts} --static"
-
- # Support debug USE flag
- use debug && conf_opts="${conf_opts} --enable-debug"
-
- # audio options
- audio_opts="oss"
- use alsa && audio_opts="alsa ${audio_opts}"
- use pulseaudio && audio_opts="pa ${audio_opts}"
- use sdl && audio_opts="sdl ${audio_opts}"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-darwin-user \
- --disable-bsd-user \
- --disable-libiscsi \
- --disable-strip \
- --disable-werror \
- --enable-kvm \
- --enable-kvm-device-assignment \
- --enable-kvm-pit \
- --enable-pie \
- --enable-nptl \
- --enable-tcg-interpreter \
- --enable-uuid \
- --enable-vnc-jpeg \
- --enable-vnc-png \
- --python=python2 \
- $(use_enable aio linux-aio) \
- $(use_enable bluetooth bluez) \
- $(use_enable brltty brlapi) \
- $(use_enable curl) \
- $(use_enable fdt) \
- $(use_enable ncurses curses) \
- $(use_enable opengl) \
- $(use_enable rbd) \
- $(use_enable sasl vnc-sasl) \
- $(use_enable sdl) \
- $(use_enable smartcard smartcard) \
- $(use_enable smartcard smartcard-nss) \
- $(use_enable spice) \
- $(use_enable test check-utests) \
- $(use_enable tls vnc-tls) \
- $(use_enable threads vnc-thread) \
- $(use_enable usbredir usb-redir) \
- $(use_enable vde) \
- $(use_enable vhost-net) \
- $(use_enable xen) \
- $(use_enable xattr attr) \
- --audio-drv-list="${audio_opts}" \
- --target-list="${softmmu_targets} ${user_targets}" \
- --cc="$(tc-getCC)" \
- --host-cc="$(tc-getBUILD_CC)" \
- || die "configure failed"
-
- # this is for qemu upstream's threaded support which is
- # in development and broken
- # the kvm project has its own support for threaded IO
- # which is always on and works
- # --enable-io-thread \
-}
-
-src_install() {
- emake DESTDIR="${ED}" install || die "make install failed"
-
- if [[ -n ${softmmu_targets} ]]; then
- insinto /lib/udev/rules.d/
- doins kvm/scripts/65-kvm.rules || die
-
- if use qemu-ifup; then
- insinto /etc/qemu/
- insopts -m0755
- doins kvm/scripts/qemu-ifup || die
- fi
-
- if use qemu_softmmu_targets_x86_64 ; then
- dobin "${FILESDIR}"/qemu-kvm
- ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
- ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
- ewarn "your libvirt configs or other wrappers for ${PN}"
- else
- elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
- elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
- fi
- fi
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
- newdoc pc-bios/README README.pc-bios || die
- dohtml qemu-doc.html qemu-tech.html || die
-
- # FIXME: Need to come up with a solution for non-x86 based systems
- if use x86 || use amd64; then
- # Remove SeaBIOS since we're using the SeaBIOS packaged one
- rm "${ED}/usr/share/qemu/bios.bin"
- dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
-
- # Remove vgabios since we're using the vgabios packaged one
- rm "${ED}/usr/share/qemu/vgabios.bin"
- rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
- rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
- rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
- rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
- dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
- dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
- dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
- dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
- dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
- fi
-}
-
-pkg_postinst() {
-
- if [[ -n ${softmmu_targets} ]]; then
- elog "If you don't have kvm compiled into the kernel, make sure you have"
- elog "the kernel module loaded before running kvm. The easiest way to"
- elog "ensure that the kernel module is loaded is to load it on boot."
- elog "For AMD CPUs the module is called 'kvm-amd'"
- elog "For Intel CPUs the module is called 'kvm-intel'"
- elog "Please review /etc/conf.d/modules for how to load these"
- elog
- elog "Make sure your user is in the 'kvm' group"
- elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
- elog
- elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
- elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
- fi
-
- use qemu-ifup && \
- ewarn "qemu-ifup is deprecated, be prepared for it to disappear next release"
-}
diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild
deleted file mode 100644
index 4b0aa64e2aa1..000000000000
--- a/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,372 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild,v 1.10 2012/09/23 08:47:42 phajdan.jr Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
-BACKPORTS=1
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
- inherit git-2
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
- ${BACKPORTS:+
- http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.xz}"
- KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
-fi
-
-DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
-HOMEPAGE="http://www.linux-kvm.org"
-
-LICENSE="GPL-2 LGPL-2 BSD-2"
-SLOT="0"
-IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt kernel_linux \
-kernel_FreeBSD ncurses opengl pulseaudio python rbd sasl sdl \
-smartcard spice static tci tls usbredir vde +vhost-net virtfs xattr xen xfs"
-
-COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb xtensa xtensaeb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
-
-# Setup the default SoftMMU targets, while using the loops
-# below to setup the other targets. x86_64 should be the only
-# defaults on for qemu-kvm
-IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- if [ "x${target}" = "xx86_64" ]; then
- continue
- fi
- IUSE="${IUSE} qemu_softmmu_targets_${target}"
-done
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} qemu_user_targets_${target}"
-done
-
-REQUIRED_USE="static? ( !alsa !pulseaudio )
- amd64? ( qemu_softmmu_targets_x86_64 )
- x86? ( qemu_softmmu_targets_x86_64 )
- virtfs? ( xattr )"
-
-# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
-RDEPEND="
- !app-emulation/kqemu
- !app-emulation/qemu
- !<app-emulation/qemu-1.0
- >=dev-libs/glib-2.0
- media-libs/libpng
- sys-apps/pciutils
- >=sys-firmware/seabios-1.7.0
- sys-firmware/vgabios
- virtual/jpeg
- aio? ( dev-libs/libaio )
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- bluetooth? ( net-wireless/bluez )
- brltty? ( app-accessibility/brltty )
- caps? ( sys-libs/libcap-ng )
- curl? ( >=net-misc/curl-7.15.4 )
- fdt? ( >=sys-apps/dtc-1.2.0 )
- kernel_linux? ( >=sys-apps/util-linux-2.16.0 )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- pulseaudio? ( media-sound/pulseaudio )
- python? ( =dev-lang/python-2*[ncurses] )
- rbd? ( sys-cluster/ceph )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
- !static? ( >=media-libs/libsdl-1.2.11[X] ) )
- static? ( sys-libs/zlib[static-libs(+)] )
- !static? ( sys-libs/zlib )
- smartcard? ( dev-libs/nss )
- spice? ( >=app-emulation/spice-protocol-0.8.1
- static? ( >=app-emulation/spice-0.9.0[static-libs] )
- !static? ( >=app-emulation/spice-0.9.0 )
- )
- tls? ( net-libs/gnutls )
- usbredir? ( sys-apps/usbredir )
- vde? ( net-misc/vde )
- virtfs? ( sys-libs/libcap )
- xattr? ( sys-apps/attr )
- xen? ( app-emulation/xen-tools )
- xfs? ( sys-fs/xfsprogs )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-text/texi2html )
- kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )"
-
-STRIP_MASK="/usr/share/qemu/palcode-clipper"
-
-QA_PREBUILT="
- usr/share/qemu/openbios-ppc
- usr/share/qemu/openbios-sparc64
- usr/share/qemu/openbios-sparc32
- usr/share/qemu/palcode-clipper"
-
-QA_WX_LOAD="${QA_PRESTRIPPED}
- usr/bin/qemu-i386
- usr/bin/qemu-x86_64
- usr/bin/qemu-alpha
- usr/bin/qemu-arm
- usr/bin/qemu-cris
- usr/bin/qemu-m68k
- usr/bin/qemu-microblaze
- usr/bin/qemu-mips
- usr/bin/qemu-mipsel
- usr/bin/qemu-ppc
- usr/bin/qemu-ppc64
- usr/bin/qemu-ppc64abi32
- usr/bin/qemu-sh4
- usr/bin/qemu-sh4eb
- usr/bin/qemu-sparc
- usr/bin/qemu-sparc64
- usr/bin/qemu-armeb
- usr/bin/qemu-sparc32plus"
-
-pkg_pretend() {
- if use kernel_linux && kernel_is lt 2 6 25; then
- eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
- elif use kernel_linux; then
- if ! linux_config_exists; then
- eerror "Unable to check your kernel for KVM support"
- else
- CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
- ERROR_KVM="You must enable KVM in your kernel to continue"
- ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
- ERROR_KVM_AMD+=" your kernel configuration."
- ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
- ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
- ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
- ERROR_TUN+=" into your kernel or loaded as a module to use the"
- ERROR_TUN+=" virtual network device if using -net tap."
- ERROR_BRIDGE="You will also need support for 802.1d"
- ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
- use vhost-net && CHECK_CHECK+=" ~VHOST_NET"
- ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
- ERROR_VHOST_NET+=" support"
-
- if use amd64 || use x86 || use amd64-linux || use x86-linux; then
- CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
- fi
-
- use python && CONFIG_CHECK+=" ~DEBUG_FS"
- ERROR_DEBUG_FS="debugFS support required for kvm_stat"
-
- # Now do the actual checks setup above
- check_extra_config
- fi
- fi
-
- if use static; then
- ewarn "USE=static is very much a moving target because of the packages"
- ewarn "we depend on will have their static libs ripped out or wrapped"
- ewarn "with USE=static-libs or USE=static due to continued dicsussion"
- ewarn "on the mailing list about USE=static's place in Gentoo. As a"
- ewarn "result what worked today may not work tomorrow."
- fi
-}
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-
- enewgroup kvm 78
-}
-
-src_prepare() {
- # Alter target makefiles to accept CFLAGS set via flag-o
- sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
- Makefile Makefile.target || die
-
- # remove part to make udev happy
- #sed -e 's~NAME="%k", ~~' -i kvm/scripts/65-kvm.rules || die
-
- python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
-
- [[ -n ${BACKPORTS} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
-
- epatch_user
-}
-
-src_configure() {
- local conf_opts audio_opts user_targets
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- if [[ -z ${softmmu_targets} ]]; then
- eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
- die "At least 1 SoftMMU target must be enabled"
- else
- einfo "Building the following softmmu targets: ${softmmu_targets}"
- fi
-
- if [[ -n ${user_targets} ]]; then
- einfo "Building the following user targets: ${user_targets}"
- conf_opts="${conf_opts} --enable-linux-user"
- else
- conf_opts="${conf_opts} --disable-linux-user"
- fi
-
- # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
- conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
-
- # Add support for static builds
- use static && conf_opts="${conf_opts} --static --disable-pie"
-
- # We always want to attempt to build with PIE support as it results
- # in a more secure binary. But it doesn't work with static or if
- # the current GCC doesn't have PIE support.
- if ! use static && gcc-specs-pie; then
- conf_opts="${conf_opts} --enable-pie"
- fi
-
- # audio options
- audio_opts="oss"
- use alsa && audio_opts="alsa ${audio_opts}"
- use pulseaudio && audio_opts="pa ${audio_opts}"
- use sdl && audio_opts="sdl ${audio_opts}"
-
- # conditionally making UUID work on Linux only is wrong
- # but the Gentoo/FreeBSD guys need to figure out what
- # provides libuuid on their platform
- # --enable-vnc-thread will go away in 1.2
- # $(use_enable xen xen-pci-passthrough) for 1.2
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-bsd-user \
- --disable-libiscsi \
- --disable-strip \
- --disable-werror \
- --enable-guest-agent \
- --enable-vnc-jpeg \
- --enable-vnc-png \
- --enable-vnc-thread \
- --python=python2 \
- $(use_enable aio linux-aio) \
- $(use_enable bluetooth bluez) \
- $(use_enable brltty brlapi) \
- $(use_enable caps cap-ng) \
- $(use_enable curl) \
- $(use_enable debug debug-info) \
- $(use_enable debug debug-mon) \
- $(use_enable debug debug-tcg) \
- $(use_enable doc docs) \
- $(use_enable fdt) \
- $(use_enable kernel_linux kvm) \
- $(use_enable kernel_linux kvm-device-assignment) \
- $(use_enable kernel_linux nptl) \
- $(use_enable kernel_linux uuid) \
- $(use_enable ncurses curses) \
- $(use_enable opengl) \
- $(use_enable rbd) \
- $(use_enable sasl vnc-sasl) \
- $(use_enable sdl) \
- $(use_enable smartcard smartcard) \
- $(use_enable smartcard smartcard-nss) \
- $(use_enable spice) \
- $(use_enable tci tcg-interpreter) \
- $(use_enable tls vnc-tls) \
- $(use_enable usbredir usb-redir) \
- $(use_enable vde) \
- $(use_enable vhost-net) \
- $(use_enable virtfs) \
- $(use_enable xattr attr) \
- $(use_enable xen) \
- $(use_enable xfs xfsctl) \
- --audio-drv-list="${audio_opts}" \
- --target-list="${softmmu_targets} ${user_targets}" \
- --cc="$(tc-getCC)" \
- --host-cc="$(tc-getBUILD_CC)" \
- ${conf_opts} \
- || die "configure failed"
-
- # this is for qemu upstream's threaded support which is
- # in development and broken
- # the kvm project has its own support for threaded IO
- # which is always on and works
- # --enable-io-thread \
-
- # FreeBSD's kernel does not support QEMU assigning/grabbing
- # host USB devices yet
- use kernel_FreeBSD && \
- sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
-}
-
-src_install() {
- emake DESTDIR="${ED}" install
-
- if [[ -n ${softmmu_targets} ]]; then
- if use kernel_linux; then
- insinto /lib/udev/rules.d/
- doins "${FILESDIR}"/65-kvm.rules
- fi
-
- if use qemu_softmmu_targets_x86_64 ; then
- dobin "${FILESDIR}"/qemu-kvm
- ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
- ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
- ewarn "your libvirt configs or other wrappers for ${PN}"
- else
- elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
- elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
- fi
- fi
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt
- newdoc pc-bios/README README.pc-bios
-
- if use doc; then
- dohtml qemu-doc.html qemu-tech.html || die
- fi
-
- use python & dobin scripts/kvm/kvm_stat
-
- # Remove SeaBIOS since we're using the SeaBIOS packaged one
- rm "${ED}/usr/share/qemu/bios.bin"
- dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
-
- # Remove vgabios since we're using the vgabios packaged one
- rm "${ED}/usr/share/qemu/vgabios.bin"
- rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
- rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
- rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
- rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
- dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
- dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
- dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
- dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
- dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
-}
-
-pkg_postinst() {
- if [[ -n ${softmmu_targets} ]]; then
- elog "If you don't have kvm compiled into the kernel, make sure you have"
- elog "the kernel module loaded before running kvm. The easiest way to"
- elog "ensure that the kernel module is loaded is to load it on boot."
- elog "For AMD CPUs the module is called 'kvm-amd'"
- elog "For Intel CPUs the module is called 'kvm-intel'"
- elog "Please review /etc/conf.d/modules for how to load these"
- elog
- elog "Make sure your user is in the 'kvm' group"
- elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
- elog
- elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
- elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
- fi
-}
diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r3.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r3.ebuild
deleted file mode 100644
index 5b87d432b620..000000000000
--- a/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r3.ebuild
+++ /dev/null
@@ -1,373 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r3.ebuild,v 1.4 2012/09/10 02:20:44 cardoe Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
-BACKPORTS=2
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
- inherit git-2
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
- ${BACKPORTS:+
- http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.xz}"
- KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-fi
-
-DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
-HOMEPAGE="http://www.linux-kvm.org"
-
-LICENSE="GPL-2 LGPL-2 BSD-2"
-SLOT="0"
-IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt kernel_linux \
-kernel_FreeBSD mixemu ncurses opengl pulseaudio python rbd sasl sdl \
-smartcard spice static systemtap tci tls usbredir vde +vhost-net \
-virtfs xattr xen xfs"
-
-COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb xtensa xtensaeb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
-
-# Setup the default SoftMMU targets, while using the loops
-# below to setup the other targets. x86_64 should be the only
-# defaults on for qemu-kvm
-IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
-REQUIRED_USE="|| ( qemu_softmmu_targets_x86_64"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- if [ "x${target}" = "xx86_64" ]; then
- continue
- fi
- IUSE="${IUSE} qemu_softmmu_targets_${target}"
- REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
-done
-REQUIRED_USE="${REQUIRED_USE} )"
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} qemu_user_targets_${target}"
-done
-
-REQUIRED_USE="${REQUIRED_USE}
- static? ( !alsa !pulseaudio )
- amd64? ( qemu_softmmu_targets_x86_64 )
- x86? ( qemu_softmmu_targets_x86_64 )
- virtfs? ( xattr )"
-
-# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
-RDEPEND="
- !app-emulation/kqemu
- !app-emulation/qemu
- !<app-emulation/qemu-1.0
- >=dev-libs/glib-2.0
- media-libs/libpng
- sys-apps/pciutils
- >=sys-firmware/seabios-1.7.0
- sys-firmware/sgabios
- sys-firmware/vgabios
- virtual/jpeg
- aio? ( dev-libs/libaio )
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- bluetooth? ( net-wireless/bluez )
- brltty? ( app-accessibility/brltty )
- caps? ( sys-libs/libcap-ng )
- curl? ( >=net-misc/curl-7.15.4 )
- fdt? ( >=sys-apps/dtc-1.2.0 )
- kernel_linux? ( >=sys-apps/util-linux-2.16.0 )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- pulseaudio? ( media-sound/pulseaudio )
- python? ( =dev-lang/python-2*[ncurses] )
- rbd? ( sys-cluster/ceph )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
- !static? ( >=media-libs/libsdl-1.2.11[X] ) )
- static? ( sys-libs/zlib[static-libs(+)] )
- !static? ( sys-libs/zlib )
- smartcard? ( dev-libs/nss )
- spice? ( >=app-emulation/spice-protocol-0.8.1
- static? ( >=app-emulation/spice-0.9.0[static-libs] )
- !static? ( >=app-emulation/spice-0.9.0 )
- )
- systemtap? ( dev-util/systemtap )
- tls? ( net-libs/gnutls )
- usbredir? ( sys-apps/usbredir )
- vde? ( net-misc/vde )
- virtfs? ( sys-libs/libcap )
- xattr? ( sys-apps/attr )
- xen? ( app-emulation/xen-tools )
- xfs? ( sys-fs/xfsprogs )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-text/texi2html )
- kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )"
-
-STRIP_MASK="/usr/share/qemu/palcode-clipper"
-
-QA_PREBUILT="
- usr/share/qemu/openbios-ppc
- usr/share/qemu/openbios-sparc64
- usr/share/qemu/openbios-sparc32
- usr/share/qemu/palcode-clipper"
-
-QA_WX_LOAD="${QA_PRESTRIPPED}
- usr/bin/qemu-i386
- usr/bin/qemu-x86_64
- usr/bin/qemu-alpha
- usr/bin/qemu-arm
- usr/bin/qemu-cris
- usr/bin/qemu-m68k
- usr/bin/qemu-microblaze
- usr/bin/qemu-mips
- usr/bin/qemu-mipsel
- usr/bin/qemu-ppc
- usr/bin/qemu-ppc64
- usr/bin/qemu-ppc64abi32
- usr/bin/qemu-sh4
- usr/bin/qemu-sh4eb
- usr/bin/qemu-sparc
- usr/bin/qemu-sparc64
- usr/bin/qemu-armeb
- usr/bin/qemu-sparc32plus"
-
-pkg_pretend() {
- if use kernel_linux && kernel_is lt 2 6 25; then
- eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
- elif use kernel_linux; then
- if ! linux_config_exists; then
- eerror "Unable to check your kernel for KVM support"
- else
- CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
- ERROR_KVM="You must enable KVM in your kernel to continue"
- ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
- ERROR_KVM_AMD+=" your kernel configuration."
- ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
- ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
- ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
- ERROR_TUN+=" into your kernel or loaded as a module to use the"
- ERROR_TUN+=" virtual network device if using -net tap."
- ERROR_BRIDGE="You will also need support for 802.1d"
- ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
- use vhost-net && CHECK_CHECK+=" ~VHOST_NET"
- ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
- ERROR_VHOST_NET+=" support"
-
- if use amd64 || use x86 || use amd64-linux || use x86-linux; then
- CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
- fi
-
- use python && CONFIG_CHECK+=" ~DEBUG_FS"
- ERROR_DEBUG_FS="debugFS support required for kvm_stat"
-
- # Now do the actual checks setup above
- check_extra_config
- fi
- fi
-
- if use static; then
- ewarn "USE=static is very much a moving target because of the packages"
- ewarn "we depend on will have their static libs ripped out or wrapped"
- ewarn "with USE=static-libs or USE=static due to continued dicsussion"
- ewarn "on the mailing list about USE=static's place in Gentoo. As a"
- ewarn "result what worked today may not work tomorrow."
- fi
-}
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-
- enewgroup kvm 78
-}
-
-src_prepare() {
- # Alter target makefiles to accept CFLAGS set via flag-o
- sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
- Makefile Makefile.target || die
-
- python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
-
- [[ -n ${BACKPORTS} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
-
- epatch_user
-}
-
-src_configure() {
- local conf_opts audio_opts user_targets
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- einfo "Building the following softmmu targets: ${softmmu_targets}"
-
- if [[ -n ${user_targets} ]]; then
- einfo "Building the following user targets: ${user_targets}"
- conf_opts="${conf_opts} --enable-linux-user"
- else
- conf_opts="${conf_opts} --disable-linux-user"
- fi
-
- # Add support for SystemTAP
- use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
-
- # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
- #conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
-
- # Add support for static builds
- use static && conf_opts="${conf_opts} --static --disable-pie"
-
- # We always want to attempt to build with PIE support as it results
- # in a more secure binary. But it doesn't work with static or if
- # the current GCC doesn't have PIE support.
- if ! use static && gcc-specs-pie; then
- conf_opts="${conf_opts} --enable-pie"
- fi
-
- # audio options
- audio_opts="oss"
- use alsa && audio_opts="alsa,${audio_opts}"
- use sdl && audio_opts="sdl,${audio_opts}"
- use pulseaudio && audio_opts="pa,${audio_opts}"
- use mixemu && conf_opts="${conf_opts} --enable-mixemu"
-
- # conditionally making UUID work on Linux only is wrong
- # but the Gentoo/FreeBSD guys need to figure out what
- # provides libuuid on their platform
- # --enable-vnc-thread will go away in 1.2
- # $(use_enable xen xen-pci-passthrough) for 1.2
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-bsd-user \
- --disable-guest-agent \
- --disable-libiscsi \
- --disable-strip \
- --disable-werror \
- --enable-vnc-jpeg \
- --enable-vnc-png \
- --enable-vnc-thread \
- --python=python2 \
- $(use_enable aio linux-aio) \
- $(use_enable bluetooth bluez) \
- $(use_enable brltty brlapi) \
- $(use_enable caps cap-ng) \
- $(use_enable curl) \
- $(use_enable debug debug-info) \
- $(use_enable debug debug-mon) \
- $(use_enable debug debug-tcg) \
- $(use_enable doc docs) \
- $(use_enable fdt) \
- $(use_enable kernel_linux kvm) \
- $(use_enable kernel_linux kvm-device-assignment) \
- $(use_enable kernel_linux nptl) \
- $(use_enable kernel_linux uuid) \
- $(use_enable ncurses curses) \
- $(use_enable opengl) \
- $(use_enable rbd) \
- $(use_enable sasl vnc-sasl) \
- $(use_enable sdl) \
- $(use_enable smartcard smartcard) \
- $(use_enable smartcard smartcard-nss) \
- $(use_enable spice) \
- $(use_enable tci tcg-interpreter) \
- $(use_enable tls vnc-tls) \
- $(use_enable usbredir usb-redir) \
- $(use_enable vde) \
- $(use_enable vhost-net) \
- $(use_enable virtfs) \
- $(use_enable xattr attr) \
- $(use_enable xen) \
- $(use_enable xfs xfsctl) \
- --audio-drv-list=${audio_opts} \
- --target-list="${softmmu_targets} ${user_targets}" \
- --cc="$(tc-getCC)" \
- --host-cc="$(tc-getBUILD_CC)" \
- ${conf_opts} \
- || die "configure failed"
-
- # FreeBSD's kernel does not support QEMU assigning/grabbing
- # host USB devices yet
- use kernel_FreeBSD && \
- sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
-}
-
-src_install() {
- emake DESTDIR="${ED}" install
-
- if [[ -n ${softmmu_targets} ]]; then
- if use kernel_linux; then
- insinto /lib/udev/rules.d/
- doins "${FILESDIR}"/65-kvm.rules
- fi
-
- if use qemu_softmmu_targets_x86_64 ; then
- dobin "${FILESDIR}"/qemu-kvm
- ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
- ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
- ewarn "your libvirt configs or other wrappers for ${PN}"
- else
- elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
- elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
- fi
- fi
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt
- newdoc pc-bios/README README.pc-bios
-
- if use doc; then
- dohtml qemu-doc.html qemu-tech.html || die
- fi
-
- use python & dobin scripts/kvm/kvm_stat
-
- # Remove SeaBIOS since we're using the SeaBIOS packaged one
- rm "${ED}/usr/share/qemu/bios.bin"
- dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
-
- # Remove vgabios since we're using the vgabios packaged one
- rm "${ED}/usr/share/qemu/vgabios.bin"
- rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
- rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
- rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
- rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
- dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
- dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
- dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
- dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
- dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
-
- # Remove sgabios since we're using the sgabios packaged one
- rm "${ED}/usr/share/qemu/sgabios.bin"
- dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
-}
-
-pkg_postinst() {
- if [[ -n ${softmmu_targets} ]]; then
- elog "If you don't have kvm compiled into the kernel, make sure you have"
- elog "the kernel module loaded before running kvm. The easiest way to"
- elog "ensure that the kernel module is loaded is to load it on boot."
- elog "For AMD CPUs the module is called 'kvm-amd'"
- elog "For Intel CPUs the module is called 'kvm-intel'"
- elog "Please review /etc/conf.d/modules for how to load these"
- elog
- elog "Make sure your user is in the 'kvm' group"
- elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
- elog
- elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
- elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
- fi
-}
diff --git a/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild b/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild
deleted file mode 100644
index 1c04e601a82c..000000000000
--- a/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild
+++ /dev/null
@@ -1,386 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild,v 1.60 2012/09/10 21:39:34 cardoe Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
-#BACKPORTS=1
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
- inherit git-2
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
- ${BACKPORTS:+
- http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.xz}"
- KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-fi
-
-DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
-HOMEPAGE="http://www.linux-kvm.org"
-
-LICENSE="GPL-2 LGPL-2 BSD-2"
-SLOT="0"
-IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt kernel_linux \
-kernel_FreeBSD mixemu ncurses opengl pulseaudio python rbd sasl sdl \
-smartcard spice static systemtap tci tls usbredir vde +vhost-net \
-virtfs xattr xen xfs"
-
-COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb xtensa xtensaeb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
-
-# Setup the default SoftMMU targets, while using the loops
-# below to setup the other targets. x86_64 should be the only
-# defaults on for qemu-kvm
-IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
-REQUIRED_USE="|| ( qemu_softmmu_targets_x86_64"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- if [ "x${target}" = "xx86_64" ]; then
- continue
- fi
- IUSE="${IUSE} qemu_softmmu_targets_${target}"
- REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
-done
-REQUIRED_USE="${REQUIRED_USE} )"
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} qemu_user_targets_${target}"
-done
-
-REQUIRED_USE="${REQUIRED_USE}
- static? ( !alsa !pulseaudio )
- amd64? ( qemu_softmmu_targets_x86_64 )
- x86? ( qemu_softmmu_targets_x86_64 )
- virtfs? ( xattr )"
-
-# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
-RDEPEND="
- !app-emulation/kqemu
- !app-emulation/qemu
- !<app-emulation/qemu-1.0
- >=dev-libs/glib-2.0
- media-libs/libpng
- sys-apps/pciutils
- sys-firmware/ipxe
- >=sys-firmware/seabios-1.7.0
- sys-firmware/sgabios
- sys-firmware/vgabios
- virtual/jpeg
- aio? ( dev-libs/libaio )
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- bluetooth? ( net-wireless/bluez )
- brltty? ( app-accessibility/brltty )
- caps? ( sys-libs/libcap-ng )
- curl? ( >=net-misc/curl-7.15.4 )
- fdt? ( >=sys-apps/dtc-1.2.0 )
- kernel_linux? ( >=sys-apps/util-linux-2.16.0 )
- ncurses? ( sys-libs/ncurses )
- opengl? ( virtual/opengl )
- pulseaudio? ( media-sound/pulseaudio )
- python? ( =dev-lang/python-2*[ncurses] )
- rbd? ( sys-cluster/ceph )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
- !static? ( >=media-libs/libsdl-1.2.11[X] ) )
- static? ( sys-libs/zlib[static-libs(+)] )
- !static? ( sys-libs/zlib )
- smartcard? ( dev-libs/nss )
- spice? ( >=app-emulation/spice-protocol-0.8.1
- static? ( >=app-emulation/spice-0.9.0[static-libs] )
- !static? ( >=app-emulation/spice-0.9.0 )
- )
- systemtap? ( dev-util/systemtap )
- tls? ( net-libs/gnutls )
- usbredir? ( sys-apps/usbredir )
- vde? ( net-misc/vde )
- virtfs? ( sys-libs/libcap )
- xattr? ( sys-apps/attr )
- xen? ( app-emulation/xen-tools )
- xfs? ( sys-fs/xfsprogs )"
-
-DEPEND="${RDEPEND}
- app-text/texi2html
- virtual/pkgconfig
- kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )"
-
-STRIP_MASK="/usr/share/qemu/palcode-clipper"
-
-QA_PREBUILT="
- usr/share/qemu/openbios-ppc
- usr/share/qemu/openbios-sparc64
- usr/share/qemu/openbios-sparc32
- usr/share/qemu/palcode-clipper"
-
-QA_WX_LOAD="${QA_PRESTRIPPED}
- usr/bin/qemu-i386
- usr/bin/qemu-x86_64
- usr/bin/qemu-alpha
- usr/bin/qemu-arm
- usr/bin/qemu-cris
- usr/bin/qemu-m68k
- usr/bin/qemu-microblaze
- usr/bin/qemu-mips
- usr/bin/qemu-mipsel
- usr/bin/qemu-ppc
- usr/bin/qemu-ppc64
- usr/bin/qemu-ppc64abi32
- usr/bin/qemu-sh4
- usr/bin/qemu-sh4eb
- usr/bin/qemu-sparc
- usr/bin/qemu-sparc64
- usr/bin/qemu-armeb
- usr/bin/qemu-sparc32plus"
-
-pkg_pretend() {
- if use kernel_linux && kernel_is lt 2 6 25; then
- eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
- elif use kernel_linux; then
- if ! linux_config_exists; then
- eerror "Unable to check your kernel for KVM support"
- else
- CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
- ERROR_KVM="You must enable KVM in your kernel to continue"
- ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
- ERROR_KVM_AMD+=" your kernel configuration."
- ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
- ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
- ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
- ERROR_TUN+=" into your kernel or loaded as a module to use the"
- ERROR_TUN+=" virtual network device if using -net tap."
- ERROR_BRIDGE="You will also need support for 802.1d"
- ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
- use vhost-net && CHECK_CHECK+=" ~VHOST_NET"
- ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
- ERROR_VHOST_NET+=" support"
-
- if use amd64 || use x86 || use amd64-linux || use x86-linux; then
- CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
- fi
-
- use python && CONFIG_CHECK+=" ~DEBUG_FS"
- ERROR_DEBUG_FS="debugFS support required for kvm_stat"
-
- # Now do the actual checks setup above
- check_extra_config
- fi
- fi
-
- if use static; then
- ewarn "USE=static is very much a moving target because of the packages"
- ewarn "we depend on will have their static libs ripped out or wrapped"
- ewarn "with USE=static-libs or USE=static due to continued dicsussion"
- ewarn "on the mailing list about USE=static's place in Gentoo. As a"
- ewarn "result what worked today may not work tomorrow."
- fi
-}
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-
- enewgroup kvm 78
-}
-
-src_prepare() {
- # Alter target makefiles to accept CFLAGS set via flag-o
- sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
- Makefile Makefile.target || die
-
- python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
-
- epatch "${FILESDIR}"/${P}-fix-mipsen.patch
- [[ -n ${BACKPORTS} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
-
- epatch_user
-}
-
-src_configure() {
- local conf_opts audio_opts user_targets
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- einfo "Building the following softmmu targets: ${softmmu_targets}"
-
- if [[ -n ${user_targets} ]]; then
- einfo "Building the following user targets: ${user_targets}"
- conf_opts="${conf_opts} --enable-linux-user"
- else
- conf_opts="${conf_opts} --disable-linux-user"
- fi
-
- # Add support for SystemTAP
- use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
-
- # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
- #conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
-
- # Add support for static builds
- use static && conf_opts="${conf_opts} --static --disable-pie"
-
- # We always want to attempt to build with PIE support as it results
- # in a more secure binary. But it doesn't work with static or if
- # the current GCC doesn't have PIE support.
- if ! use static && gcc-specs-pie; then
- conf_opts="${conf_opts} --enable-pie"
- fi
-
- # audio options
- audio_opts="oss"
- use alsa && audio_opts="alsa,${audio_opts}"
- use sdl && audio_opts="sdl,${audio_opts}"
- use pulseaudio && audio_opts="pa,${audio_opts}"
- use mixemu && conf_opts="${conf_opts} --enable-mixemu"
-
- # conditionally making UUID work on Linux only is wrong
- # but the Gentoo/FreeBSD guys need to figure out what
- # provides libuuid on their platform
- # --enable-vnc-thread will go away in 1.2
- # $(use_enable xen xen-pci-passthrough) for 1.2
- # $(use_enable debug debug-mon) goes away for 1.2
- # --disable-seccomp as in-tree seccomp is API incompatible (in-tree
- # version is ancient)
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-bsd-user \
- --disable-guest-agent \
- --disable-libiscsi \
- --disable-strip \
- --disable-werror \
- --enable-vnc-jpeg \
- --enable-vnc-png \
- --python=python2 \
- --disable-seccomp \
- $(use_enable aio linux-aio) \
- $(use_enable bluetooth bluez) \
- $(use_enable brltty brlapi) \
- $(use_enable caps cap-ng) \
- $(use_enable curl) \
- $(use_enable debug debug-info) \
- $(use_enable debug debug-tcg) \
- $(use_enable doc docs) \
- $(use_enable fdt) \
- $(use_enable kernel_linux kvm) \
- $(use_enable kernel_linux nptl) \
- $(use_enable kernel_linux uuid) \
- $(use_enable ncurses curses) \
- $(use_enable opengl) \
- $(use_enable rbd) \
- $(use_enable sasl vnc-sasl) \
- $(use_enable sdl) \
- $(use_enable smartcard smartcard) \
- $(use_enable smartcard smartcard-nss) \
- $(use_enable spice) \
- $(use_enable tci tcg-interpreter) \
- $(use_enable tls vnc-tls) \
- $(use_enable usbredir usb-redir) \
- $(use_enable vde) \
- $(use_enable vhost-net) \
- $(use_enable virtfs) \
- $(use_enable xattr attr) \
- $(use_enable xen) \
- $(use_enable xen xen-pci-passthrough) \
- $(use_enable xfs xfsctl) \
- --audio-drv-list=${audio_opts} \
- --target-list="${softmmu_targets} ${user_targets}" \
- --cc="$(tc-getCC)" \
- --host-cc="$(tc-getBUILD_CC)" \
- ${conf_opts} \
- || die "configure failed"
-
- # FreeBSD's kernel does not support QEMU assigning/grabbing
- # host USB devices yet
- use kernel_FreeBSD && \
- sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
-}
-
-src_install() {
- emake DESTDIR="${ED}" install
-
- if [[ -n ${softmmu_targets} ]]; then
- if use kernel_linux; then
- insinto /lib/udev/rules.d/
- doins "${FILESDIR}"/65-kvm.rules
- fi
-
- if use qemu_softmmu_targets_x86_64 ; then
- dobin "${FILESDIR}"/qemu-kvm
- ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
- ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
- ewarn "your libvirt configs or other wrappers for ${PN}"
- else
- elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
- elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
- fi
- fi
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt
- newdoc pc-bios/README README.pc-bios
-
- if use doc; then
- dohtml qemu-doc.html qemu-tech.html || die
- fi
-
- use python & dobin scripts/kvm/kvm_stat
-
- # Remove SeaBIOS since we're using the SeaBIOS packaged one
- rm "${ED}/usr/share/qemu/bios.bin"
- dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
-
- # Remove vgabios since we're using the vgabios packaged one
- rm "${ED}/usr/share/qemu/vgabios.bin"
- rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
- rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
- rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
- rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
- dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
- dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
- dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
- dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
- dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
-
- # Remove sgabios since we're using the sgabios packaged one
- rm "${ED}/usr/share/qemu/sgabios.bin"
- dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
-
- # Remove iPXE since we're using the iPXE packaged one
- rm "${ED}/usr/share/qemu/pxe-*.rom"
- dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
- dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
- dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
- dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
- dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
- dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
-}
-
-pkg_postinst() {
- if [[ -n ${softmmu_targets} ]]; then
- elog "If you don't have kvm compiled into the kernel, make sure you have"
- elog "the kernel module loaded before running kvm. The easiest way to"
- elog "ensure that the kernel module is loaded is to load it on boot."
- elog "For AMD CPUs the module is called 'kvm-amd'"
- elog "For Intel CPUs the module is called 'kvm-intel'"
- elog "Please review /etc/conf.d/modules for how to load these"
- elog
- elog "Make sure your user is in the 'kvm' group"
- elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
- elog
- elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
- elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
- fi
-}