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]

 



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.

- Cole

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