On Sat, Dec 15, 2012 at 05:08:27PM -0500, Cole Robinson wrote:
Libvirt git isn't correctly starting plain qemu guests when using
qemu-kvm 1.2
(on Fedora 18). The problem is that -no-kvm is not passed to the binary, so
the default mode is used, which is kvm=enabled.
The issue comes from capabilities probing: we probe against 'qemu-kvm -M
none', which responds to 'query-kvm' with enabled=False, when regular
invocation is enabled=True.
We should be able to work around this by using -machine ...,accel=kvm|tcg
unconditionally for qemu >= 1.2, and not have to do the -enable-kvm/-no-kvm
dance. accel= has been around for a while and libguestfs uses it so it should
be reliable.
Yep, we should definitely use accel= for modern qemu.
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|