• Home
  • Raw
  • Download

Lines Matching defs:vcpu

155 static int nested_vmx_succeed(struct kvm_vcpu *vcpu)  in nested_vmx_succeed()
163 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
172 static int nested_vmx_failValid(struct kvm_vcpu *vcpu, in nested_vmx_failValid()
187 static int nested_vmx_fail(struct kvm_vcpu *vcpu, u32 vm_instruction_error) in nested_vmx_fail()
201 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
225 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
256 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
279 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
326 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
333 static void nested_ept_inject_page_fault(struct kvm_vcpu *vcpu, in nested_ept_inject_page_fault()
354 static void nested_ept_init_mmu_context(struct kvm_vcpu *vcpu) in nested_ept_init_mmu_context()
371 static void nested_ept_uninit_mmu_context(struct kvm_vcpu *vcpu) in nested_ept_uninit_mmu_context()
394 static int nested_vmx_check_exception(struct kvm_vcpu *vcpu, unsigned long *exit_qual) in nested_vmx_check_exception()
428 static void vmx_inject_page_fault_nested(struct kvm_vcpu *vcpu, in vmx_inject_page_fault_nested()
447 static int nested_vmx_check_io_bitmap_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_io_bitmap_controls()
460 static int nested_vmx_check_msr_bitmap_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_msr_bitmap_controls()
472 static int nested_vmx_check_tpr_shadow_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_tpr_shadow_controls()
487 static bool msr_write_intercepted_l01(struct kvm_vcpu *vcpu, u32 msr) in msr_write_intercepted_l01()
564 static inline bool nested_vmx_prepare_msr_bitmap(struct kvm_vcpu *vcpu, in nested_vmx_prepare_msr_bitmap()
663 static void nested_cache_shadow_vmcs12(struct kvm_vcpu *vcpu, in nested_cache_shadow_vmcs12()
682 static void nested_flush_cached_shadow_vmcs12(struct kvm_vcpu *vcpu, in nested_flush_cached_shadow_vmcs12()
699 static bool nested_exit_intr_ack_set(struct kvm_vcpu *vcpu) in nested_exit_intr_ack_set()
705 static int nested_vmx_check_apic_access_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_apic_access_controls()
715 static int nested_vmx_check_apicv_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_apicv_controls()
761 static int nested_vmx_check_msr_switch(struct kvm_vcpu *vcpu, in nested_vmx_check_msr_switch()
776 static int nested_vmx_check_exit_msr_switch_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_exit_msr_switch_controls()
790 static int nested_vmx_check_entry_msr_switch_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_entry_msr_switch_controls()
801 static int nested_vmx_check_pml_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_pml_controls()
814 static int nested_vmx_check_unrestricted_guest_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_unrestricted_guest_controls()
823 static int nested_vmx_check_mode_based_ept_exec_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_mode_based_ept_exec_controls()
832 static int nested_vmx_check_shadow_vmcs_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_shadow_vmcs_controls()
845 static int nested_vmx_msr_check_common(struct kvm_vcpu *vcpu, in nested_vmx_msr_check_common()
859 static int nested_vmx_load_msr_check(struct kvm_vcpu *vcpu, in nested_vmx_load_msr_check()
870 static int nested_vmx_store_msr_check(struct kvm_vcpu *vcpu, in nested_vmx_store_msr_check()
879 static u32 nested_vmx_max_atomic_switch_msrs(struct kvm_vcpu *vcpu) in nested_vmx_max_atomic_switch_msrs()
897 static u32 nested_vmx_load_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count) in nested_vmx_load_msr()
933 static bool nested_vmx_get_vmexit_msr_value(struct kvm_vcpu *vcpu, in nested_vmx_get_vmexit_msr_value()
964 static bool read_and_check_msr_entry(struct kvm_vcpu *vcpu, u64 gpa, int i, in read_and_check_msr_entry()
984 static int nested_vmx_store_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count) in nested_vmx_store_msr()
1014 static bool nested_msr_store_list_has_msr(struct kvm_vcpu *vcpu, u32 msr_index) in nested_msr_store_list_has_msr()
1032 static void prepare_vmx_msr_autostore_list(struct kvm_vcpu *vcpu, in prepare_vmx_msr_autostore_list()
1068 static bool nested_cr3_valid(struct kvm_vcpu *vcpu, unsigned long val) in nested_cr3_valid()
1113 static bool nested_vmx_transition_mmu_sync(struct kvm_vcpu *vcpu) in nested_vmx_transition_mmu_sync()
1124 static int nested_vmx_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, bool nested_ept, in nested_vmx_load_cr3()
1181 static bool nested_has_guest_tlb_tag(struct kvm_vcpu *vcpu) in nested_has_guest_tlb_tag()
1189 static void nested_vmx_transition_tlb_flush(struct kvm_vcpu *vcpu, in nested_vmx_transition_tlb_flush()
1405 int vmx_set_vmx_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data) in vmx_set_vmx_msr()
2000 struct kvm_vcpu *vcpu, bool from_launch) in nested_vmx_handle_enlightened_vmptrld()
2082 void nested_sync_vmcs12_to_shadow(struct kvm_vcpu *vcpu) in nested_sync_vmcs12_to_shadow()
2110 static u64 vmx_calc_preemption_timer_value(struct kvm_vcpu *vcpu) in vmx_calc_preemption_timer_value()
2126 static void vmx_start_preemption_timer(struct kvm_vcpu *vcpu, in vmx_start_preemption_timer()
2527 static int prepare_vmcs02(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12, in prepare_vmcs02()
2662 static bool nested_vmx_check_eptp(struct kvm_vcpu *vcpu, u64 new_eptp) in nested_vmx_check_eptp()
2711 static int nested_check_vm_execution_controls(struct kvm_vcpu *vcpu, in nested_check_vm_execution_controls()
2770 static int nested_check_vm_exit_controls(struct kvm_vcpu *vcpu, in nested_check_vm_exit_controls()
2787 static int nested_check_vm_entry_controls(struct kvm_vcpu *vcpu, in nested_check_vm_entry_controls()
2859 static int nested_vmx_check_controls(struct kvm_vcpu *vcpu, in nested_vmx_check_controls()
2873 static int nested_vmx_check_address_space_size(struct kvm_vcpu *vcpu, in nested_vmx_check_address_space_size()
2884 static int nested_vmx_check_host_state(struct kvm_vcpu *vcpu, in nested_vmx_check_host_state()
2959 static int nested_vmx_check_vmcs_link_ptr(struct kvm_vcpu *vcpu, in nested_vmx_check_vmcs_link_ptr()
2997 static int nested_vmx_check_guest_state(struct kvm_vcpu *vcpu, in nested_vmx_check_guest_state()
3063 static int nested_vmx_check_vmentry_hw(struct kvm_vcpu *vcpu) in nested_vmx_check_vmentry_hw()
3141 static bool nested_get_evmcs_page(struct kvm_vcpu *vcpu) in nested_get_evmcs_page()
3162 static bool nested_get_vmcs12_pages(struct kvm_vcpu *vcpu) in nested_get_vmcs12_pages()
3242 static bool vmx_get_nested_state_pages(struct kvm_vcpu *vcpu) in vmx_get_nested_state_pages()
3261 static int nested_vmx_write_pml_buffer(struct kvm_vcpu *vcpu, gpa_t gpa) in nested_vmx_write_pml_buffer()
3305 static int nested_vmx_check_permission(struct kvm_vcpu *vcpu) in nested_vmx_check_permission()
3320 static u8 vmx_has_apicv_interrupt(struct kvm_vcpu *vcpu) in vmx_has_apicv_interrupt()
3341 enum nvmx_vmentry_status nested_vmx_enter_non_root_mode(struct kvm_vcpu *vcpu, in nested_vmx_enter_non_root_mode()
3505 static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch) in nested_vmx_run()
3649 vmcs12_guest_cr0(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in vmcs12_guest_cr0()
3659 vmcs12_guest_cr4(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in vmcs12_guest_cr4()
3668 static void vmcs12_save_pending_event(struct kvm_vcpu *vcpu, in vmcs12_save_pending_event()
3735 void nested_mark_vmcs12_pages_dirty(struct kvm_vcpu *vcpu) in nested_mark_vmcs12_pages_dirty()
3756 static void vmx_complete_nested_posted_interrupt(struct kvm_vcpu *vcpu) in vmx_complete_nested_posted_interrupt()
3789 static void nested_vmx_inject_exception_vmexit(struct kvm_vcpu *vcpu, in nested_vmx_inject_exception_vmexit()
3828 static inline bool vmx_pending_dbg_trap(struct kvm_vcpu *vcpu) in vmx_pending_dbg_trap()
3842 static void nested_vmx_update_pending_dbg(struct kvm_vcpu *vcpu) in nested_vmx_update_pending_dbg()
3849 static bool nested_vmx_preemption_timer_pending(struct kvm_vcpu *vcpu) in nested_vmx_preemption_timer_pending()
3855 static int vmx_check_nested_events(struct kvm_vcpu *vcpu) in vmx_check_nested_events()
3955 static u32 vmx_get_preemption_timer_value(struct kvm_vcpu *vcpu) in vmx_get_preemption_timer_value()
4016 static void sync_vmcs02_to_vmcs12_rare(struct kvm_vcpu *vcpu, in sync_vmcs02_to_vmcs12_rare()
4063 static void copy_vmcs02_to_vmcs12_rare(struct kvm_vcpu *vcpu, in copy_vmcs02_to_vmcs12_rare()
4092 static void sync_vmcs02_to_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) in sync_vmcs02_to_vmcs12()
4170 static void prepare_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12, in prepare_vmcs12()
4224 static void load_vmcs12_host_state(struct kvm_vcpu *vcpu, in load_vmcs12_host_state()
4371 static void nested_vmx_restore_host_state(struct kvm_vcpu *vcpu) in nested_vmx_restore_host_state()
4484 void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 vm_exit_reason, in nested_vmx_vmexit()
4660 int get_vmx_mem_address(struct kvm_vcpu *vcpu, unsigned long exit_qualification, in get_vmx_mem_address()
4784 void nested_vmx_pmu_entry_exit_ctls_update(struct kvm_vcpu *vcpu) in nested_vmx_pmu_entry_exit_ctls_update()
4805 static int nested_vmx_get_vmptr(struct kvm_vcpu *vcpu, gpa_t *vmpointer, in nested_vmx_get_vmptr()
4833 static struct vmcs *alloc_shadow_vmcs(struct kvm_vcpu *vcpu) in alloc_shadow_vmcs()
4854 static int enter_vmx_operation(struct kvm_vcpu *vcpu) in enter_vmx_operation()
4911 static int handle_vmon(struct kvm_vcpu *vcpu) in handle_vmon()
5002 static inline void nested_release_vmcs12(struct kvm_vcpu *vcpu) in nested_release_vmcs12()
5030 static int handle_vmoff(struct kvm_vcpu *vcpu) in handle_vmoff()
5044 static int handle_vmclear(struct kvm_vcpu *vcpu) in handle_vmclear()
5089 static int handle_vmlaunch(struct kvm_vcpu *vcpu) in handle_vmlaunch()
5095 static int handle_vmresume(struct kvm_vcpu *vcpu) in handle_vmresume()
5101 static int handle_vmread(struct kvm_vcpu *vcpu) in handle_vmread()
5185 static int handle_vmwrite(struct kvm_vcpu *vcpu) in handle_vmwrite()
5305 static int handle_vmptrld(struct kvm_vcpu *vcpu) in handle_vmptrld()
5368 static int handle_vmptrst(struct kvm_vcpu *vcpu) in handle_vmptrst()
5404 static int handle_invept(struct kvm_vcpu *vcpu) in handle_invept()
5483 static int handle_invvpid(struct kvm_vcpu *vcpu) in handle_invvpid()
5572 static int nested_vmx_eptp_switching(struct kvm_vcpu *vcpu, in nested_vmx_eptp_switching()
5605 static int handle_vmfunc(struct kvm_vcpu *vcpu) in handle_vmfunc()
5651 bool nested_vmx_check_io_bitmaps(struct kvm_vcpu *vcpu, unsigned int port, in nested_vmx_check_io_bitmaps()
5684 static bool nested_vmx_exit_handled_io(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_io()
5708 static bool nested_vmx_exit_handled_msr(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_msr()
5746 static bool nested_vmx_exit_handled_cr(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_cr()
5816 static bool nested_vmx_exit_handled_vmcs_access(struct kvm_vcpu *vcpu, in nested_vmx_exit_handled_vmcs_access()
5861 static bool nested_vmx_l0_wants_exit(struct kvm_vcpu *vcpu, in nested_vmx_l0_wants_exit()
5926 static bool nested_vmx_l1_wants_exit(struct kvm_vcpu *vcpu, in nested_vmx_l1_wants_exit()
6048 bool nested_vmx_reflect_vmexit(struct kvm_vcpu *vcpu) in nested_vmx_reflect_vmexit()
6100 static int vmx_get_nested_state(struct kvm_vcpu *vcpu, in vmx_get_nested_state()
6218 void vmx_leave_nested(struct kvm_vcpu *vcpu) in vmx_leave_nested()
6227 static int vmx_set_nested_state(struct kvm_vcpu *vcpu, in vmx_set_nested_state()