summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-08-13 00:02:40 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-08-13 00:02:40 +0000
commitabdcedec8e43c6740eb1d9f3993b15e01573c15b (patch)
treecfe82a279c1478a7344c920c78de242fd9c1654e /app-emulation
parentUpstreamed fixes for the following: issues with --disable-kvm, glibc 2.16 sup... (diff)
downloadhistorical-abdcedec8e43c6740eb1d9f3993b15e01573c15b.tar.gz
historical-abdcedec8e43c6740eb1d9f3993b15e01573c15b.tar.bz2
historical-abdcedec8e43c6740eb1d9f3993b15e01573c15b.zip
Remove older version
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu-kvm/ChangeLog5
-rw-r--r--app-emulation/qemu-kvm/Manifest4
-rw-r--r--app-emulation/qemu-kvm/qemu-kvm-0.15.1-r1.ebuild299
3 files changed, 5 insertions, 303 deletions
diff --git a/app-emulation/qemu-kvm/ChangeLog b/app-emulation/qemu-kvm/ChangeLog
index 7870111aca46..54404a1d775c 100644
--- a/app-emulation/qemu-kvm/ChangeLog
+++ b/app-emulation/qemu-kvm/ChangeLog
@@ -1,6 +1,9 @@
# 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.151 2012/08/13 00:00:38 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/ChangeLog,v 1.152 2012/08/13 00:02:40 cardoe Exp $
+
+ 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)
diff --git a/app-emulation/qemu-kvm/Manifest b/app-emulation/qemu-kvm/Manifest
index 0714a4af53c3..f07adae54edf 100644
--- a/app-emulation/qemu-kvm/Manifest
+++ b/app-emulation/qemu-kvm/Manifest
@@ -8,16 +8,14 @@ AUX qemu-kvm-1.0-fix-qemu-system-ppc.patch 1071 SHA256 22a9e989806477e943a09a3ad
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
-DIST qemu-kvm-0.15.1.tar.gz 5915998 SHA256 aed6a3faa76c1e9601b4b5b8adbe5867a70c64567175f44944d88e16bd49733e SHA512 d0f1a10c18157bfaed159f63dc954781c7051eda118652295dbb4203c7f2b8abf1b4b137d8c69d85f7662f145dad0a6a0243fc8029d15648439431b55e07fe8a WHIRLPOOL 42346ae1825d9f25925e179147c21625d1eca6cc35ecf4a2913e39ab72e938bc0497bf06fe749a094cf15ea81e21feb8c17da04cc7e94f39cd0f81fe62deb654
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-0.15.1-r1.ebuild 9562 SHA256 4cc8feb7ebd3bf188db3e445eb0fde6b9b54fec8d921dac18d2609d301cd93b2 SHA512 cd0e0fed0d7087bef1cb5b04ab53cffe6ae1fef9fa74772ccd6ee569e5dc2ccd9a26ad308b5e189a69dcd66a22e14dd98c5ec96fdce64724e2c3547075c5ce3a WHIRLPOOL f4ae05b7018ad7f9433a38be46bce84f5571527775e7d2259b83c57fcad4fef6a1ae8de1b1ae6e8204441d41ff7f3ba9073fd4f1bfb56801951beade24188df9
EBUILD qemu-kvm-1.0.1-r1.ebuild 12217 SHA256 a5de4936ba34566a0e1f18bbe8e4e42c5ebd24c3c8178b3fc5060a956774f60f SHA512 f40f470facd48c17e8cf526428f7e69d25c119c8e5a124492be47f5096a62032b5d38ccea20603a5adecc220b74050583c86033bfe67a463197f996c32296a1c WHIRLPOOL 685f5b7883ca99783424dcb4f321f6d817523201a66a9bba7612435f8c8d29aeab444a37dcb822fefab986e41e9ae9454bb572d80333ede9d43ae0866cd4bd4f
EBUILD qemu-kvm-1.0.1.ebuild 11494 SHA256 d0ddd2e3127b87ac1c35a34e88c6d2ba2266684198a64c36da8a0a1e2cb30ccf SHA512 46c20f22a55432df629a6558a013ec8d27afb877bb622b5dd46d8c545e8a65fba730346159ac0d5d5e71b6de5f3c8deb9d30b63b5dbb611f1b98a982777becb5 WHIRLPOOL d7d8f90da9614b497af75ddecf5e38768d9ee280610964fcff6c77cc095f94c59d5814c3821e068bb60764b653fedf2c6ea80b12e179a6fa6485702ee30c2baf
EBUILD qemu-kvm-1.1.1-r1.ebuild 11611 SHA256 b5e134606e4278c61919f352172234a4b9c2def816737d440d5db7fe0964649b SHA512 fe36148787172e171142bb826eba8440a9ee8db2bef94b3e495cd4daf420c96c4e5a083057f9d6f438e1bcad63b46181d920a2f0e8036d4fcc0cc068ef8abd00 WHIRLPOOL d67d8c6b9ccb2c1ca1dab66b1487a2cddd4ba7c37cb38e2280b9a316af885ed54cf5c2410d2a856b55657aeb592b71895025a565908ba7ab713d15799801ee76
EBUILD qemu-kvm-1.1.1-r3.ebuild 11697 SHA256 ecd3cc654fd6fa78cecfc1c5ddf557d2d61290b2c304d146ca69bb9b8ede0197 SHA512 5f94ca9793cbfc3d652391d660ff238e0e2d8b5d3ed8acec53404fa898fd1978f380827742e3d913a02f18c49b886cc97048ab49668c38424589bf103e828116 WHIRLPOOL c7c5936f330ffeec0461da36960683933e56031f741300cb25f3e037c37418ce26efcd9eab47d312f542735faa0784477fa60f8ea65b0a6ca5cc35e66719bfe4
EBUILD qemu-kvm-9999.ebuild 11713 SHA256 1c9ee155c57faef45c75bdf35267133f805993dee3a53b9b74773e0ef233e58a SHA512 c667a29d3d9a55ea0c1408ac95d169e3c497c1db5149d0a4bf00b161581f6822cfc61770e64066c891d29f44e08cb461e941811f7dca1430266addd07763a715 WHIRLPOOL 26a4c27de93ce2e2c450c7bf39baf7fa4db18f366c13febfa30636b20f57c3f7ce05e3a550a954417ff50d76a3b604dec6714034222d68ae1c66c6cd67805577
-MISC ChangeLog 30155 SHA256 2220f693e1b9858bd05e64a7ae9b01d255e02f7a27822915977f96284dd399aa SHA512 6e6c4f5932f509079b1cefe8b4aa984bc8bce27b79fc8641402c8e37efa71162bc19b31f918345153ff2aa2de3ca044db9231130f3831761db24d1570dcbe2c4 WHIRLPOOL 1bbe1c9f3fae9303072e3269dfd62d30801502ad7d4ab6a0d43077958376d3176b9a8d8ed3873d9c7fb035e986539d2b34f8128ac121a9e5fd066636770da4b8
+MISC ChangeLog 30257 SHA256 92d20b83b8cab028842740550d7cdda4f3a9ed2ada15f3a80e2637e21560068c SHA512 ec49e01779a844098c74c2369771923c011dae4434d6f7d069cafa2e1b8e97a5da08eea0931da43f0ce4713abdf4b81010a4b58c3d3b0779b74f50b4e43e5a29 WHIRLPOOL c494f0929aa8ee402fac784b637113524e74de1e31e04057690ffda6c970f6ac38ec8a9c21b0acae4111e9307871d5cd9b1c34d164cb24708600db24618a49b1
MISC metadata.xml 2673 SHA256 88f989681c5411635d2cdaaf912a683ccb248ce27574af096145bcab396ae2c9 SHA512 030f6b3ea35ed02a506f8ec80428254e3be93940637ca762479a61c482212d4da2a20021b8a0212b9844908ddab53781ef7ad5c0e72e5f8cf75f49ef2c10f55d WHIRLPOOL 245439b26e68e4193c2e0a4a4627ccbb750e888b7767655f89ddfb403b17759b99404313e1fe18bb422ebf9aae92fb7e570a1d301f0131b51e6022504b288b50
diff --git a/app-emulation/qemu-kvm/qemu-kvm-0.15.1-r1.ebuild b/app-emulation/qemu-kvm/qemu-kvm-0.15.1-r1.ebuild
deleted file mode 100644
index 3c778ed8105c..000000000000
--- a/app-emulation/qemu-kvm/qemu-kvm-0.15.1-r1.ebuild
+++ /dev/null
@@ -1,299 +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-0.15.1-r1.ebuild,v 1.10 2012/07/28 22:20:23 cardoe Exp $
-
-#BACKPORTS=1
-
-EAPI="3"
-
-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"
-SLOT="0"
-# xen is disabled until the deps are fixed
-IUSE="+aio alsa bluetooth brltty curl debug fdt hardened jpeg ncurses nss \
-png pulseaudio qemu-ifup rbd sasl sdl spice ssl threads vde \
-+vhost-net xattr xen"
-# static, depends on libsdl being built with USE=static-libs, which can not
-# be expressed in current EAPI's
-
-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
-
-RESTRICT="test"
-
-RDEPEND="
- !app-emulation/kqemu
- !app-emulation/qemu
- !app-emulation/qemu-user
- >=dev-libs/glib-2.0
- sys-apps/pciutils
- >=sys-apps/util-linux-2.16.0
- sys-libs/zlib
- amd64? ( sys-firmware/seabios )
- x86? ( sys-firmware/seabios )
- 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 )
- jpeg? ( virtual/jpeg )
- ncurses? ( sys-libs/ncurses )
- nss? ( dev-libs/nss )
- png? ( media-libs/libpng )
- pulseaudio? ( media-sound/pulseaudio )
- qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
- rbd? ( sys-cluster/ceph )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( >=media-libs/libsdl-1.2.11[X] )
- spice? ( >=app-emulation/spice-0.6.0 )
- ssl? ( net-libs/gnutls )
- 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"
-
-kvm_kern_warn() {
- eerror "Please enable KVM support in your kernel, found at:"
- eerror
- eerror " Virtualization"
- eerror " Kernel-based Virtual Machine (KVM) support"
- eerror
-}
-
-pkg_setup() {
- if ! use qemu_softmmu_targets_x86_64 && use x86_64 ; 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"
- kvm_kern_warn
- elif ! linux_chkconfig_present KVM; then
- kvm_kern_warn
- fi
- if use vhost-net && ! linux_chkconfig_present VHOST_NET ; then
- ewarn "You have to enable CONFIG_VHOST_NET in the kernel"
- ewarn "to have vhost-net support."
- fi
- fi
-
- python_set_active_version 2
-
- enewgroup kvm
-}
-
-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"
-
- [[ -n ${BACKPORTS} ]] && \
- EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
- epatch
-}
-
-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 [ ! -z "${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 --disable-strip"
-
- # Fix the $(prefix)/etc issue
- conf_opts="${conf_opts} --sysconfdir=/etc"
-
- #config options
- conf_opts="${conf_opts} $(use_enable aio linux-aio)"
- conf_opts="${conf_opts} $(use_enable bluetooth bluez)"
- conf_opts="${conf_opts} $(use_enable brltty brlapi)"
- conf_opts="${conf_opts} $(use_enable curl)"
- conf_opts="${conf_opts} $(use_enable fdt)"
- conf_opts="${conf_opts} $(use_enable hardened user-pie)"
- conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)"
- conf_opts="${conf_opts} $(use_enable ncurses curses)"
- conf_opts="${conf_opts} $(use_enable nss smartcard-nss)"
- conf_opts="${conf_opts} $(use_enable png vnc-png)"
- conf_opts="${conf_opts} $(use_enable rbd)"
- conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)"
- conf_opts="${conf_opts} $(use_enable sdl)"
- conf_opts="${conf_opts} $(use_enable spice)"
- conf_opts="${conf_opts} $(use_enable ssl vnc-tls)"
- conf_opts="${conf_opts} $(use_enable threads vnc-thread)"
- conf_opts="${conf_opts} $(use_enable vde)"
- conf_opts="${conf_opts} $(use_enable vhost-net)"
- conf_opts="${conf_opts} $(use_enable xen)"
- conf_opts="${conf_opts} $(use_enable xattr attr)"
- conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user"
-
- # 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 \
- --disable-strip \
- --disable-werror \
- --enable-kvm \
- --enable-nptl \
- --enable-uuid \
- ${conf_opts} \
- --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="${D}" install || die "make install failed"
-
- if [ ! -z "${softmmu_targets}" ]; then
- insinto /$(get_libdir)/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
- dosym /usr/bin/qemu-kvm /usr/bin/kvm
- 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 "${D}/usr/share/qemu/bios.bin"
- dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
- fi
-}
-
-pkg_postinst() {
-
- if [ ! -z "${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 "You will need the Universal TUN/TAP driver compiled into your"
- elog "kernel or loaded as a module to use the virtual network device"
- elog "if using -net tap. You will also need support for 802.1d"
- elog "Ethernet Bridging and a configured bridge if using the provided"
- elog "kvm-ifup script from /etc/kvm."
- elog
- elog "The gnutls use flag was renamed to ssl, so adjust your use flags."
- fi
-}