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 112BD1387FD for ; Wed, 11 Jun 2014 02:38:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5910CE0A84; Wed, 11 Jun 2014 02:38:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45C76E0A5E for ; Wed, 11 Jun 2014 02:38:36 +0000 (UTC) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 5602B33FFFF for ; Wed, 11 Jun 2014 02:38:35 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id a13so5801139igq.0 for ; Tue, 10 Jun 2014 19:38:33 -0700 (PDT) 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 X-Received: by 10.50.97.68 with SMTP id dy4mr49968223igb.8.1402454313578; Tue, 10 Jun 2014 19:38:33 -0700 (PDT) Received: by 10.64.227.50 with HTTP; Tue, 10 Jun 2014 19:38:33 -0700 (PDT) In-Reply-To: References: <2889749.bhUys7Nap2@chiefwiggum> Date: Tue, 10 Jun 2014 22:38:33 -0400 Message-ID: Subject: Re: [gentoo-user] qemu-kvm replacement From: Mike Gilbert To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: b7094933-fa4a-4e3c-afc9-17279afc3959 X-Archives-Hash: 376f8de2726389c3ca11a7f18dd321f3 On Tue, Jun 10, 2014 at 5:36 PM, Rich Freeman wrote: > On Tue, Jun 10, 2014 at 5:31 PM, Heiko Zinke wrote: >> >> 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" > > I replaced /usr/bin/qemu-kvm with /usr/bin/qemu-system-x86_64 and > everything worked fine. > > However, perhaps leaving out the --enabled-kvm will cause some > problem. If you do need to pass a parameter there may be some other > way to specify it - I'd have to read the xsd or the docs. > Using /usr/bin/qemu-system-x86_64 should be fine. It looks like libvirt will automatically append accel=kvm to the machine options, which is equivalent to -enable-kvm.