[libvirt-users] virt-install: "ERROR Host does not support any virtualization options"

Michal Privoznik mprivozn at redhat.com
Tue Feb 7 10:06:07 UTC 2012


On 06.02.2012 19:58, Felix Blanke wrote:
> Hello,
> 
> I have a problem with virt-install. I want to use it to create my vm and
> manage them. But whenever I execute the virt-install cmd I get the error
> msg mentioned in the subject.
> 
> Here are some more informations:
> 
> hp ~ # virt-install --virt-type kvm --arch x86_64 --debug
> Mon, 06 Feb 2012 19:57:29 DEBUG    Launched with command line:
> /usr/bin/virt-install --virt-type kvm --arch x86_64 --debug
> Mon, 06 Feb 2012 19:57:29 DEBUG    Requesting libvirt URI default
> Mon, 06 Feb 2012 19:57:29 DEBUG    Received libvirt URI qemu:///system
> Mon, 06 Feb 2012 19:57:29 DEBUG    Requesting virt method 'default', hv
> type 'kvm'.
> Mon, 06 Feb 2012 19:57:29 ERROR    Host does not support any
> virtualization options for arch 'x86_64'
> Mon, 06 Feb 2012 19:57:29 DEBUG    Traceback (most recent call last):
>   File "/usr/bin/virt-install-2.7", line 272, in get_virt_type
>     machine=options.machine)
>   File
> "/usr/lib64/python2.7/site-packages/virtinst/CapabilitiesParser.py",
> line 732, in guest_lookup
>     {'virttype' : osstr, 'arch' : archstr})
> ValueError: Host does not support any virtualization options for arch
> 'x86_64'
> 
> 
> hp ~ # virsh --connect qemu:///system
>  Welcome to virsh, the virtualization interactive terminal.
> 
>  Type:  'help' for help with commands
>         'quit' to quit
> 
>  virsh # capabilities
>  <capabilities>
> 
>    <host>
>      <uuid>604c8a12-cb5b-d911-985d-5404a67ef15d</uuid>
>      <cpu>
>        <arch>x86_64</arch>
>        <model>Westmere</model>
>        <vendor>Intel</vendor>
>        <topology sockets='1' cores='4' threads='2'/>
>        <feature name='rdtscp'/>
>        <feature name='x2apic'/>
>        <feature name='xtpr'/>
>        <feature name='tm2'/>
>        <feature name='est'/>
>        <feature name='vmx'/>
>        <feature name='ds_cpl'/>
>        <feature name='monitor'/>
>        <feature name='pbe'/>
>        <feature name='tm'/>
>        <feature name='ht'/>
>        <feature name='ss'/>
>        <feature name='acpi'/>
>        <feature name='ds'/>
>        <feature name='vme'/>
>      </cpu>
>      <migration_features>
>        <live/>
>        <uri_transports>
>          <uri_transport>tcp</uri_transport>
>        </uri_transports>
>      </migration_features>
>    </host>
> 
>  </capabilities>
> 
> 
> 
> I have no clue what is going on. I have kvm compiled into my kernel.
> Normal "kvm" commands are working. Intel VT is enabled in the bios.
> 
> 
> Any thoughts on this one?
> 

Do you have qemu installed? Under what paths?
Libvirt tries to find qemu-kvm under PATH or /usr/libexec/;
then kvm and qemu-system-* under PATH;

What about /dev/kvm - is it accessible?

Please, provide libvirt logs as well.

Michal




More information about the libvirt-users mailing list