User Tools

Site Tools


ubuntu:kvm:check_hardware_virtualization_support

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:kvm:check_hardware_virtualization_support [2019/11/30 12:57] – created peterubuntu:kvm:check_hardware_virtualization_support [2023/06/18 21:20] (current) peter
Line 1: Line 1:
 ====== Ubuntu - KVM - Check Hardware Virtualization Support ====== ====== Ubuntu - KVM - Check Hardware Virtualization Support ======
  
-Issue the following command:+KVM requires either Intel processor with **VT-x** (virtualization technology extension) or AMD processor with **AMD-V** (AMD4 Virtualization extension).
  
 <code bash> <code bash>
Line 10: Line 10:
  
 <code> <code>
-flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold+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 pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
 </code> </code>
  
-Your CPU is able to run KVM virtual machines.+<WRAP info> 
 +**NOTE:**  The CPU is able to run KVM virtual machines, as either **svm** or **vmx** is shown. 
 + 
 +  * **svm** stands for Secure Virtual Machine. 
 +    * AMD virtualization extension support. 
 + 
 +  * **vmx** stands for Virtual Machine Extensions. 
 +    * (Intel) Processor support for virtualization. 
 + 
 +</WRAP> 
 + 
 + 
 + 
 +---- 
 + 
 +===== Check using count ===== 
 + 
 +<code bash> 
 +egrep -c '(vmx|svm)' /proc/cpuinfo 
 +</code> 
 + 
 +returns: 
 + 
 +<code bash> 
 +24 
 +</code> 
 + 
 +<WRAP info> 
 +**NOTE:**  If this returns more than zero then Virtualization is supported. 
 + 
 +  * If the output is zero it could be that Virtualization is not enabled in the BIOS. 
 +  * In this case, restart the machine and go to the BIOS settings and enable Virtualization. 
 +</WRAP>
  
ubuntu/kvm/check_hardware_virtualization_support.1575118641.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki