LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   KVM "ERROR Host does not support any virtualization options" (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/kvm-error-host-does-not-support-any-virtualization-options-4175515087/)

acrux 08-16-2014 08:45 PM

KVM "ERROR Host does not support any virtualization options"
 
I have a KVM (CentOS 6.5)on x86_64 sandbox that was working (created a CentOS client, tested, deleted it).

Now when I run virt-install, I get the following error:
ERROR Host does not support any virtualization options

I didn't change anything (yes, I know you've heard that one before!)

Any help will be appreciated, thanks in advance.

Here is all the info I can think of to post:

virt-install command:
virt-install --os-variant=rhel6 --network bridge=br0 --disk /dev/dm-2 --cdrom=/dev/sr0 --ram=2048 --vcpus=1 --name sirius

virt-install comand output:
ERROR Host does not support any virtualization options

#lsmod |grep kvm
kvm_intel 54285 0
kvm 333172 1 kvm_intel


#virsh --version=long
Virsh command line tool of libvirt 0.10.2
See web site at http://libvirt.org/

Compiled with support for:
Hypervisors: QEMU/KVM LXC ESX Test
Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort
Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM
Miscellaneous: Daemon Nodedev SELinux Secrets Debug DTrace Readline



#rpm -qa \*kvm\*
qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64
qemu-kvm-tools-0.12.1.2-2.415.el6_5.10.x86_64



#rpm -qa |grep virt
libvirt-0.10.2-29.el6_5.11.x86_64
python-virtinst-0.600.0-18.el6.noarch
virt-manager-0.9.0-19.el6.x86_64
virt-top-1.0.4-3.15.el6.x86_64
virt-what-1.11-1.2.el6.x86_64
libvirt-python-0.10.2-29.el6_5.11.x86_64
virt-viewer-0.5.6-8.el6.x86_64
libvirt-client-0.10.2-29.el6_5.11.x86_64


** one core from /proc/cpuinfo -shows vmx:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
stepping : 3
cpu MHz : 800.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips : 7000.18
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

smallpond 08-17-2014 02:21 PM

Your CPU has the vmx flag but that does not mean that virtualization is turned on in the BIOS. Try:
Code:

modprobe kvm_intel
dmesg |tail


jefro 08-18-2014 02:43 PM

Did you run virt-install before?

I'll have to agree that maybe bios could have been changed by some fluke if it worked before.

Very unlikely that motherboard or cpu support has become damaged somehow.

acrux 08-20-2014 03:27 AM

Output from dmesg
 
Thanks for your input, I ran modprobe kvm_intel and tailed (last ten lines) of dmesg:

#modprobe kvm_intel
#dmesg |tail
virbr0: starting userspace STP failed, starting kernel STP
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Ebtables v2.0 registered
ip6_tables: (C) 2000-2006 Netfilter Core Team
lo: Dropping TSO features since no CSUM feature.
lo: Disabled Privacy Extensions
br0: no IPv6 routers present
eth0: no IPv6 routers present
EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts:

I also ran yum update (updated 144 packages), but that didn't fix my problem.

GaWdLy 08-21-2014 01:05 AM

Go into the bios and make sure that virtualization is enabled.

dyasny 08-21-2014 08:42 AM

after you enable vt make sure to cold boot


All times are GMT -5. The time now is 12:28 AM.