Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c1208 const struct kvm_cpuid2 *cpuid_sys, *cpuid_hv; in vcpu_set_hv_cpuid() local
1212 cpuid_sys = kvm_get_supported_cpuid(); in vcpu_set_hv_cpuid()
1215 cpuid_full = allocate_kvm_cpuid2(cpuid_sys->nent + cpuid_hv->nent); in vcpu_set_hv_cpuid()
1222 for (i = 0; i < cpuid_sys->nent; i++) { in vcpu_set_hv_cpuid()
1223 if (cpuid_sys->entries[i].function >= 0x40000000 && in vcpu_set_hv_cpuid()
1224 cpuid_sys->entries[i].function < 0x40000100) in vcpu_set_hv_cpuid()
1226 cpuid_full->entries[nent] = cpuid_sys->entries[i]; in vcpu_set_hv_cpuid()