From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5C8281387FD for ; Tue, 10 Jun 2014 21:31:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37ECEE0A87; Tue, 10 Jun 2014 21:31:42 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04E33E0A64 for ; Tue, 10 Jun 2014 21:31:40 +0000 (UTC) Received: from bitch ([2.171.69.211]) by mrelayeu.kundenserver.de (node=mreue007) with ESMTP (Nemesis) id 0MKPas-1WspkT1aZ4-001j9X; Tue, 10 Jun 2014 23:31:39 +0200 Received: from chiefwiggum.local.lan ([192.168.23.1]:60552 helo=chiefwiggum.localnet) by bitch with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1WuTdn-0000kh-2B for gentoo-user@lists.gentoo.org; Tue, 10 Jun 2014 23:31:38 +0200 From: Heiko Zinke To: gentoo-user@lists.gentoo.org Date: Tue, 10 Jun 2014 23:31:33 +0200 Message-ID: <2889749.bhUys7Nap2@chiefwiggum> User-Agent: KMail/4.12.5 (Linux/3.12.21-gentoo-r1; KDE/4.12.5; x86_64; ; ) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SA-Exim-Connect-IP: 192.168.23.1 X-SA-Exim-Mail-From: mails@rabuju.com Subject: [gentoo-user] qemu-kvm replacement X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: No (on bitch); Unknown failure X-Provags-ID: V02:K0:kTGzZQg1hAN793pm6DaWoEUefm02SqPqVT/KX3A/0Ss ImudOE9XjYQpQRKbm6IKoDrCXjh89Dte5i0oKi77LiO7E73G99 dKSrLA3Oq+YWa2adFFYajQiPn2z+B5yOA0XbrdeT5E2roAvWzc Eg9VrUxVIpZhTQozewJcrqcUhnZ3PYqZQNJzQNpbMu2xJ63eUh 2kbbBTzkl4VnhLgVLL0J4wGaEyfZ3GHFp/ee9u1mcj4ChudW+K Wc2faHjbo6uITfipgEAQy/adR+rHNCdqotdHSohkZubeGEIhvK o2hJaWJM0EGidjwwYt2Ae/39lcF6bXrJWOiJCfNm27yNuad7Q= = X-Archives-Salt: a861da51-dc27-4392-90c2-a0021f01da10 X-Archives-Hash: bb6175e0a9e576185092b8c1a0cf3dc1 Hi, with my recent qemu update from 1.6 to 2.0 I got the following error: * The kvm/qemu-kvm wrappers no longer exist, but your libvirt * instances are still pointing to it. Please update your * configs in /etc/libvirt/qemu/ to use the -enable-kvm flag * and the right system binary (e.g. qemu-system-x86_64). * ERROR: app-emulation/qemu-2.0.0::gentoo failed (pretend phase): * update your virt configs to not use qemu-kvm * * Call stack: * ebuild.sh, line 93: Called pkg_pretend * qemu-2.0.0.ebuild, line 225: Called die * The specific snippet of code: * die "update your virt configs to not use qemu-kvm" I found this bug which explains the why but sadly not the how. https://bugs.gentoo.org/show_bug.cgi?id=506566 I need to get rid of the reference to the /usr/bin/qemu-kvm shell script which is basically only a wrapper for "exec /usr/bin/qemu-system-x86_64 -machine accel=kvm "$@"" So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this error :( "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm: No such file or directory" How is this supposed to work? Do I need to create a custom shell skript or just use /usr/bin/qemu-system-x86_64 w/o the args an hope it magically uses kvm acceleration? thanks for the help! heiko -- Just go ahead and write your own multitasking multiuser os! Worked for me all the times. -- Linus Torvalds