Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] qemu-kvm replacement
Date: Wed, 11 Jun 2014 02:38:45
Message-Id: CAJ0EP431hFbe_fz5ZF2+PP+vaeYOTuSDShmufXS3e0kP2Ki9Sw@mail.gmail.com
In Reply to: Re: [gentoo-user] qemu-kvm replacement by Rich Freeman
1 On Tue, Jun 10, 2014 at 5:36 PM, Rich Freeman <rich0@g.o> wrote:
2 > On Tue, Jun 10, 2014 at 5:31 PM, Heiko Zinke <mails@××××××.com> wrote:
3 >>
4 >> So if I "sudo virsh edit vmname" and substitute "/usr/bin/qemu-kvm" by
5 >> "/usr/bin/qemu-system-x86_64 -machine accel=kvm -enable-kvm" I only get this
6 >> error :(
7 >> "error: Cannot check QEMU binary /usr/bin/qemu-system-x86_64 -machine
8 >> accel=kvm -enable-kvm: No such file or directory"
9 >
10 > I replaced /usr/bin/qemu-kvm with /usr/bin/qemu-system-x86_64 and
11 > everything worked fine.
12 >
13 > However, perhaps leaving out the --enabled-kvm will cause some
14 > problem. If you do need to pass a parameter there may be some other
15 > way to specify it - I'd have to read the xsd or the docs.
16 >
17
18 Using /usr/bin/qemu-system-x86_64 should be fine. It looks like
19 libvirt will automatically append accel=kvm to the machine options,
20 which is equivalent to -enable-kvm.