Re: libvirt git doesn't know to use -no-kvm on qemu-kvm 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]