Lines Matching refs:kvm_vcpu

262 	struct kvm_vcpu       vcpu;
389 bool nested_vmx_allowed(struct kvm_vcpu *vcpu);
390 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu,
395 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu);
398 int vmx_get_cpl(struct kvm_vcpu *vcpu);
399 bool vmx_emulation_required(struct kvm_vcpu *vcpu);
400 unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu);
401 void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
402 u32 vmx_get_interrupt_shadow(struct kvm_vcpu *vcpu);
403 void vmx_set_interrupt_shadow(struct kvm_vcpu *vcpu, int mask);
404 int vmx_set_efer(struct kvm_vcpu *vcpu, u64 efer);
405 void vmx_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
406 void vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
408 void ept_save_pdptrs(struct kvm_vcpu *vcpu);
409 void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
410 void __vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
411 u64 construct_eptp(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level);
413 bool vmx_guest_inject_ac(struct kvm_vcpu *vcpu);
414 void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu);
415 bool vmx_nmi_blocked(struct kvm_vcpu *vcpu);
416 bool vmx_interrupt_blocked(struct kvm_vcpu *vcpu);
417 bool vmx_get_nmi_mask(struct kvm_vcpu *vcpu);
418 void vmx_set_nmi_mask(struct kvm_vcpu *vcpu, bool masked);
419 void vmx_set_virtual_apic_mode(struct kvm_vcpu *vcpu);
421 void pt_update_intercept_for_msr(struct kvm_vcpu *vcpu);
428 void vmx_ept_load_pdptrs(struct kvm_vcpu *vcpu);
430 void vmx_disable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type);
431 void vmx_enable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type);
433 u64 vmx_get_l2_tsc_offset(struct kvm_vcpu *vcpu);
434 u64 vmx_get_l2_tsc_multiplier(struct kvm_vcpu *vcpu);
436 static inline void vmx_set_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, in vmx_set_intercept_for_msr()
445 void vmx_update_cpu_dirty_logging(struct kvm_vcpu *vcpu);
648 static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx()
653 static inline struct lbr_desc *vcpu_to_lbr_desc(struct kvm_vcpu *vcpu) in vcpu_to_lbr_desc()
658 static inline struct x86_pmu_lbr *vcpu_to_lbr_records(struct kvm_vcpu *vcpu) in vcpu_to_lbr_records()
663 static inline bool intel_pmu_lbr_is_enabled(struct kvm_vcpu *vcpu) in intel_pmu_lbr_is_enabled()
669 int intel_pmu_create_guest_lbr_event(struct kvm_vcpu *vcpu);
670 void vmx_passthrough_lbr_msrs(struct kvm_vcpu *vcpu);
672 static inline unsigned long vmx_get_exit_qual(struct kvm_vcpu *vcpu) in vmx_get_exit_qual()
683 static inline u32 vmx_get_intr_info(struct kvm_vcpu *vcpu) in vmx_get_intr_info()
712 static inline bool vmx_need_pf_intercept(struct kvm_vcpu *vcpu) in vmx_need_pf_intercept()
720 static inline bool is_unrestricted_guest(struct kvm_vcpu *vcpu) in is_unrestricted_guest()
727 bool __vmx_guest_state_valid(struct kvm_vcpu *vcpu);
728 static inline bool vmx_guest_state_valid(struct kvm_vcpu *vcpu) in vmx_guest_state_valid()
733 void dump_vmcs(struct kvm_vcpu *vcpu);
740 static inline bool vmx_can_use_ipiv(struct kvm_vcpu *vcpu) in vmx_can_use_ipiv()
745 static inline bool guest_cpuid_has_evmcs(struct kvm_vcpu *vcpu) in guest_cpuid_has_evmcs()