I installed qemu-kvm as follows (in rhel7.2):
yum install –y qemu-kvm virt-install bridge-utils libvirt libvirt-python libguestfs-tools
When I try to run the 'qemu-kvm' command as follows:
qemu-kvm –name VM1 -cdrom RedHat-7.2-x86_64.iso –m 512 -cpu 2 –drive file=/root/vm/redhat7.qcow2 -boot d
I get this error message:
bash: /usr/bin/qemu-kvm: No such file or directory
And why I try to use 'virt-install' as follows:
virt-install --name VM1 --memory 10240 --vcpus=2 --os-type=Linux --os-variant=rhel7.2 --location=rhel-server-7.6-x86_64-dvd.iso --network network=default --network bridge=nm-bridge --console pty,target_type=serial --graphics=vnc -v
I get this error message:
ERROR Host does not support virtualization type 'hvm'
I also get this message when it's jyst virt-install:
virt-install
ERROR Host does not support any virtualization options
Content of /usr/bin :
ls /usr/bin | grep -i qemu
qemu-ga qemu-img qemu-io qemu-nbd
cat /proc/cpuinfo | grep -i vmx
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat tpr_shadow vnmi ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves
Any ideas on what the problem might be or on how I can fix it ?
lsmod | grep kvm
return?