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

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



On 05/02/2011 03:25 PM, Florian Lindner wrote:
> Am Montag 02 Mai 2011, 16:23:10 schrieb Cole Robinson:
>> 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 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.
> 
> Permissions should be fine:
> 
> florian horus ~ % groups
> sys kvm scanner florian
> 
> florian horus ~ % ll /dev/kvm
> crw-rw----+ 1 root kvm 10, 232  2. Mai 21:04 /dev/kvm
> 
> florian horus ~ % ll /usr/bin/qemu*
> -rwxr-xr-x 1 root root 2961888 21. Feb 21:10 /usr/bin/qemu*
> [...]
> -rwxr-xr-x 1 root root 3033280 21. Feb 21:10 /usr/bin/qemu-system-x86_64*
> -rwxr-xr-x 1 root root 2055048 21. Feb 21:10 /usr/bin/qemu-x86_64*
> 
> 
>> What's the output of virsh --connect qemu:///session capabilities | grep
>> kvm and virsh --connect qemu:///system capabilities | grep kvm ?
> 
> They both return nothing, run as user as well as being run as root. When run 
> as user the second commands asks for root priviliges which are granted.
> 

Hmm, full output of virsh --connect qemu:///system capabilities (as
root) and qemu-system-x86_64 -help would be interesting.

- Cole

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