Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_features.c132 struct kvm_cpuid2 *prev_cpuid = NULL; in guest_test_msrs_access() local
151 if (!prev_cpuid) { in guest_test_msrs_access()
154 prev_cpuid = allocate_kvm_cpuid2(vcpu->cpuid->nent); in guest_test_msrs_access()
156 vcpu_init_cpuid(vcpu, prev_cpuid); in guest_test_msrs_access()
494 memcpy(prev_cpuid, vcpu->cpuid, kvm_cpuid2_size(vcpu->cpuid->nent)); in guest_test_msrs_access()
521 struct kvm_cpuid2 *prev_cpuid = NULL; in guest_test_hcalls_access() local
543 if (!prev_cpuid) { in guest_test_hcalls_access()
546 prev_cpuid = allocate_kvm_cpuid2(vcpu->cpuid->nent); in guest_test_hcalls_access()
548 vcpu_init_cpuid(vcpu, prev_cpuid); in guest_test_hcalls_access()
663 memcpy(prev_cpuid, vcpu->cpuid, kvm_cpuid2_size(vcpu->cpuid->nent)); in guest_test_hcalls_access()