On Mon, Jan 4, 2016 at 10:22 PM, Charles Tassell <ctassell@gmail.com> wrote:
Hi Budur,

  Try running the command "kvm-ok"  I'm not sure what package it's from, but it will tell you if your system supports the CPU virtualization commands required to run KVM.  If kvm-ok isn't installed, you can try running "egrep '(vmx|svm)' /proc/cpuinfo" vmx means you have Intel virtualization support, while svm is the AMD implementation.  IE, on my Intel i5 I get a bunch of lines like this: (**'s added for emphasis)

This will only tell you if the CPU supports virtualization - it may still be disabled by the BIOS.
Looking at the KVM module is the best approach:
[root@reserved-0-250 lago]# lsmod |grep kvm
kvm_intel             167936  20
kvm                   499712  1 kvm_intel

Y.
 

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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl **vmx** smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid


On 16-01-04 02:47 PM, users-request@ovirt.org wrote:
    1. Re:  HA cluster (Budur Nagaraju)


----------------------------------------------------------------------

Message: 1
Date: Tue, 5 Jan 2016 00:17:41 +0530
From: Budur Nagaraju <nbudoor@gmail.com>
To: Simone Tiraboschi <stirabos@redhat.com>
Cc: users <users@ovirt.org>
Subject: Re: [ovirt-users] HA cluster
Message-ID:
        <CAHNF9Q9=d8FYLnF3NN6=vSMvKHoYopn94V72aysDeytjVq7Xmg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I get the below out put ,

[root@he ~]# lsmod |grep kvm
kvm_intel              55624  0
kvm                   345460  1 kvm_intel


On Tue, Jan 5, 2016 at 12:06 AM, Budur Nagaraju <nbudoor@gmail.com> wrote:

Is there any command to check KVM is available or not ?

Below is the output when I run the rpm command.

[root@he /]# rpm -qa |grep kvm
qemu-kvm-rhev-0.12.1.2-2.479.el6_7.2.x86_64



_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users