Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c49 uint16_t evmcs_ver; in vcpu_enable_evmcs() local
52 (unsigned long)&evmcs_ver); in vcpu_enable_evmcs()
55 TEST_ASSERT(((evmcs_ver >> 8) >= (evmcs_ver & 0xff)) && in vcpu_enable_evmcs()
56 (evmcs_ver & 0xff) > 0, in vcpu_enable_evmcs()
58 evmcs_ver & 0xff, evmcs_ver >> 8); in vcpu_enable_evmcs()
60 return evmcs_ver; in vcpu_enable_evmcs()
/linux-6.1.9/arch/x86/kvm/
Dhyperv.c2431 uint16_t evmcs_ver = 0; in kvm_get_hv_cpuid() local
2447 evmcs_ver = kvm_x86_ops.nested_ops->get_evmcs_version(vcpu); in kvm_get_hv_cpuid()
2521 if (evmcs_ver) in kvm_get_hv_cpuid()
2547 ent->eax = evmcs_ver; in kvm_get_hv_cpuid()