Go to the source code of this file.
◆ evmcs_check_vmcs_conf
#define evmcs_check_vmcs_conf |
( |
|
field, |
|
|
|
ctrl |
|
) |
| |
Value: do { \
typeof(vmcs_conf->field) unsupported; \
\
unsupported = vmcs_conf->field & ~EVMCS1_SUPPORTED_ ## ctrl; \
if (unsupported) { \
pr_warn_once(#field " unsupported with eVMCS: 0x%llx\n",\
(u64)unsupported); \
vmcs_conf->field &= EVMCS1_SUPPORTED_ ## ctrl; \
} \
} \
while (0)
Definition at line 15 of file vmx_onhyperv.c.
◆ DEFINE_STATIC_KEY_FALSE()
DEFINE_STATIC_KEY_FALSE |
( |
__kvm_is_using_evmcs |
| ) |
|
◆ evmcs_sanitize_exec_ctrls()
void evmcs_sanitize_exec_ctrls |
( |
struct vmcs_config * |
vmcs_conf | ) |
|
Definition at line 28 of file vmx_onhyperv.c.
#define evmcs_check_vmcs_conf(field, ctrl)