Lines Matching defs:vcpu

152 static int nested_vmx_succeed(struct kvm_vcpu *vcpu)  in nested_vmx_succeed()
160 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
169 static int nested_vmx_failValid(struct kvm_vcpu *vcpu, in nested_vmx_failValid()
188 static int nested_vmx_fail(struct kvm_vcpu *vcpu, u32 vm_instruction_error) in nested_vmx_fail()
203 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
227 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
265 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
294 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
343 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
358 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr()
375 static void nested_ept_inject_page_fault(struct kvm_vcpu *vcpu, in nested_ept_inject_page_fault()
408 static void nested_ept_new_eptp(struct kvm_vcpu *vcpu) in nested_ept_new_eptp()
419 static void nested_ept_init_mmu_context(struct kvm_vcpu *vcpu) in nested_ept_init_mmu_context()
432 static void nested_ept_uninit_mmu_context(struct kvm_vcpu *vcpu) in nested_ept_uninit_mmu_context()
450 static bool nested_vmx_is_exception_vmexit(struct kvm_vcpu *vcpu, u8 vector, in nested_vmx_is_exception_vmexit()
468 static int nested_vmx_check_io_bitmap_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_io_bitmap_controls()
481 static int nested_vmx_check_msr_bitmap_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_msr_bitmap_controls()
493 static int nested_vmx_check_tpr_shadow_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_tpr_shadow_controls()
565 static inline bool nested_vmx_prepare_msr_bitmap(struct kvm_vcpu *vcpu, in nested_vmx_prepare_msr_bitmap()
664 static void nested_cache_shadow_vmcs12(struct kvm_vcpu *vcpu, in nested_cache_shadow_vmcs12()
683 static void nested_flush_cached_shadow_vmcs12(struct kvm_vcpu *vcpu, in nested_flush_cached_shadow_vmcs12()
706 static bool nested_exit_intr_ack_set(struct kvm_vcpu *vcpu) in nested_exit_intr_ack_set()
712 static int nested_vmx_check_apic_access_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_apic_access_controls()
722 static int nested_vmx_check_apicv_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_apicv_controls()
767 static int nested_vmx_check_msr_switch(struct kvm_vcpu *vcpu, in nested_vmx_check_msr_switch()
780 static int nested_vmx_check_exit_msr_switch_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_exit_msr_switch_controls()
794 static int nested_vmx_check_entry_msr_switch_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_entry_msr_switch_controls()
805 static int nested_vmx_check_pml_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_pml_controls()
818 static int nested_vmx_check_unrestricted_guest_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_unrestricted_guest_controls()
827 static int nested_vmx_check_mode_based_ept_exec_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_mode_based_ept_exec_controls()
836 static int nested_vmx_check_shadow_vmcs_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_shadow_vmcs_controls()
849 static int nested_vmx_msr_check_common(struct kvm_vcpu *vcpu, in nested_vmx_msr_check_common()
863 static int nested_vmx_load_msr_check(struct kvm_vcpu *vcpu, in nested_vmx_load_msr_check()
874 static int nested_vmx_store_msr_check(struct kvm_vcpu *vcpu, in nested_vmx_store_msr_check()
883 static u32 nested_vmx_max_atomic_switch_msrs(struct kvm_vcpu *vcpu) in nested_vmx_max_atomic_switch_msrs()
901 static u32 nested_vmx_load_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count) in nested_vmx_load_msr()
937 static bool nested_vmx_get_vmexit_msr_value(struct kvm_vcpu *vcpu, in nested_vmx_get_vmexit_msr_value()
968 static bool read_and_check_msr_entry(struct kvm_vcpu *vcpu, u64 gpa, int i, in read_and_check_msr_entry()
988 static int nested_vmx_store_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count) in nested_vmx_store_msr()
1018 static bool nested_msr_store_list_has_msr(struct kvm_vcpu *vcpu, u32 msr_index) in nested_msr_store_list_has_msr()
1036 static void prepare_vmx_msr_autostore_list(struct kvm_vcpu *vcpu, in prepare_vmx_msr_autostore_list()
1078 static int nested_vmx_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, in nested_vmx_load_cr3()
1122 static bool nested_has_guest_tlb_tag(struct kvm_vcpu *vcpu) in nested_has_guest_tlb_tag()
1130 static void nested_vmx_transition_tlb_flush(struct kvm_vcpu *vcpu, in nested_vmx_transition_tlb_flush()
1362 int vmx_set_vmx_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data) in vmx_set_vmx_msr()
1996 struct kvm_vcpu *vcpu, bool from_launch) in nested_vmx_handle_enlightened_vmptrld()
2081 void nested_sync_vmcs12_to_shadow(struct kvm_vcpu *vcpu) in nested_sync_vmcs12_to_shadow()
2105 static u64 vmx_calc_preemption_timer_value(struct kvm_vcpu *vcpu) in vmx_calc_preemption_timer_value()
2121 static void vmx_start_preemption_timer(struct kvm_vcpu *vcpu, in vmx_start_preemption_timer()
2528 static int prepare_vmcs02(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12, in prepare_vmcs02()
2682 static bool nested_vmx_check_eptp(struct kvm_vcpu *vcpu, u64 new_eptp) in nested_vmx_check_eptp()
2730 static int nested_check_vm_execution_controls(struct kvm_vcpu *vcpu, in nested_check_vm_execution_controls()
2789 static int nested_check_vm_exit_controls(struct kvm_vcpu *vcpu, in nested_check_vm_exit_controls()
2806 static int nested_check_vm_entry_controls(struct kvm_vcpu *vcpu, in nested_check_vm_entry_controls()
2878 static int nested_vmx_check_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_controls()
2892 static int nested_vmx_check_address_space_size(struct kvm_vcpu *vcpu, in nested_vmx_check_address_space_size()
2903 static int nested_vmx_check_host_state(struct kvm_vcpu *vcpu, in nested_vmx_check_host_state()
2978 static int nested_vmx_check_vmcs_link_ptr(struct kvm_vcpu *vcpu, in nested_vmx_check_vmcs_link_ptr()
3021 static int nested_vmx_check_guest_state(struct kvm_vcpu *vcpu, in nested_vmx_check_guest_state()
3081 static int nested_vmx_check_vmentry_hw(struct kvm_vcpu *vcpu) in nested_vmx_check_vmentry_hw()
3159 static bool nested_get_evmcs_page(struct kvm_vcpu *vcpu) in nested_get_evmcs_page()
3187 static bool nested_get_vmcs12_pages(struct kvm_vcpu *vcpu) in nested_get_vmcs12_pages()
3275 static bool vmx_get_nested_state_pages(struct kvm_vcpu *vcpu) in vmx_get_nested_state_pages()
3300 static int nested_vmx_write_pml_buffer(struct kvm_vcpu *vcpu, gpa_t gpa) in nested_vmx_write_pml_buffer()
3344 static int nested_vmx_check_permission(struct kvm_vcpu *vcpu) in nested_vmx_check_permission()
3359 static u8 vmx_has_apicv_interrupt(struct kvm_vcpu *vcpu) in vmx_has_apicv_interrupt()
3380 enum nvmx_vmentry_status nested_vmx_enter_non_root_mode(struct kvm_vcpu *vcpu, in nested_vmx_enter_non_root_mode()
3545 static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch) in nested_vmx_run()
3703 vmcs12_guest_cr0(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in vmcs12_guest_cr0()
3713 vmcs12_guest_cr4(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in vmcs12_guest_cr4()
3722 static void vmcs12_save_pending_event(struct kvm_vcpu *vcpu, in vmcs12_save_pending_event()
3789 void nested_mark_vmcs12_pages_dirty(struct kvm_vcpu *vcpu) in nested_mark_vmcs12_pages_dirty()
3810 static int vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) in vmx_complete_nested_posted_interrupt()
3852 static void nested_vmx_inject_exception_vmexit(struct kvm_vcpu *vcpu) in nested_vmx_inject_exception_vmexit()
3940 static void nested_vmx_update_pending_dbg(struct kvm_vcpu *vcpu) in nested_vmx_update_pending_dbg()
3949 static bool nested_vmx_preemption_timer_pending(struct kvm_vcpu *vcpu) in nested_vmx_preemption_timer_pending()
3955 static bool vmx_has_nested_events(struct kvm_vcpu *vcpu) in vmx_has_nested_events()
4044 static int vmx_check_nested_events(struct kvm_vcpu *vcpu) in vmx_check_nested_events()
4183 static u32 vmx_get_preemption_timer_value(struct kvm_vcpu *vcpu) in vmx_get_preemption_timer_value()
4244 static void sync_vmcs02_to_vmcs12_rare(struct kvm_vcpu *vcpu, in sync_vmcs02_to_vmcs12_rare()
4289 static void copy_vmcs02_to_vmcs12_rare(struct kvm_vcpu *vcpu, in copy_vmcs02_to_vmcs12_rare()
4318 static void sync_vmcs02_to_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in sync_vmcs02_to_vmcs12()
4399 static void prepare_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12, in prepare_vmcs12()
4455 static void load_vmcs12_host_state(struct kvm_vcpu *vcpu, in load_vmcs12_host_state()
4603 static void nested_vmx_restore_host_state(struct kvm_vcpu *vcpu) in nested_vmx_restore_host_state()
4713 void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 vm_exit_reason, in nested_vmx_vmexit()
4895 static void nested_vmx_triple_fault(struct kvm_vcpu *vcpu) in nested_vmx_triple_fault()
4907 int get_vmx_mem_address(struct kvm_vcpu *vcpu, unsigned long exit_qualification, in get_vmx_mem_address()
5031 static int nested_vmx_get_vmptr(struct kvm_vcpu *vcpu, gpa_t *vmpointer, in nested_vmx_get_vmptr()
5059 static struct vmcs *alloc_shadow_vmcs(struct kvm_vcpu *vcpu) in alloc_shadow_vmcs()
5082 static int enter_vmx_operation(struct kvm_vcpu *vcpu) in enter_vmx_operation()
5133 static int handle_vmxon(struct kvm_vcpu *vcpu) in handle_vmxon()
5224 static inline void nested_release_vmcs12(struct kvm_vcpu *vcpu) in nested_release_vmcs12()
5252 static int handle_vmxoff(struct kvm_vcpu *vcpu) in handle_vmxoff()
5266 static int handle_vmclear(struct kvm_vcpu *vcpu) in handle_vmclear()
5321 static int handle_vmlaunch(struct kvm_vcpu *vcpu) in handle_vmlaunch()
5327 static int handle_vmresume(struct kvm_vcpu *vcpu) in handle_vmresume()
5333 static int handle_vmread(struct kvm_vcpu *vcpu) in handle_vmread()
5439 static int handle_vmwrite(struct kvm_vcpu *vcpu) in handle_vmwrite()
5560 static int handle_vmptrld(struct kvm_vcpu *vcpu) in handle_vmptrld()
5630 static int handle_vmptrst(struct kvm_vcpu *vcpu) in handle_vmptrst()
5658 static int handle_invept(struct kvm_vcpu *vcpu) in handle_invept()
5738 static int handle_invvpid(struct kvm_vcpu *vcpu) in handle_invvpid()
5827 static int nested_vmx_eptp_switching(struct kvm_vcpu *vcpu, in nested_vmx_eptp_switching()
5860 static int handle_vmfunc(struct kvm_vcpu *vcpu) in handle_vmfunc()
5915 bool nested_vmx_check_io_bitmaps(struct kvm_vcpu *vcpu, unsigned int port, in nested_vmx_check_io_bitmaps()
5948 static bool nested_vmx_exit_handled_io(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_io()
5972 static bool nested_vmx_exit_handled_msr(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_msr()
6010 static bool nested_vmx_exit_handled_cr(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_cr()
6080 static bool nested_vmx_exit_handled_encls(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_encls()
6095 static bool nested_vmx_exit_handled_vmcs_access(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_vmcs_access()
6140 static bool nested_vmx_l0_wants_exit(struct kvm_vcpu *vcpu, in nested_vmx_l0_wants_exit()
6216 static bool nested_vmx_l1_wants_exit(struct kvm_vcpu *vcpu, in nested_vmx_l1_wants_exit()
6343 bool nested_vmx_reflect_vmexit(struct kvm_vcpu *vcpu) in nested_vmx_reflect_vmexit()
6395 static int vmx_get_nested_state(struct kvm_vcpu *vcpu, in vmx_get_nested_state()
6518 void vmx_leave_nested(struct kvm_vcpu *vcpu) in vmx_leave_nested()
6527 static int vmx_set_nested_state(struct kvm_vcpu *vcpu, in vmx_set_nested_state()