1 |
On 06/10/2014 02:31 PM, Heiko Zinke wrote: |
2 |
> Hi, |
3 |
> |
4 |
> with my recent qemu update from 1.6 to 2.0 I got the following error: |
5 |
> |
6 |
> * The kvm/qemu-kvm wrappers no longer exist, but your libvirt |
7 |
> * instances are still pointing to it. Please update your |
8 |
> * configs in /etc/libvirt/qemu/ to use the -enable-kvm flag |
9 |
> * and the right system binary (e.g. qemu-system-x86_64). |
10 |
> * ERROR: app-emulation/qemu-2.0.0::gentoo failed (pretend phase): |
11 |
> * update your virt configs to not use qemu-kvm |
12 |
> * |
13 |
> * Call stack: |
14 |
> * ebuild.sh, line 93: Called pkg_pretend |
15 |
> * qemu-2.0.0.ebuild, line 225: Called die |
16 |
> * The specific snippet of code: |
17 |
> * die "update your virt configs to not use qemu-kvm" |
18 |
> |
19 |
> I found this bug which explains the why but sadly not the how. |
20 |
> https://bugs.gentoo.org/show_bug.cgi?id=506566 |
21 |
> |
22 |
> I need to get rid of the reference to the /usr/bin/qemu-kvm shell script which |
23 |
> is basically only a wrapper for "exec /usr/bin/qemu-system-x86_64 -machine |
24 |
> accel=kvm "$@"" |
25 |
> |
26 |
> So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by |
27 |
> "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this |
28 |
> error :( |
29 |
> "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine |
30 |
> accel=kvm -enable-kvm: No such file or directory" |
31 |
> |
32 |
> How is this supposed to work? Do I need to create a custom shell skript or |
33 |
|
34 |
> just use /usr/bin/qemu-system-x86_64 w/o the args an hope it magically uses |
35 |
> kvm acceleration? |
36 |
|
37 |
I believe "accel=kvm" is obsolete now. "-enable-kvm" is the magic word |
38 |
lately. Try "qemu-system-x86_64 -help" for more info than you want :) |