Searched refs:has_sregs2 (Results 1 – 1 of 1) sorted by relevance
176 static int has_sregs2; variable3241 has_sregs2 = kvm_check_extension(s, KVM_CAP_SREGS2) > 0; in kvm_arch_init()5271 ret = has_sregs2 ? kvm_put_sregs2(x86_cpu) : kvm_put_sregs(x86_cpu); in kvm_arch_put_registers()5386 ret = has_sregs2 ? kvm_get_sregs2(cpu) : kvm_get_sregs(cpu); in kvm_arch_get_registers()