Lines Matching refs:kvm_vcpu
181 struct kvm_vcpu vcpu;
308 bool nested_vmx_allowed(struct kvm_vcpu *vcpu);
309 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu,
314 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu);
317 int vmx_get_cpl(struct kvm_vcpu *vcpu);
318 unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu);
319 void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
320 u32 vmx_get_interrupt_shadow(struct kvm_vcpu *vcpu);
321 void vmx_set_interrupt_shadow(struct kvm_vcpu *vcpu, int mask);
322 int vmx_set_efer(struct kvm_vcpu *vcpu, u64 efer);
323 void vmx_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
324 int vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
326 void ept_save_pdptrs(struct kvm_vcpu *vcpu);
327 void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
328 void vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
329 u64 construct_eptp(struct kvm_vcpu *vcpu, unsigned long root_hpa,
332 void update_exception_bitmap(struct kvm_vcpu *vcpu);
333 void vmx_update_msr_bitmap(struct kvm_vcpu *vcpu);
334 bool vmx_nmi_blocked(struct kvm_vcpu *vcpu);
335 bool vmx_interrupt_blocked(struct kvm_vcpu *vcpu);
336 bool vmx_get_nmi_mask(struct kvm_vcpu *vcpu);
337 void vmx_set_nmi_mask(struct kvm_vcpu *vcpu, bool masked);
338 void vmx_set_virtual_apic_mode(struct kvm_vcpu *vcpu);
340 void pt_update_intercept_for_msr(struct kvm_vcpu *vcpu);
343 void vmx_ept_load_pdptrs(struct kvm_vcpu *vcpu);
376 static inline void vmx_register_cache_reset(struct kvm_vcpu *vcpu) in BUILD_CONTROLS_SHADOW()
420 static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx()
425 static inline unsigned long vmx_get_exit_qual(struct kvm_vcpu *vcpu) in vmx_get_exit_qual()
436 static inline u32 vmx_get_intr_info(struct kvm_vcpu *vcpu) in vmx_get_intr_info()
471 static inline bool vmx_need_pf_intercept(struct kvm_vcpu *vcpu) in vmx_need_pf_intercept()
479 static inline bool is_unrestricted_guest(struct kvm_vcpu *vcpu) in is_unrestricted_guest()
486 bool __vmx_guest_state_valid(struct kvm_vcpu *vcpu);
487 static inline bool vmx_guest_state_valid(struct kvm_vcpu *vcpu) in vmx_guest_state_valid()