[virt-tools-list] virt-manger: KVM is not available.

Cole Robinson crobinso at redhat.com
Mon May 2 14:23:10 UTC 2011


On 05/01/2011 05:26 PM, Florian Lindner wrote:
> Hello!
> 
> I have a problem with virt-manage saying my KVM wasn't available.
> 
> System is Archlinux, libvirtd 0.9.0, Kernel 2.6.38.
> CPU is a Phenom X4, supports virtualization.
> 
> modprobe kvm and kvm-amd works fine:
> 
> May  1 23:19:48 localhost kernel: [  750.262215] kvm: Nested Virtualization 
> enabled
> May  1 23:19:48 localhost kernel: [  750.262218] kvm: Nested Paging enabled
> 
> starting up libvirtd:
> 
> May  1 23:21:23 localhost kernel: [  844.527695] Bridge firewalling registered
> May  1 23:21:23 localhost kernel: [  844.537781] tun: Universal TUN/TAP device 
> driver, 1.6
> May  1 23:21:23 localhost kernel: [  844.537784] tun: (C) 1999-2004 Max 
> Krasnyansky <maxk at qualcomm.com>
> May  1 23:21:23 localhost avahi-daemon[1370]: Withdrawing workstation service 
> for .
> May  1 23:21:23 localhost avahi-daemon[1370]: Withdrawing workstation service 
> for virbr0.
> May  1 23:21:23 localhost kernel: [  844.737116] ip_tables: (C) 2000-2006 
> Netfilter Core Team
> May  1 23:21:23 localhost kernel: [  844.752760] ip6_tables: (C) 2000-2006 
> Netfilter Core Team
> 
> 
> start virt-manager as user but granting root priviliges when asked on startup. 
> When creating a new VM it says that KVM is not available.
> 
> qemu -enable-kvm has worked fine so far.
> 
> Why is that error message?
> 
> Thanks,
> 
> Florian
> 

That error means that libvirt did not detect KVM support. Libvirt checks for a
/usr/bin/qemu* binary, /dev/kvm, and proper permissions to run both.

What's the output of virsh --connect qemu:///session capabilities | grep kvm
and virsh --connect qemu:///system capabilities | grep kvm ?

- Cole



More information about the virt-tools-list mailing list