public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: qemu-kvm replacement
Date: Tue, 10 Jun 2014 21:52:45 -0400	[thread overview]
Message-ID: <CAJ0EP41Q-WaNXzYbZJdrse9G-Y=ObJmpBmDitWPw9J-XQhiBSA@mail.gmail.com> (raw)
In-Reply-To: <ln85a6$mdc$1@ger.gmane.org>

On Tue, Jun 10, 2014 at 7:45 PM, walt <w41ter@gmail.com> wrote:
> 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 :)
>

Reading through the source code, -enable-kvm seems to be equivalent to
-machine accel=kvm.


      reply	other threads:[~2014-06-11  1:52 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 ` [gentoo-user] " walt
2014-06-11  1:52   ` Mike Gilbert [this message]

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='CAJ0EP41Q-WaNXzYbZJdrse9G-Y=ObJmpBmDitWPw9J-XQhiBSA@mail.gmail.com' \
    --to=floppym@gentoo.org \
    --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