Lines Matching refs:kvm_vcpu

205 	struct kvm_vcpu       vcpu;
334 bool nested_vmx_allowed(struct kvm_vcpu *vcpu);
335 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu,
340 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu);
343 int vmx_get_cpl(struct kvm_vcpu *vcpu);
344 unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu);
345 void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
346 u32 vmx_get_interrupt_shadow(struct kvm_vcpu *vcpu);
347 void vmx_set_interrupt_shadow(struct kvm_vcpu *vcpu, int mask);
348 int vmx_set_efer(struct kvm_vcpu *vcpu, u64 efer);
349 void vmx_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);
350 void vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
352 void ept_save_pdptrs(struct kvm_vcpu *vcpu);
353 void vmx_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
354 void vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
355 u64 construct_eptp(struct kvm_vcpu *vcpu, unsigned long root_hpa,
358 bool vmx_guest_inject_ac(struct kvm_vcpu *vcpu);
359 void update_exception_bitmap(struct kvm_vcpu *vcpu);
360 void vmx_update_msr_bitmap(struct kvm_vcpu *vcpu);
361 bool vmx_nmi_blocked(struct kvm_vcpu *vcpu);
362 bool vmx_interrupt_blocked(struct kvm_vcpu *vcpu);
363 bool vmx_get_nmi_mask(struct kvm_vcpu *vcpu);
364 void vmx_set_nmi_mask(struct kvm_vcpu *vcpu, bool masked);
365 void vmx_set_virtual_apic_mode(struct kvm_vcpu *vcpu);
367 void pt_update_intercept_for_msr(struct kvm_vcpu *vcpu);
374 void vmx_ept_load_pdptrs(struct kvm_vcpu *vcpu);
411 static inline void vmx_register_cache_reset(struct kvm_vcpu *vcpu) in BUILD_CONTROLS_SHADOW()
455 static inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx()
460 static inline unsigned long vmx_get_exit_qual(struct kvm_vcpu *vcpu) in vmx_get_exit_qual()
471 static inline u32 vmx_get_intr_info(struct kvm_vcpu *vcpu) in vmx_get_intr_info()
506 static inline bool vmx_need_pf_intercept(struct kvm_vcpu *vcpu) in vmx_need_pf_intercept()
514 static inline bool is_unrestricted_guest(struct kvm_vcpu *vcpu) in is_unrestricted_guest()
521 bool __vmx_guest_state_valid(struct kvm_vcpu *vcpu);
522 static inline bool vmx_guest_state_valid(struct kvm_vcpu *vcpu) in vmx_guest_state_valid()