Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kvm/
Dkvm_cache_regs.h97 static inline bool is_guest_mode(struct kvm_vcpu *vcpu) in is_guest_mode() function
Dsvm.c263 if (!is_guest_mode(&svm->vcpu)) in recalc_intercepts()
278 if (is_guest_mode(&svm->vcpu)) in get_host_vmcb()
972 if (is_guest_mode(vcpu)) { in svm_write_tsc_offset()
991 if (is_guest_mode(vcpu)) in svm_adjust_tsc_offset_guest()
1959 if (!is_guest_mode(&svm->vcpu)) in nested_svm_check_exception()
1977 if (!is_guest_mode(&svm->vcpu)) in nested_svm_intr()
2016 if (!is_guest_mode(&svm->vcpu)) in nested_svm_nmi()
2839 if (!is_guest_mode(&svm->vcpu) || in check_selective_cr0_intercepted()
3439 if (is_guest_mode(vcpu)) { in handle_exit()
3547 if (is_guest_mode(vcpu) && (vcpu->arch.hflags & HF_VINTR_MASK)) in update_cr8_intercept()
[all …]
Dvmx.c1661 if (is_guest_mode(vcpu)) in update_exception_bitmap()
2135 if (is_guest_mode(vcpu)) in vmx_fpu_activate()
2169 if (is_guest_mode(vcpu)) { in vmx_fpu_deactivate()
2279 if (!reinject && is_guest_mode(vcpu) && in vmx_queue_exception()
2333 if (is_guest_mode(vcpu)) in vmx_set_msr_bitmap()
2415 tsc_offset = is_guest_mode(vcpu) ? in vmx_read_l1_tsc()
2431 if (is_guest_mode(vcpu)) { in vmx_write_tsc_offset()
2457 if (is_guest_mode(vcpu)) { in vmx_adjust_tsc_offset_guest()
3771 if (is_paging(vcpu) || is_guest_mode(vcpu)) in vmx_set_cr3()
4568 if (is_guest_mode(vcpu) && in vmx_deliver_nested_posted_interrupt()
[all …]
Dcpuid.c824 if (is_guest_mode(vcpu) && function == 0xa) in kvm_cpuid()
Dx86.c5099 if (!is_guest_mode(vcpu) && kvm_x86_ops->get_cpl(vcpu) == 0) { in handle_emulation_failure()
6024 if (is_guest_mode(vcpu) && kvm_x86_ops->check_nested_events) { in inject_pending_event()
6043 if (is_guest_mode(vcpu) && kvm_x86_ops->check_nested_events) { in inject_pending_event()
8010 if (is_guest_mode(vcpu) && kvm_x86_ops->check_nested_events) in kvm_arch_vcpu_runnable()