Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dmi.h Create Date:2022-07-28 07:38:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dmi_name_in_serial

Proto:static inline int dmi_name_in_serial(const char *s)

Type:int

Parameter:

TypeParameterName
const char *s
138  Return 0
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