From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: qemu-kvm replacement
Date: Tue, 10 Jun 2014 16:45:13 -0700 [thread overview]
Message-ID: <ln85a6$mdc$1@ger.gmane.org> (raw)
In-Reply-To: <2889749.bhUys7Nap2@chiefwiggum>
On 06/10/2014 02:31 PM, Heiko Zinke wrote:
> 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?
I believe "accel=kvm" is obsolete now. "-enable-kvm" is the magic word
lately. Try "qemu-system-x86_64 -help" for more info than you want :)
next prev parent reply other threads:[~2014-06-10 23:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 21:31 [gentoo-user] qemu-kvm replacement Heiko Zinke
2014-06-10 21:36 ` Rich Freeman
2014-06-11 2:38 ` Mike Gilbert
2014-06-10 23:45 ` walt [this message]
2014-06-11 1:52 ` [gentoo-user] " Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ln85a6$mdc$1@ger.gmane.org' \
--to=w41ter@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox