[ovirt-users] Users Digest, Vol 52, Issue 20

Yaniv Kaul ykaul at redhat.com
Mon Jan 4 17:17:45 EST 2016


On Mon, Jan 4, 2016 at 10:22 PM, Charles Tassell <ctassell at 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 at 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 at ovirt.org wrote:
>
>>     1. Re:  HA cluster (Budur Nagaraju)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 5 Jan 2016 00:17:41 +0530
>> From: Budur Nagaraju <nbudoor at gmail.com>
>> To: Simone Tiraboschi <stirabos at redhat.com>
>> Cc: users <users at ovirt.org>
>> Subject: Re: [ovirt-users] HA cluster
>> Message-ID:
>>         <CAHNF9Q9=d8FYLnF3NN6=
>> vSMvKHoYopn94V72aysDeytjVq7Xmg at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> I get the below out put ,
>>
>> [root at 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 at 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 at he /]# rpm -qa |grep kvm
>>> qemu-kvm-rhev-0.12.1.2-2.479.el6_7.2.x86_64
>>>
>>>
>>>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160105/43229464/attachment.html>


More information about the Users mailing list