Home
last modified time | relevance | path

Searched refs:evmcs_ver (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c48 uint16_t evmcs_ver; in vcpu_enable_evmcs() local
52 .args[0] = (unsigned long)&evmcs_ver in vcpu_enable_evmcs()
58 TEST_ASSERT(((evmcs_ver >> 8) >= (evmcs_ver & 0xff)) && in vcpu_enable_evmcs()
59 (evmcs_ver & 0xff) > 0, in vcpu_enable_evmcs()
61 evmcs_ver & 0xff, evmcs_ver >> 8); in vcpu_enable_evmcs()
63 return evmcs_ver; in vcpu_enable_evmcs()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dhyperv.c1963 uint16_t evmcs_ver = 0; in kvm_vcpu_ioctl_get_hv_cpuid() local
1979 evmcs_ver = kvm_x86_ops.nested_ops->get_evmcs_version(vcpu); in kvm_vcpu_ioctl_get_hv_cpuid()
1982 if (!evmcs_ver) in kvm_vcpu_ioctl_get_hv_cpuid()
2057 if (evmcs_ver) in kvm_vcpu_ioctl_get_hv_cpuid()
2081 ent->eax = evmcs_ver; in kvm_vcpu_ioctl_get_hv_cpuid()