查看CPU是否支持虚拟化

trackback: http://blog.sciencenet.cn/home.php?mod=space&uid=324427&do=blog&id=352032


一、Windows平台:
    使用小工具securable。

二、Linux平台:
    在终端执行cat /proc/cpuinfo命令,找到flags部分,如果其中输出有VMX或SVM,即表明支持虚拟化技术。
    cat /proc/cpuinfo | grep VMX (for Intel CPU)
or cat /proc/cpuinfo | grep SVM (for AMD CPU)

三、Linux显示的flags部分解释:
fpu �C Onboard FPU
vme �C Virtual Mode Extensions
de �C Debugging Extensions
pse �C Page Size Extensions
tsc �C Time Stamp Counter
msr �C Model-Specific Registers
pae �C Physical Address Extensions
mce �C Machine Check Architecture
cx8 �C CMPXCHG8 instruction
apic �C Onboard APIC
sep �C SYSENTER/SYSEXIT
mtrr �C Memory Type Range Registers
pge �C Page Global Enable
mca �C Machine Check Architecture
cmov �C CMOV instructions (plus FCMOVcc, FCOMI with FPU)
pat �C Page Attribute Table
pse36 �C 36-bit PSEs
pn �C Processor serial number
clflush �C CLFLUSH instruction
dts �C Debug Store
acpi �C ACPI via MSR
mmx �C Multimedia Extensions
fxsr �C FXSAVE/FXRSTOR, CR4.OSFXSR
sse �C SSE
sse2 �C SSE2
ss �C CPU self snoop
ht �C Hyper-Threading
tm �C Automatic clock control
ia64 �C IA-64 processor
pbe �C Pending Break Enable

syscall �C SYSCALL/SYSRET
mp �C MP Capable
nx �C Execute Disable
mmxext �C AMD MMX extensions
fxsr_opt �C FXSAVE/FXRSTOR optimizations
pdpe1gb �C GB pages
rdtscp �C RDTSCP
lm �C Long Mode (x86-64)
3dnowext �C AMD 3DNow! extensions
3dnow �C 3DNow!
k8 �C Opteron, Athlon64
k7 �C Athlon
constant_tsc �C TSC ticks at a constant rate
up �C smp kernel running on up
pebs �C Precise-Event Based Sampling
bts �C Branch Trace Store
nonstop_tsc �C TSC does not stop in C states
pni �C SSE-3
pclmulqdq �C PCLMULQDQ instruction
dtes64 �C 64-bit Debug Store
monitor �C Monitor/Mwait support
ds_cpl �C CPL Qual. Debug Store
vmx �C Hardware virtualization      //intel的虚拟化技术VT技术
smx �C Safer mode
est �C Enhanced SpeedStep
tm2 �C Thermal Monitor 2
ssse3 �C Supplemental SSE-3
cid �C Context ID
fma �C Fused multiply-add
cx16 �C CMPXCHG16B
xptr �C Send Task Priority Messages
pdcm �C Performance Capabilities
dca �C Direct Cache Access
sse4_1 �C SSE-4.1
sse4_2 �C SSE-4.2
x2apic �C x2APIC
aes �C AES instructions
xsave �C XSAVE/XRSTOR/XSETBV/XGETBV
avx �C Advanced Vector Extensions
hypervisor �C Running on a hypervisor
lahf_lm �C LAHF/SAHF in long mode
cmp_legacy �C If yes HyperThreading not valid
svm �C Secure virtual machine      //AMD的虚拟化技术AMD-V
extapic �C Extended APIC space
cr8legacy �C CR8 in 32-bit mode
abm �C Advanced bit manipulation
sse4a �C SSE-4A
ibs �C Instruction Based Sampling
sse5 �C SSE-5
skinit �C SKINIT/STGI instructions
wdt �C Watchdog timer                    

你可能感兴趣的:(linux)