HowTo Determine If Hardware Virtualization Is Enabled: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
* On an '''Intel''' ('''Intel VT-x''') system, check "'''/proc/cpuinfo'''" for the existence of the flag: "'''vmx'''"  
* On an '''Intel''' ('''Intel VT-x''') system, check "'''/proc/cpuinfo'''" for the existence of the flag: "'''vmx'''"  
<div class="screen">
<div class="screen">
<div class="userInput"><span class="prompt">[root@probe ~]# </span>cat /proc/cpuinfo | grep 'vmx'</div>
<div class="userInput"><span class="prompt">[root@vortex ~]# </span>cat /proc/cpuinfo | grep 'vmx'</div>
  <pre class="computerOutput">
  <pre class="computerOutput">
[root@vortex ~]# cat /proc/cpuinfo |grep -m 1 vmx
[root@vortex ~]# cat /proc/cpuinfo |grep -m 1 vmx
Line 8: Line 8:
pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi
pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi
flexpriority ept vpid
flexpriority ept vpid
[root@probe ~]#
[root@vortex ~]#
</pre>
</pre>
</div>
</div>
Line 15: Line 15:
* On an '''AMD''' ('''AMD-V''') system, check "'''/proc/cpuinfo'''" for the existence of the flag: "'''svm'''"  
* On an '''AMD''' ('''AMD-V''') system, check "'''/proc/cpuinfo'''" for the existence of the flag: "'''svm'''"  
<div class="screen">
<div class="screen">
<div class="userInput"><span class="prompt">[root@probe ~]# </span>cat /proc/cpuinfo | grep 'svm'</div>
<div class="userInput"><span class="prompt">[root@cirrus ~]# </span>cat /proc/cpuinfo | grep 'svm'</div>
  <pre class="computerOutput">
  <pre class="computerOutput">
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht
syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor
syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
[root@probe ~]#
[root@cirrus ~]#
</pre>
</pre>
</div>
</div>

Revision as of 15:59, 4 December 2009

  • On an Intel (Intel VT-x) system, check "/proc/cpuinfo" for the existence of the flag: "vmx"
[root@vortex ~]# cat /proc/cpuinfo | grep 'vmx'
[root@vortex ~]# cat /proc/cpuinfo |grep -m 1 vmx
flags		: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology tsc_reliable nonstop_tsc
pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi
flexpriority ept vpid
[root@vortex ~]#


  • On an AMD (AMD-V) system, check "/proc/cpuinfo" for the existence of the flag: "svm"
[root@cirrus ~]# cat /proc/cpuinfo | grep 'svm'
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht
syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
[root@cirrus ~]#