[SATLUG] kvm problems

Ron ron.j.mann at gmail.com
Sat Dec 21 14:35:06 CST 2013


On 12/21/2013 02:05 PM, Borries Demeler wrote:
> On Sat, Dec 21, 2013 at 01:06:53PM -0600, Jason Mann wrote:
>> Is the BIOS configured for virtualization? I had to change one setting to
>> get virtualization working on my laptop.
> Yes, virtualization is enabled in the BIOS - triple-checked.
>
> running in debug mode I get:
>
> virt-install -d -r 2048 --accelerate -n win7 -f /home/kvm-images/win7.img --cdrom /dev/cdrom
> [Sat, 21 Dec 2013 14:02:50 virt-install 1723] DEBUG (cli:222) Launched with command line:
> /usr/share/virt-manager/virt-install -d -r 2048 --accelerate -n win7 -f /home/kvm-images/win7.img --cdrom /dev/cdrom
> [Sat, 21 Dec 2013 14:02:50 virt-install 1723] DEBUG (cli:332) Requesting libvirt URI default
> [Sat, 21 Dec 2013 14:02:50 virt-install 1723] DEBUG (cli:334) Received libvirt URI qemu:///system
> [Sat, 21 Dec 2013 14:02:50 virt-install 1723] DEBUG (virt-install:291) Requesting virt method 'default', hv type 'default'.
> [Sat, 21 Dec 2013 14:02:50 virt-install 1723] ERROR (cli:451) Host does not support any virtualization options
> [Sat, 21 Dec 2013 14:02:50 virt-install 1723] DEBUG (cli:454)
> Traceback (most recent call last):
>    File "/usr/share/virt-manager/virt-install", line 306, in get_virt_type
>      machine=options.machine)
>    File "/usr/share/virt-manager/virtinst/CapabilitiesParser.py", line 748, in guest_lookup
>      {'virttype' : osstr, 'arch' : archstr})
> ValueError: Host does not support any virtualization options
>
>
> Not sure what else to check....Anybody have an idea?
>
> Thanks, -b.
>
>
>> On Dec 21, 2013 12:39 PM, "Borries Demeler" <demeler at biochem.uthscsa.edu>
>> wrote:
>>
>>> I am trying to get kvm to run on my laptop (intel I7 with vmx extensions)
>>> and am running into issues trying to run virt-install to set up a new kvm
>>> image.
>>> I have downloaded and installed from source all the relevant libraries and
>>> programs,
>>> so that libvirtd (ver. 1.2.0) starts up without error, virtualization is
>>> enabled in the bios
>>> (multiple power cycles after enabling), and the kvm-intel module is loaded.
>>>
>>> Yet, when running a command like
>>>
>>> virt-install -r 2048 --accelerate -n win7 -f /home/kvm-images/win7.img
>>> --cdrom /dev/cdrom
>>>
>>> I keep getting: ERROR    Host does not support any virtualization options
>>>
>>> In fact, it doesn't matter what command line option I give to virt-install,
>>> the error is always the same.
>>>
>>> I searched google to no avail (so far). Some suggestions say that RHEL
>>> versions were
>>> mixed to cause this problem, but my laptop is a 03/13 slackware-current64
>>> distro installed
>>> that is kept updated (64-bit with 32-bit extensions). Other suggestions
>>> are the lack of
>>> virtualization support in the bios or cpu, both of which I checked to be
>>> in order.
>>> Kernel module is loaded and /dev/kvm exists. There are no libvirtd errors
>>> logged.
>>>
>>> Any ideas?
>>>
>>> Thanks, and Merry Christmas everyone!
>>>
>>> -Borries
>>>
>>>
>>>
>>>
>>>
>>> --
>>> _______________________________________________
>>> SATLUG mailing list
>>> SATLUG at satlug.org
>>> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
>>> Powered by Rackspace (www.rackspace.com)
>>>
>> -- 
>> _______________________________________________
>> SATLUG mailing list
>> SATLUG at satlug.org
>> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
>> Powered by Rackspace (www.rackspace.com)
I missed the BIOS option mentioned in your earlier email.

Most of the items that I found (google) regarding this sort of error 
message seemed to resolve around qemu. Several sites stated that it 
might be a version numbering issue like 
(http://wiki.libvirt.org/page/Domain_cannot_be_installed) or a PATH 
issue mentioned here 
(https://www.redhat.com/archives/libvirt-users/2012-February/msg00033.html). 


Some places ref'ed this command to check the kvm status:

virsh --connect qemu:///system

I hope that this helps.


More information about the SATLUG mailing list