Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\vmware.c Create Date:2022-07-28 08:14:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vmware_select_hypercall

Proto:static u8 vmware_select_hypercall(void)

Type:u8

Parameter:Nothing

220  cpuid(CPUID_VMWARE_FEATURES_LEAF, & eax, & ebx, & ecx, & edx)
221  Return ecx & (CPUID_VMWARE_FEATURES_ECX_VMMCALL | CPUID_VMWARE_FEATURES_ECX_VMCALL)
Caller
NameDescribe
vmware_platformWhile checking the dmi string information, just checking the product* serial key should be enough, as this will always have a VMware* specific string when running under VMware hypervisor.* If !boot_cpu_has(X86_FEATURE_HYPERVISOR), vmware_hypercall_mode