I executed virt-install which confirmed my guess: virt-install which is used by virt-manager cannot detect kvm. Note that I am on Arch Linux so my error message is not exactly the same as you

$ virt-install
WARNING  KVM acceleration not available, using 'qemu'
ERROR    
--name is required
--ram amount in MB is required
--disk storage must be specified (override with --nodisks)
An install method must be specified
(--location URL, --cdrom CD/ISO, --pxe, --import, --boot hd|cdrom|…)

$ virt-install --version
0.600.0
$ ls /dev/kvm
/dev/kvm
$ lsmod | grep 'kvm*'
kvm_intel             125294  0 
kvm                   339258  1 kvm_intel

-- 
Lei Yang

On 2012年1月12日Thursday at 下午11:04, kendennit wrote:

I did not start any VM. My intention is to check the virt-install command to make sure all packages and tools are in place.
So basically, I expect the below output

[root@localhost Packages]# virt-install
ERROR
--name is required
--ram amount in MB is required
--disk storage must be specified (override with --nodisks)
An install method must be specified
(--location URL, --cdrom CD/ISO, --pxe, --import, --boot hd|cdrom|...)
[root@localhost Packages]#  

Instead I get error, "Host doesn't support any virtualizations options"

Thx,
kenden


On Thu, Jan 12, 2012 at 8:26 PM, Lei Yang <clanherb@gmail.com> wrote:
I have a similar issue on Arch Linux. 

After connect to the hypervisor, virt-manager will report there is no hardware virtualization(i.e. kvm) detected.
Howerver, after manually change the xml file from `type=qemu` to `type=kvm` and start the guest OS, virt-manager will correct display the "kvm hypervisor".

Since virt-manger use virt-install internally, my problem is similar to you.

On Thu, Jan 12, 2012 at 10:45 PM, Nitin Nikam <kendennit@gmail.com> wrote:
Hi All,
   I'm trying to install a VM on host OS (Redhat 6.1, KVM hypervisor).
I've installed all the required RPMs for KVM and libvirt tools.

Here is the list of libvirt RPMs and KVM modules

kvm.ko
kvm-intel.ko

libvirt-0.8.7-18.el6.x86_64.rpm         libvirt-java-devel-0.4.7-1.el6.noarch.rpm  virt-top-1.0.4-3.8.el6.x86_64.rpm
libvirt-client-0.8.7-18.el6.x86_64.rpm  libvirt-python-0.8.7-18.el6.x86_64.rpm     virt-viewer-0.2.1-3.el6.x86_64.rpm
libvirt-devel-0.8.7-18.el6.x86_64.rpm   python-virtinst-0.500.5-3.el6.noarch.rpm   virt-what-1.3-4.4.el6.x86_64.rpm
libvirt-java-0.4.7-1.el6.noarch.rpm     virt-manager-0.8.6-4.el6.noarch.rpm

qemu-img-0.12.1.2-2.160.el6.x86_64.rpm  qemu-kvm-0.12.1.2-2.160.el6.x86_64.rpm

When I execute virt-install command I see the below error:

[root@nsn /]# virt-install

ERROR    Host does not support any virtualization options

I've already cross checked the VMX setting in BIOS and it is enabled.
In VMX Feature MSR register , VT bit is set.

Following is some info about the platform:
[root@nsn /]# uname -a
Linux rsp3-linux 2.6.32.27 #170 SMP PREEMPT Thu Jan 12 09:03:12 IST 2012 x86_64 GNU/Linux

[root@nsn /]# cat /proc/cpuinfo
processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 30
model name      : Intel(R) Xeon(R) CPU           C5528  @ 2.13GHz
stepping        : 4
cpu MHz         : 2127.723
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips        : 4259.94
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

[root@nsn /]# lsmod | grep kvm
kvm_intel 36839 0 - Live 0xffffffffa016c000
kvm 149478 1 kvm_intel, Live 0xffffffffa0137000

has anyone encountered similar issues while using libvirt tools?
am I missing something w.r.t installation?

Appreciate your feedback.

Thanks,
kenden









_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users



--
lei yang