程式扎記: [Linux 文章收集] Linux: Find Out If CPU Support Intel VT and AMD-V Virtualization Support

標籤

2014年9月7日 星期日

[Linux 文章收集] Linux: Find Out If CPU Support Intel VT and AMD-V Virtualization Support

來源自 這裡 
Preface 
How do I find out if my system support Intel - VT / AMD -V hardware virtualization extensions for host CPU using the command line options? 

Both Intel and AMD CPU support virtualization technology which allows multiple operating systems to run simultaneously on an x86 computer in a safe and efficient manner using hardware virtualization. XEN and other virtualization software can use Intel / AMD hardware virtualization for full virtualization. In other words with Intel VT, or AMD-V you can run an unmodified guest OS, like MS-Windows without any problems. 

Use the following command to verify that if hardware virtualization extensions is enabled or not in your BIOS

Linux: Verify Intel VT CPU Virtualization Extensions 
Type the following command as root to verify that host cpu has support for Intel VT technology, enter: 
# grep --color vmx /proc/cpuinfo

Sample outputs: 
 

If the output has the vmx flags, then Intel CPU host is capable of running hardware virtualization. 

Linux: Verify AMD V CPU Virtualization Extensions 
Type the following command as root to verify that host cpu has support for AMD - V technology: 
# grep --color svm /proc/cpuinfo

Again, the output has the svm flags, then AND CPU host is capable of running hardware virtualization. 

Tip # 1: Check Your BIOS Settings 
Many, system manufacturers disable AMD or Intel virtualization technology in the BIOS by default. You need to reboot the system and turn it in the BIOS. 
 

Tip # 2: XEN Kernel 
By default, if you booted into XEN kernel it will not display svm or vmx flag using the grep command. To see if it is enabled or not from xen, enter: 
# cat /sys/hypervisor/properties/capabilities

You must see hvm flags in the output. If not reboot the box and set Virtualization in the BIOS.

沒有留言:

張貼留言

網誌存檔

關於我自己

我的相片
Where there is a will, there is a way!