Searched refs:hyperv_enabled (Results 1 – 3 of 3) sorted by relevance
100 return vcpu->arch.hyperv_enabled && to_kvm_hv(vcpu->kvm)->hv_guest_os_id; in kvm_hv_hypercall_enabled()190 void kvm_hv_set_cpuid(struct kvm_vcpu *vcpu, bool hyperv_enabled);302 static inline void kvm_hv_set_cpuid(struct kvm_vcpu *vcpu, bool hyperv_enabled) {} in kvm_hv_set_cpuid() argument
1366 if (!vcpu->arch.hyperv_enabled || in kvm_hv_xsaves_xsavec_maybe_warn()1755 if (!host && !vcpu->arch.hyperv_enabled) in kvm_hv_set_msr_common()1776 if (!host && !vcpu->arch.hyperv_enabled) in kvm_hv_get_msr_common()2298 void kvm_hv_set_cpuid(struct kvm_vcpu *vcpu, bool hyperv_enabled) in kvm_hv_set_cpuid() argument2303 vcpu->arch.hyperv_enabled = hyperv_enabled; in kvm_hv_set_cpuid()2310 WARN_ON_ONCE(vcpu->arch.hyperv_enabled); in kvm_hv_set_cpuid()2316 if (!vcpu->arch.hyperv_enabled) in kvm_hv_set_cpuid()
51 return vcpu->arch.hyperv_enabled && in guest_cpuid_has_evmcs()