Home
last modified time | relevance | path

Searched defs:vcpu (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h58 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
63 static __always_inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
69 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
106 static inline unsigned long *vcpu_hcr(struct kvm_vcpu *vcpu) in vcpu_hcr()
111 static inline void vcpu_clear_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_clear_wfx_traps()
121 static inline void vcpu_set_wfx_traps(struct kvm_vcpu *vcpu) in vcpu_set_wfx_traps()
127 static inline void vcpu_ptrauth_enable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_enable()
132 static inline void vcpu_ptrauth_disable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_disable()
137 static inline unsigned long vcpu_get_vsesr(struct kvm_vcpu *vcpu) in vcpu_get_vsesr()
142 static inline void vcpu_set_vsesr(struct kvm_vcpu *vcpu, u64 vsesr) in vcpu_set_vsesr()
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu.c45 static void kvm_riscv_reset_vcpu(struct kvm_vcpu *vcpu) in kvm_riscv_reset_vcpu()
97 int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_create()
150 void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_postcreate()
161 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_destroy()
178 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu) in kvm_cpu_has_pending_timer()
183 void kvm_arch_vcpu_blocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_blocking()
188 void kvm_arch_vcpu_unblocking(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_unblocking()
193 int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_runnable()
199 int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_should_kick()
204 bool kvm_arch_vcpu_in_kernel(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_in_kernel()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbooke.c90 void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu) in kvmppc_dump_vcpu()
113 void kvmppc_vcpu_disable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_disable_spe()
123 static void kvmppc_vcpu_enable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_enable_spe()
133 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
143 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
157 static inline void kvmppc_load_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_load_guest_fp()
174 static inline void kvmppc_save_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_save_guest_fp()
183 static void kvmppc_vcpu_sync_fpu(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_fpu()
198 static inline void kvmppc_load_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_load_guest_altivec()
217 static inline void kvmppc_save_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_save_guest_altivec()
[all …]
H A Dbook3s.c98 static inline void kvmppc_update_int_pending(struct kvm_vcpu *vcpu, in kvmppc_update_int_pending()
109 static inline bool kvmppc_critical_section(struct kvm_vcpu *vcpu) in kvmppc_critical_section()
135 void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) in kvmppc_inject_interrupt()
167 void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu, in kvmppc_book3s_dequeue_irqprio()
179 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio()
191 void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_machine_check()
198 void kvmppc_core_queue_syscall(struct kvm_vcpu *vcpu) in kvmppc_core_queue_syscall()
204 void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_program()
211 void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_fpunavail()
217 void kvmppc_core_queue_vec_unavail(struct kvm_vcpu *vcpu, ulong srr1_flags) in kvmppc_core_queue_vec_unavail()
[all …]
H A Dbook3s_pr.c67 static bool kvmppc_is_split_real(struct kvm_vcpu *vcpu) in kvmppc_is_split_real()
73 static void kvmppc_fixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_fixup_split_real()
94 static void kvmppc_unfixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_unfixup_split_real()
107 static void kvmppc_inject_interrupt_pr(struct kvm_vcpu *vcpu, int vec, u64 srr1_flags) in kvmppc_inject_interrupt_pr()
132 static void kvmppc_core_vcpu_load_pr(struct kvm_vcpu *vcpu, int cpu) in kvmppc_core_vcpu_load_pr()
161 static void kvmppc_core_vcpu_put_pr(struct kvm_vcpu *vcpu) in kvmppc_core_vcpu_put_pr()
192 void kvmppc_copy_to_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_to_svcpu()
231 static void kvmppc_recalc_shadow_msr(struct kvm_vcpu *vcpu) in kvmppc_recalc_shadow_msr()
264 void kvmppc_copy_from_svcpu(struct kvm_vcpu *vcpu) in kvmppc_copy_from_svcpu()
343 void kvmppc_save_tm_sprs(struct kvm_vcpu *vcpu) in kvmppc_save_tm_sprs()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dkvm_cache_regs.h59 static inline bool kvm_register_is_dirty(struct kvm_vcpu *vcpu, in kvm_register_is_dirty()
65 static inline void kvm_register_mark_available(struct kvm_vcpu *vcpu, in kvm_register_mark_available()
71 static inline void kvm_register_mark_dirty(struct kvm_vcpu *vcpu, in kvm_register_mark_dirty()
84 static __always_inline bool kvm_register_test_and_mark_available(struct kvm_vcpu *vcpu, in kvm_register_test_and_mark_available()
95 static inline unsigned long kvm_register_read_raw(struct kvm_vcpu *vcpu, int reg) in kvm_register_read_raw()
106 static inline void kvm_register_write_raw(struct kvm_vcpu *vcpu, int reg, in kvm_register_write_raw()
116 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
121 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
126 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read()
131 static inline void kvm_rsp_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rsp_write()
[all …]
H A Dcpuid.h40 cpuid_maxphyaddr(struct kvm_vcpu * vcpu) cpuid_maxphyaddr() argument
45 kvm_vcpu_is_legal_gpa(struct kvm_vcpu * vcpu,gpa_t gpa) kvm_vcpu_is_legal_gpa() argument
50 kvm_vcpu_is_illegal_gpa(struct kvm_vcpu * vcpu,gpa_t gpa) kvm_vcpu_is_illegal_gpa() argument
55 kvm_vcpu_is_legal_aligned_gpa(struct kvm_vcpu * vcpu,gpa_t gpa,gpa_t alignment) kvm_vcpu_is_legal_aligned_gpa() argument
61 page_address_valid(struct kvm_vcpu * vcpu,gpa_t gpa) page_address_valid() argument
75 guest_cpuid_get_register(struct kvm_vcpu * vcpu,unsigned int x86_feature) guest_cpuid_get_register() argument
88 guest_cpuid_has(struct kvm_vcpu * vcpu,unsigned int x86_feature) guest_cpuid_has() argument
100 guest_cpuid_clear(struct kvm_vcpu * vcpu,unsigned int x86_feature) guest_cpuid_clear() argument
110 guest_cpuid_is_amd_or_hygon(struct kvm_vcpu * vcpu) guest_cpuid_is_amd_or_hygon() argument
120 guest_cpuid_is_intel(struct kvm_vcpu * vcpu) guest_cpuid_is_intel() argument
128 guest_cpuid_is_amd_compatible(struct kvm_vcpu * vcpu) guest_cpuid_is_amd_compatible() argument
133 guest_cpuid_is_intel_compatible(struct kvm_vcpu * vcpu) guest_cpuid_is_intel_compatible() argument
138 guest_cpuid_family(struct kvm_vcpu * vcpu) guest_cpuid_family() argument
149 guest_cpuid_model(struct kvm_vcpu * vcpu) guest_cpuid_model() argument
160 cpuid_model_is_consistent(struct kvm_vcpu * vcpu) cpuid_model_is_consistent() argument
165 guest_cpuid_stepping(struct kvm_vcpu * vcpu) guest_cpuid_stepping() argument
176 guest_has_spec_ctrl_msr(struct kvm_vcpu * vcpu) guest_has_spec_ctrl_msr() argument
184 guest_has_pred_cmd_msr(struct kvm_vcpu * vcpu) guest_has_pred_cmd_msr() argument
190 supports_cpuid_fault(struct kvm_vcpu * vcpu) supports_cpuid_fault() argument
195 cpuid_fault_enabled(struct kvm_vcpu * vcpu) cpuid_fault_enabled() argument
236 guest_pv_has(struct kvm_vcpu * vcpu,unsigned int kvm_feature) guest_pv_has() argument
266 kvm_governed_feature_set(struct kvm_vcpu * vcpu,unsigned int x86_feature) kvm_governed_feature_set() argument
275 kvm_governed_feature_check_and_set(struct kvm_vcpu * vcpu,unsigned int x86_feature) kvm_governed_feature_check_and_set() argument
282 guest_can_use(struct kvm_vcpu * vcpu,unsigned int x86_feature) guest_can_use() argument
[all...]
H A Dx86.h95 static inline bool kvm_vcpu_has_run(struct kvm_vcpu *vcpu) in kvm_vcpu_has_run()
100 static inline bool kvm_is_exception_pending(struct kvm_vcpu *vcpu) in kvm_is_exception_pending()
107 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
114 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
122 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
127 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
138 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
143 static inline bool is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
152 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
164 static inline bool is_64_bit_hypercall(struct kvm_vcpu *vcpu) in is_64_bit_hypercall()
[all …]
H A Dx86.c355 static inline void kvm_async_pf_hash_reset(struct kvm_vcpu *vcpu) in kvm_async_pf_hash_reset() argument
474 kvm_get_apic_base(struct kvm_vcpu * vcpu) kvm_get_apic_base() argument
479 kvm_get_apic_mode(struct kvm_vcpu * vcpu) kvm_get_apic_mode() argument
485 kvm_set_apic_base(struct kvm_vcpu * vcpu,struct msr_data * msr_info) kvm_set_apic_base() argument
573 kvm_deliver_exception_payload(struct kvm_vcpu * vcpu,struct kvm_queued_exception * ex) kvm_deliver_exception_payload() argument
625 kvm_queue_exception_vmexit(struct kvm_vcpu * vcpu,unsigned int vector,bool has_error_code,u32 error_code,bool has_payload,unsigned long payload) kvm_queue_exception_vmexit() argument
641 kvm_leave_nested(struct kvm_vcpu * vcpu) kvm_leave_nested() argument
646 kvm_multiple_exception(struct kvm_vcpu * vcpu,unsigned nr,bool has_error,u32 error_code,bool has_payload,unsigned long payload,bool reinject) kvm_multiple_exception() argument
731 kvm_queue_exception(struct kvm_vcpu * vcpu,unsigned nr) kvm_queue_exception() argument
737 kvm_requeue_exception(struct kvm_vcpu * vcpu,unsigned nr) kvm_requeue_exception() argument
743 kvm_queue_exception_p(struct kvm_vcpu * vcpu,unsigned nr,unsigned long payload) kvm_queue_exception_p() argument
750 kvm_queue_exception_e_p(struct kvm_vcpu * vcpu,unsigned nr,u32 error_code,unsigned long payload) kvm_queue_exception_e_p() argument
757 kvm_complete_insn_gp(struct kvm_vcpu * vcpu,int err) kvm_complete_insn_gp() argument
768 complete_emulated_insn_gp(struct kvm_vcpu * vcpu,int err) complete_emulated_insn_gp() argument
779 kvm_inject_page_fault(struct kvm_vcpu * vcpu,struct x86_exception * fault) kvm_inject_page_fault() argument
796 kvm_inject_emulated_page_fault(struct kvm_vcpu * vcpu,struct x86_exception * fault) kvm_inject_emulated_page_fault() argument
818 kvm_inject_nmi(struct kvm_vcpu * vcpu) kvm_inject_nmi() argument
824 kvm_queue_exception_e(struct kvm_vcpu * vcpu,unsigned nr,u32 error_code) kvm_queue_exception_e() argument
830 kvm_requeue_exception_e(struct kvm_vcpu * vcpu,unsigned nr,u32 error_code) kvm_requeue_exception_e() argument
840 kvm_require_cpl(struct kvm_vcpu * vcpu,int required_cpl) kvm_require_cpl() argument
848 kvm_require_dr(struct kvm_vcpu * vcpu,int dr) kvm_require_dr() argument
858 pdptr_rsvd_bits(struct kvm_vcpu * vcpu) pdptr_rsvd_bits() argument
866 load_pdptrs(struct kvm_vcpu * vcpu,unsigned long cr3) load_pdptrs() argument
913 kvm_is_valid_cr0(struct kvm_vcpu * vcpu,unsigned long cr0) kvm_is_valid_cr0() argument
929 kvm_post_set_cr0(struct kvm_vcpu * vcpu,unsigned long old_cr0,unsigned long cr0) kvm_post_set_cr0() argument
971 kvm_set_cr0(struct kvm_vcpu * vcpu,unsigned long cr0) kvm_set_cr0() argument
1012 kvm_lmsw(struct kvm_vcpu * vcpu,unsigned long msw) kvm_lmsw() argument
1018 kvm_load_guest_xsave_state(struct kvm_vcpu * vcpu) kvm_load_guest_xsave_state() argument
1041 kvm_load_host_xsave_state(struct kvm_vcpu * vcpu) kvm_load_host_xsave_state() argument
1068 kvm_guest_supported_xfd(struct kvm_vcpu * vcpu) kvm_guest_supported_xfd() argument
1074 __kvm_set_xcr(struct kvm_vcpu * vcpu,u32 index,u64 xcr) __kvm_set_xcr() argument
1119 kvm_emulate_xsetbv(struct kvm_vcpu * vcpu) kvm_emulate_xsetbv() argument
1132 __kvm_is_valid_cr4(struct kvm_vcpu * vcpu,unsigned long cr4) __kvm_is_valid_cr4() argument
1144 kvm_is_valid_cr4(struct kvm_vcpu * vcpu,unsigned long cr4) kvm_is_valid_cr4() argument
1150 kvm_post_set_cr4(struct kvm_vcpu * vcpu,unsigned long old_cr4,unsigned long cr4) kvm_post_set_cr4() argument
1192 kvm_set_cr4(struct kvm_vcpu * vcpu,unsigned long cr4) kvm_set_cr4() argument
1223 kvm_invalidate_pcid(struct kvm_vcpu * vcpu,unsigned long pcid) kvm_invalidate_pcid() argument
1266 kvm_set_cr3(struct kvm_vcpu * vcpu,unsigned long cr3) kvm_set_cr3() argument
1315 kvm_set_cr8(struct kvm_vcpu * vcpu,unsigned long cr8) kvm_set_cr8() argument
1327 kvm_get_cr8(struct kvm_vcpu * vcpu) kvm_get_cr8() argument
1336 kvm_update_dr0123(struct kvm_vcpu * vcpu) kvm_update_dr0123() argument
1346 kvm_update_dr7(struct kvm_vcpu * vcpu) kvm_update_dr7() argument
1361 kvm_dr6_fixed(struct kvm_vcpu * vcpu) kvm_dr6_fixed() argument
1373 kvm_set_dr(struct kvm_vcpu * vcpu,int dr,unsigned long val) kvm_set_dr() argument
1402 kvm_get_dr(struct kvm_vcpu * vcpu,int dr,unsigned long * val) kvm_get_dr() argument
1422 kvm_emulate_rdpmc(struct kvm_vcpu * vcpu) kvm_emulate_rdpmc() argument
1702 do_get_msr_feature(struct kvm_vcpu * vcpu,unsigned index,u64 * data) do_get_msr_feature() argument
1725 __kvm_valid_efer(struct kvm_vcpu * vcpu,u64 efer) __kvm_valid_efer() argument
1746 kvm_valid_efer(struct kvm_vcpu * vcpu,u64 efer) kvm_valid_efer() argument
1755 set_efer(struct kvm_vcpu * vcpu,struct msr_data * msr_info) set_efer() argument
1794 kvm_msr_allowed(struct kvm_vcpu * vcpu,u32 index,u32 type) kvm_msr_allowed() argument
1843 __kvm_set_msr(struct kvm_vcpu * vcpu,u32 index,u64 data,bool host_initiated) __kvm_set_msr() argument
1905 kvm_set_msr_ignored_check(struct kvm_vcpu * vcpu,u32 index,u64 data,bool host_initiated) kvm_set_msr_ignored_check() argument
1923 __kvm_get_msr(struct kvm_vcpu * vcpu,u32 index,u64 * data,bool host_initiated) __kvm_get_msr() argument
1950 kvm_get_msr_ignored_check(struct kvm_vcpu * vcpu,u32 index,u64 * data,bool host_initiated) kvm_get_msr_ignored_check() argument
1965 kvm_get_msr_with_filter(struct kvm_vcpu * vcpu,u32 index,u64 * data) kvm_get_msr_with_filter() argument
1972 kvm_set_msr_with_filter(struct kvm_vcpu * vcpu,u32 index,u64 data) kvm_set_msr_with_filter() argument
1979 kvm_get_msr(struct kvm_vcpu * vcpu,u32 index,u64 * data) kvm_get_msr() argument
1985 kvm_set_msr(struct kvm_vcpu * vcpu,u32 index,u64 data) kvm_set_msr() argument
1991 complete_userspace_rdmsr(struct kvm_vcpu * vcpu) complete_userspace_rdmsr() argument
1999 complete_emulated_msr_access(struct kvm_vcpu * vcpu) complete_emulated_msr_access() argument
2004 complete_emulated_rdmsr(struct kvm_vcpu * vcpu) complete_emulated_rdmsr() argument
2010 complete_fast_msr_access(struct kvm_vcpu * vcpu) complete_fast_msr_access() argument
2015 complete_fast_rdmsr(struct kvm_vcpu * vcpu) complete_fast_rdmsr() argument
2033 kvm_msr_user_space(struct kvm_vcpu * vcpu,u32 index,u32 exit_reason,u64 data,int (* completion)(struct kvm_vcpu * vcpu),int r) kvm_msr_user_space() argument
2035 kvm_msr_user_space(struct kvm_vcpu * vcpu,u32 index,u32 exit_reason,u64 data,int (* completion)(struct kvm_vcpu * vcpu),int r) kvm_msr_user_space() argument
2055 kvm_emulate_rdmsr(struct kvm_vcpu * vcpu) kvm_emulate_rdmsr() argument
2080 kvm_emulate_wrmsr(struct kvm_vcpu * vcpu) kvm_emulate_wrmsr() argument
2105 kvm_emulate_as_nop(struct kvm_vcpu * vcpu) kvm_emulate_as_nop() argument
2110 kvm_emulate_invd(struct kvm_vcpu * vcpu) kvm_emulate_invd() argument
2117 kvm_handle_invalid_op(struct kvm_vcpu * vcpu) kvm_handle_invalid_op() argument
2125 kvm_emulate_monitor_mwait(struct kvm_vcpu * vcpu,const char * insn) kvm_emulate_monitor_mwait() argument
2134 kvm_emulate_mwait(struct kvm_vcpu * vcpu) kvm_emulate_mwait() argument
2140 kvm_emulate_monitor(struct kvm_vcpu * vcpu) kvm_emulate_monitor() argument
2146 kvm_vcpu_exit_request(struct kvm_vcpu * vcpu) kvm_vcpu_exit_request() argument
2160 handle_fastpath_set_x2apic_icr_irqoff(struct kvm_vcpu * vcpu,u64 data) handle_fastpath_set_x2apic_icr_irqoff() argument
2174 handle_fastpath_set_tscdeadline(struct kvm_vcpu * vcpu,u64 data) handle_fastpath_set_tscdeadline() argument
2183 handle_fastpath_set_msr_irqoff(struct kvm_vcpu * vcpu) handle_fastpath_set_msr_irqoff() argument
2222 do_get_msr(struct kvm_vcpu * vcpu,unsigned index,u64 * data) do_get_msr() argument
2227 do_set_msr(struct kvm_vcpu * vcpu,unsigned index,u64 * data) do_set_msr() argument
2360 kvm_write_system_time(struct kvm_vcpu * vcpu,gpa_t system_time,bool old_msr,bool host_initiated) kvm_write_system_time() argument
2435 set_tsc_khz(struct kvm_vcpu * vcpu,u32 user_tsc_khz,bool scale) set_tsc_khz() argument
2471 kvm_set_tsc_khz(struct kvm_vcpu * vcpu,u32 user_tsc_khz) kvm_set_tsc_khz() argument
2505 compute_guest_tsc(struct kvm_vcpu * vcpu,s64 kernel_ns) compute_guest_tsc() argument
2521 kvm_track_tsc_matching(struct kvm_vcpu * vcpu) kvm_track_tsc_matching() argument
2574 kvm_compute_l1_tsc_offset(struct kvm_vcpu * vcpu,u64 target_tsc) kvm_compute_l1_tsc_offset() argument
2583 kvm_read_l1_tsc(struct kvm_vcpu * vcpu,u64 host_tsc) kvm_read_l1_tsc() argument
2615 kvm_vcpu_write_tsc_offset(struct kvm_vcpu * vcpu,u64 l1_offset) kvm_vcpu_write_tsc_offset() argument
2639 kvm_vcpu_write_tsc_multiplier(struct kvm_vcpu * vcpu,u64 l1_multiplier) kvm_vcpu_write_tsc_multiplier() argument
2673 __kvm_synchronize_tsc(struct kvm_vcpu * vcpu,u64 offset,u64 tsc,u64 ns,bool matched) __kvm_synchronize_tsc() argument
2720 kvm_synchronize_tsc(struct kvm_vcpu * vcpu,u64 data) kvm_synchronize_tsc() argument
2777 adjust_tsc_offset_guest(struct kvm_vcpu * vcpu,s64 adjustment) adjust_tsc_offset_guest() argument
2784 adjust_tsc_offset_host(struct kvm_vcpu * vcpu,s64 adjustment) adjust_tsc_offset_host() argument
3008 struct kvm_vcpu *vcpu; kvm_end_pvclock_update() local
3104 struct kvm_vcpu_arch *vcpu = &v->arch; kvm_setup_guest_pvclock() local
3153 struct kvm_vcpu_arch *vcpu = &v->arch; kvm_guest_time_update() local
3270 struct kvm_vcpu *vcpu; kvmclock_update_fn() local
3317 can_set_mci_status(struct kvm_vcpu * vcpu) can_set_mci_status() argument
3326 set_msr_mce(struct kvm_vcpu * vcpu,struct msr_data * msr_info) set_msr_mce() argument
3398 kvm_pv_async_pf_enabled(struct kvm_vcpu * vcpu) kvm_pv_async_pf_enabled() argument
3405 kvm_pv_enable_async_pf(struct kvm_vcpu * vcpu,u64 data) kvm_pv_enable_async_pf() argument
3444 kvm_pv_enable_async_pf_int(struct kvm_vcpu * vcpu,u64 data) kvm_pv_enable_async_pf_int() argument
3460 kvmclock_reset(struct kvm_vcpu * vcpu) kvmclock_reset() argument
3466 kvm_vcpu_flush_tlb_all(struct kvm_vcpu * vcpu) kvm_vcpu_flush_tlb_all() argument
3475 kvm_vcpu_flush_tlb_guest(struct kvm_vcpu * vcpu) kvm_vcpu_flush_tlb_guest() argument
3500 kvm_vcpu_flush_tlb_current(struct kvm_vcpu * vcpu) kvm_vcpu_flush_tlb_current() argument
3512 kvm_service_local_tlb_flush_requests(struct kvm_vcpu * vcpu) kvm_service_local_tlb_flush_requests() argument
3522 record_steal_time(struct kvm_vcpu * vcpu) record_steal_time() argument
3632 kvm_set_msr_common(struct kvm_vcpu * vcpu,struct msr_data * msr_info) kvm_set_msr_common() argument
4003 get_msr_mce(struct kvm_vcpu * vcpu,u32 msr,u64 * pdata,bool host) get_msr_mce() argument
4053 kvm_get_msr_common(struct kvm_vcpu * vcpu,struct msr_data * msr_info) kvm_get_msr_common() argument
4367 __msr_io(struct kvm_vcpu * vcpu,struct kvm_msrs * msrs,struct kvm_msr_entry * entries,int (* do_msr)(struct kvm_vcpu * vcpu,unsigned index,u64 * data)) __msr_io() argument
4369 __msr_io(struct kvm_vcpu * vcpu,struct kvm_msrs * msrs,struct kvm_msr_entry * entries,int (* do_msr)(struct kvm_vcpu * vcpu,unsigned index,u64 * data)) __msr_io() argument
4386 msr_io(struct kvm_vcpu * vcpu,struct kvm_msrs __user * user_msrs,int (* do_msr)(struct kvm_vcpu * vcpu,unsigned index,u64 * data),int writeback) msr_io() argument
4387 msr_io(struct kvm_vcpu * vcpu,struct kvm_msrs __user * user_msrs,int (* do_msr)(struct kvm_vcpu * vcpu,unsigned index,u64 * data),int writeback) msr_io() argument
4428 kvm_ioctl_get_supported_hv_cpuid(struct kvm_vcpu * vcpu,struct kvm_cpuid2 __user * cpuid_arg) kvm_ioctl_get_supported_hv_cpuid() argument
4804 need_emulate_wbinvd(struct kvm_vcpu * vcpu) need_emulate_wbinvd() argument
4809 kvm_arch_vcpu_load(struct kvm_vcpu * vcpu,int cpu) kvm_arch_vcpu_load() argument
4862 kvm_steal_time_set_preempted(struct kvm_vcpu * vcpu) kvm_steal_time_set_preempted() argument
4909 kvm_arch_vcpu_put(struct kvm_vcpu * vcpu) kvm_arch_vcpu_put() argument
4933 kvm_vcpu_ioctl_get_lapic(struct kvm_vcpu * vcpu,struct kvm_lapic_state * s) kvm_vcpu_ioctl_get_lapic() argument
4941 kvm_vcpu_ioctl_set_lapic(struct kvm_vcpu * vcpu,struct kvm_lapic_state * s) kvm_vcpu_ioctl_set_lapic() argument
4954 kvm_cpu_accept_dm_intr(struct kvm_vcpu * vcpu) kvm_cpu_accept_dm_intr() argument
4970 kvm_vcpu_ready_for_interrupt_injection(struct kvm_vcpu * vcpu) kvm_vcpu_ready_for_interrupt_injection() argument
4985 kvm_vcpu_ioctl_interrupt(struct kvm_vcpu * vcpu,struct kvm_interrupt * irq) kvm_vcpu_ioctl_interrupt() argument
5012 kvm_vcpu_ioctl_nmi(struct kvm_vcpu * vcpu) kvm_vcpu_ioctl_nmi() argument
5019 vcpu_ioctl_tpr_access_reporting(struct kvm_vcpu * vcpu,struct kvm_tpr_access_ctl * tac) vcpu_ioctl_tpr_access_reporting() argument
5028 kvm_vcpu_ioctl_x86_setup_mce(struct kvm_vcpu * vcpu,u64 mcg_cap) kvm_vcpu_ioctl_x86_setup_mce() argument
5075 kvm_vcpu_x86_set_ucna(struct kvm_vcpu * vcpu,struct kvm_x86_mce * mce,u64 * banks) kvm_vcpu_x86_set_ucna() argument
5094 kvm_vcpu_ioctl_x86_set_mce(struct kvm_vcpu * vcpu,struct kvm_x86_mce * mce) kvm_vcpu_ioctl_x86_set_mce() argument
5147 kvm_vcpu_ioctl_x86_get_vcpu_events(struct kvm_vcpu * vcpu,struct kvm_vcpu_events * events) kvm_vcpu_ioctl_x86_get_vcpu_events() argument
5240 kvm_vcpu_ioctl_x86_set_vcpu_events(struct kvm_vcpu * vcpu,struct kvm_vcpu_events * events) kvm_vcpu_ioctl_x86_set_vcpu_events() argument
5359 kvm_vcpu_ioctl_x86_get_debugregs(struct kvm_vcpu * vcpu,struct kvm_debugregs * dbgregs) kvm_vcpu_ioctl_x86_get_debugregs() argument
5371 kvm_vcpu_ioctl_x86_set_debugregs(struct kvm_vcpu * vcpu,struct kvm_debugregs * dbgregs) kvm_vcpu_ioctl_x86_set_debugregs() argument
5392 kvm_vcpu_ioctl_x86_get_xsave2(struct kvm_vcpu * vcpu,u8 * state,unsigned int size) kvm_vcpu_ioctl_x86_get_xsave2() argument
5417 kvm_vcpu_ioctl_x86_get_xsave(struct kvm_vcpu * vcpu,struct kvm_xsave * guest_xsave) kvm_vcpu_ioctl_x86_get_xsave() argument
5424 kvm_vcpu_ioctl_x86_set_xsave(struct kvm_vcpu * vcpu,struct kvm_xsave * guest_xsave) kvm_vcpu_ioctl_x86_set_xsave() argument
5436 kvm_vcpu_ioctl_x86_get_xcrs(struct kvm_vcpu * vcpu,struct kvm_xcrs * guest_xcrs) kvm_vcpu_ioctl_x86_get_xcrs() argument
5450 kvm_vcpu_ioctl_x86_set_xcrs(struct kvm_vcpu * vcpu,struct kvm_xcrs * guest_xcrs) kvm_vcpu_ioctl_x86_set_xcrs() argument
5479 kvm_set_guest_paused(struct kvm_vcpu * vcpu) kvm_set_guest_paused() argument
5488 kvm_arch_tsc_has_attr(struct kvm_vcpu * vcpu,struct kvm_device_attr * attr) kvm_arch_tsc_has_attr() argument
5504 kvm_arch_tsc_get_attr(struct kvm_vcpu * vcpu,struct kvm_device_attr * attr) kvm_arch_tsc_get_attr() argument
5527 kvm_arch_tsc_set_attr(struct kvm_vcpu * vcpu,struct kvm_device_attr * attr) kvm_arch_tsc_set_attr() argument
5569 kvm_vcpu_ioctl_device_attr(struct kvm_vcpu * vcpu,unsigned int ioctl,void __user * argp) kvm_vcpu_ioctl_device_attr() argument
5597 kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu * vcpu,struct kvm_enable_cap * cap) kvm_vcpu_ioctl_enable_cap() argument
5652 struct kvm_vcpu *vcpu = filp->private_data; kvm_arch_vcpu_ioctl() local
6093 kvm_arch_vcpu_fault(struct kvm_vcpu * vcpu,struct vm_fault * vmf) kvm_arch_vcpu_fault() argument
6267 struct kvm_vcpu *vcpu; kvm_arch_sync_dirty_log() local
6685 struct kvm_vcpu *vcpu; kvm_arch_suspend_notifier() local
7247 vcpu_mmio_write(struct kvm_vcpu * vcpu,gpa_t addr,int len,const void * v) vcpu_mmio_write() argument
7268 vcpu_mmio_read(struct kvm_vcpu * vcpu,gpa_t addr,int len,void * v) vcpu_mmio_read() argument
7290 kvm_set_segment(struct kvm_vcpu * vcpu,struct kvm_segment * var,int seg) kvm_set_segment() argument
7296 kvm_get_segment(struct kvm_vcpu * vcpu,struct kvm_segment * var,int seg) kvm_get_segment() argument
7302 translate_nested_gpa(struct kvm_vcpu * vcpu,gpa_t gpa,u64 access,struct x86_exception * exception) translate_nested_gpa() argument
7317 kvm_mmu_gva_to_gpa_read(struct kvm_vcpu * vcpu,gva_t gva,struct x86_exception * exception) kvm_mmu_gva_to_gpa_read() argument
7327 kvm_mmu_gva_to_gpa_write(struct kvm_vcpu * vcpu,gva_t gva,struct x86_exception * exception) kvm_mmu_gva_to_gpa_write() argument
7339 kvm_mmu_gva_to_gpa_system(struct kvm_vcpu * vcpu,gva_t gva,struct x86_exception * exception) kvm_mmu_gva_to_gpa_system() argument
7348 kvm_read_guest_virt_helper(gva_t addr,void * val,unsigned int bytes,struct kvm_vcpu * vcpu,u64 access,struct x86_exception * exception) kvm_read_guest_virt_helper() argument
7383 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); kvm_fetch_guest_virt() local
7406 kvm_read_guest_virt(struct kvm_vcpu * vcpu,gva_t addr,void * val,unsigned int bytes,struct x86_exception * exception) kvm_read_guest_virt() argument
7428 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_read_std() local
7440 kvm_write_guest_virt_helper(gva_t addr,void * val,unsigned int bytes,struct kvm_vcpu * vcpu,u64 access,struct x86_exception * exception) kvm_write_guest_virt_helper() argument
7473 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_write_std() local
7485 kvm_write_guest_virt_system(struct kvm_vcpu * vcpu,gva_t addr,void * val,unsigned int bytes,struct x86_exception * exception) kvm_write_guest_virt_system() argument
7496 kvm_can_emulate_insn(struct kvm_vcpu * vcpu,int emul_type,void * insn,int insn_len) kvm_can_emulate_insn() argument
7503 handle_ud(struct kvm_vcpu * vcpu) handle_ud() argument
7528 vcpu_is_mmio_gpa(struct kvm_vcpu * vcpu,unsigned long gva,gpa_t gpa,bool write) vcpu_is_mmio_gpa() argument
7543 vcpu_mmio_gva_to_gpa(struct kvm_vcpu * vcpu,unsigned long gva,gpa_t * gpa,struct x86_exception * exception,bool write) vcpu_mmio_gva_to_gpa() argument
7573 emulator_write_phys(struct kvm_vcpu * vcpu,gpa_t gpa,const void * val,int bytes) emulator_write_phys() argument
7597 read_prepare(struct kvm_vcpu * vcpu,void * val,int bytes) read_prepare() argument
7609 read_emulate(struct kvm_vcpu * vcpu,gpa_t gpa,void * val,int bytes) read_emulate() argument
7615 write_emulate(struct kvm_vcpu * vcpu,gpa_t gpa,void * val,int bytes) write_emulate() argument
7621 write_mmio(struct kvm_vcpu * vcpu,gpa_t gpa,int bytes,void * val) write_mmio() argument
7627 read_exit_mmio(struct kvm_vcpu * vcpu,gpa_t gpa,void * val,int bytes) read_exit_mmio() argument
7634 write_exit_mmio(struct kvm_vcpu * vcpu,gpa_t gpa,void * val,int bytes) write_exit_mmio() argument
7660 emulator_read_write_onepage(unsigned long addr,void * val,unsigned int bytes,struct x86_exception * exception,struct kvm_vcpu * vcpu,const struct read_write_emulator_ops * ops) emulator_read_write_onepage() argument
7714 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_read_write() local
7792 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_cmpxchg_emulated() local
7868 emulator_pio_in_out(struct kvm_vcpu * vcpu,int size,unsigned short port,void * data,unsigned int count,bool in) emulator_pio_in_out() argument
7919 emulator_pio_in(struct kvm_vcpu * vcpu,int size,unsigned short port,void * val,unsigned int count) emulator_pio_in() argument
7929 complete_emulator_pio_in(struct kvm_vcpu * vcpu,void * val) complete_emulator_pio_in() argument
7942 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_pio_in_emulated() local
7958 emulator_pio_out(struct kvm_vcpu * vcpu,int size,unsigned short port,const void * val,unsigned int count) emulator_pio_out() argument
7973 get_segment_base(struct kvm_vcpu * vcpu,int seg) get_segment_base() argument
7983 kvm_emulate_wbinvd_noskip(struct kvm_vcpu * vcpu) kvm_emulate_wbinvd_noskip() argument
8001 kvm_emulate_wbinvd(struct kvm_vcpu * vcpu) kvm_emulate_wbinvd() argument
8035 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_get_cr() local
8064 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_cr() local
8162 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_segment() local
8191 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_get_msr_with_filter() local
8214 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_set_msr_with_filter() local
8386 toggle_interruptibility(struct kvm_vcpu * vcpu,u32 mask) toggle_interruptibility() argument
8405 inject_emulated_exception(struct kvm_vcpu * vcpu) inject_emulated_exception() argument
8418 alloc_emulate_ctxt(struct kvm_vcpu * vcpu) alloc_emulate_ctxt() argument
8435 init_emulate_ctxt(struct kvm_vcpu * vcpu) init_emulate_ctxt() argument
8461 kvm_inject_realmode_interrupt(struct kvm_vcpu * vcpu,int irq,int inc_eip) kvm_inject_realmode_interrupt() argument
8483 prepare_emulation_failure_exit(struct kvm_vcpu * vcpu,u64 * data,u8 ndata,u8 * insn_bytes,u8 insn_size) prepare_emulation_failure_exit() argument
8534 prepare_emulation_ctxt_failure_exit(struct kvm_vcpu * vcpu) prepare_emulation_ctxt_failure_exit() argument
8542 __kvm_prepare_emulation_failure_exit(struct kvm_vcpu * vcpu,u64 * data,u8 ndata) __kvm_prepare_emulation_failure_exit() argument
8549 kvm_prepare_emulation_failure_exit(struct kvm_vcpu * vcpu) kvm_prepare_emulation_failure_exit() argument
8555 handle_emulation_failure(struct kvm_vcpu * vcpu,int emulation_type) handle_emulation_failure() argument
8583 reexecute_instruction(struct kvm_vcpu * vcpu,gpa_t cr2_or_gpa,int emulation_type) reexecute_instruction() argument
8660 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); retry_instruction() local
8723 kvm_vcpu_do_singlestep(struct kvm_vcpu * vcpu) kvm_vcpu_do_singlestep() argument
8738 kvm_skip_emulated_instruction(struct kvm_vcpu * vcpu) kvm_skip_emulated_instruction() argument
8763 kvm_is_code_breakpoint_inhibited(struct kvm_vcpu * vcpu) kvm_is_code_breakpoint_inhibited() argument
8780 kvm_vcpu_check_code_breakpoint(struct kvm_vcpu * vcpu,int emulation_type,int * r) kvm_vcpu_check_code_breakpoint() argument
8879 x86_decode_emulated_instruction(struct kvm_vcpu * vcpu,int emulation_type,void * insn,int insn_len) x86_decode_emulated_instruction() argument
8896 x86_emulate_instruction(struct kvm_vcpu * vcpu,gpa_t cr2_or_gpa,int emulation_type,void * insn,int insn_len) x86_emulate_instruction() argument
9078 kvm_emulate_instruction(struct kvm_vcpu * vcpu,int emulation_type) kvm_emulate_instruction() argument
9084 kvm_emulate_instruction_from_buffer(struct kvm_vcpu * vcpu,void * insn,int insn_len) kvm_emulate_instruction_from_buffer() argument
9091 complete_fast_pio_out_port_0x7e(struct kvm_vcpu * vcpu) complete_fast_pio_out_port_0x7e() argument
9097 complete_fast_pio_out(struct kvm_vcpu * vcpu) complete_fast_pio_out() argument
9107 kvm_fast_pio_out(struct kvm_vcpu * vcpu,int size,unsigned short port) kvm_fast_pio_out() argument
9132 complete_fast_pio_in(struct kvm_vcpu * vcpu) complete_fast_pio_in() argument
9153 kvm_fast_pio_in(struct kvm_vcpu * vcpu,int size,unsigned short port) kvm_fast_pio_in() argument
9174 kvm_fast_pio(struct kvm_vcpu * vcpu,int size,unsigned short port,int in) kvm_fast_pio() argument
9241 struct kvm_vcpu *vcpu; __kvmclock_cpufreq_notifier() local
9372 struct kvm_vcpu *vcpu; pvclock_gtod_update_fn() local
9648 __kvm_emulate_halt(struct kvm_vcpu * vcpu,int state,int reason) __kvm_emulate_halt() argument
9667 kvm_emulate_halt_noskip(struct kvm_vcpu * vcpu) kvm_emulate_halt_noskip() argument
9673 kvm_emulate_halt(struct kvm_vcpu * vcpu) kvm_emulate_halt() argument
9684 kvm_emulate_ap_reset_hold(struct kvm_vcpu * vcpu) kvm_emulate_ap_reset_hold() argument
9694 kvm_pv_clock_pairing(struct kvm_vcpu * vcpu,gpa_t paddr,unsigned long clock_type) kvm_pv_clock_pairing() argument
9757 kvm_vcpu_apicv_activated(struct kvm_vcpu * vcpu) kvm_vcpu_apicv_activated() argument
9790 kvm_sched_yield(struct kvm_vcpu * vcpu,unsigned long dest_id) kvm_sched_yield() argument
9824 complete_hypercall_exit(struct kvm_vcpu * vcpu) complete_hypercall_exit() argument
9835 kvm_emulate_hypercall(struct kvm_vcpu * vcpu) kvm_emulate_hypercall() argument
9942 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); emulator_fix_hypercall() local
9963 dm_request_for_irq_injection(struct kvm_vcpu * vcpu) dm_request_for_irq_injection() argument
9970 post_kvm_run_save(struct kvm_vcpu * vcpu) post_kvm_run_save() argument
9986 update_cr8_intercept(struct kvm_vcpu * vcpu) update_cr8_intercept() argument
10013 kvm_check_nested_events(struct kvm_vcpu * vcpu) kvm_check_nested_events() argument
10023 kvm_inject_exception(struct kvm_vcpu * vcpu) kvm_inject_exception() argument
10081 kvm_check_and_inject_events(struct kvm_vcpu * vcpu,bool * req_immediate_exit) kvm_check_and_inject_events() argument
10286 process_nmi(struct kvm_vcpu * vcpu) process_nmi() argument
10324 kvm_get_nr_pending_nmis(struct kvm_vcpu * vcpu) kvm_get_nr_pending_nmis() argument
10341 __kvm_vcpu_update_apicv(struct kvm_vcpu * vcpu) __kvm_vcpu_update_apicv() argument
10378 kvm_vcpu_update_apicv(struct kvm_vcpu * vcpu) kvm_vcpu_update_apicv() argument
10454 vcpu_scan_ioapic(struct kvm_vcpu * vcpu) vcpu_scan_ioapic() argument
10474 vcpu_load_eoi_exitmap(struct kvm_vcpu * vcpu) vcpu_load_eoi_exitmap() argument
10498 kvm_vcpu_reload_apic_access_page(struct kvm_vcpu * vcpu) kvm_vcpu_reload_apic_access_page() argument
10506 __kvm_request_immediate_exit(struct kvm_vcpu * vcpu) __kvm_request_immediate_exit() argument
10518 vcpu_enter_guest(struct kvm_vcpu * vcpu) vcpu_enter_guest() argument
10904 vcpu_block(struct kvm_vcpu * vcpu) vcpu_block() argument
10971 kvm_vcpu_running(struct kvm_vcpu * vcpu) kvm_vcpu_running() argument
10978 vcpu_run(struct kvm_vcpu * vcpu) vcpu_run() argument
11028 complete_emulated_io(struct kvm_vcpu * vcpu) complete_emulated_io() argument
11033 complete_emulated_pio(struct kvm_vcpu * vcpu) complete_emulated_pio() argument
11058 complete_emulated_mmio(struct kvm_vcpu * vcpu) complete_emulated_mmio() argument
11104 kvm_load_guest_fpu(struct kvm_vcpu * vcpu) kvm_load_guest_fpu() argument
11112 kvm_put_guest_fpu(struct kvm_vcpu * vcpu) kvm_put_guest_fpu() argument
11119 kvm_arch_vcpu_ioctl_run(struct kvm_vcpu * vcpu) kvm_arch_vcpu_ioctl_run() argument
11233 __get_regs(struct kvm_vcpu * vcpu,struct kvm_regs * regs) __get_regs() argument
11269 kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu * vcpu,struct kvm_regs * regs) kvm_arch_vcpu_ioctl_get_regs() argument
11277 __set_regs(struct kvm_vcpu * vcpu,struct kvm_regs * regs) __set_regs() argument
11310 kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu * vcpu,struct kvm_regs * regs) kvm_arch_vcpu_ioctl_set_regs() argument
11318 __get_sregs_common(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs) __get_sregs_common() argument
11353 __get_sregs(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs) __get_sregs() argument
11365 __get_sregs2(struct kvm_vcpu * vcpu,struct kvm_sregs2 * sregs2) __get_sregs2() argument
11381 kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs) kvm_arch_vcpu_ioctl_get_sregs() argument
11390 kvm_arch_vcpu_ioctl_get_mpstate(struct kvm_vcpu * vcpu,struct kvm_mp_state * mp_state) kvm_arch_vcpu_ioctl_get_mpstate() argument
11418 kvm_arch_vcpu_ioctl_set_mpstate(struct kvm_vcpu * vcpu,struct kvm_mp_state * mp_state) kvm_arch_vcpu_ioctl_set_mpstate() argument
11466 kvm_task_switch(struct kvm_vcpu * vcpu,u16 tss_selector,int idt_index,int reason,bool has_error_code,u32 error_code) kvm_task_switch() argument
11489 kvm_is_valid_sregs(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs) kvm_is_valid_sregs() argument
11514 __set_sregs_common(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs,int * mmu_reset_needed,bool update_pdptrs) __set_sregs_common() argument
11587 __set_sregs(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs) __set_sregs() argument
11611 __set_sregs2(struct kvm_vcpu * vcpu,struct kvm_sregs2 * sregs2) __set_sregs2() argument
11643 kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu * vcpu,struct kvm_sregs * sregs) kvm_arch_vcpu_ioctl_set_sregs() argument
11657 struct kvm_vcpu *vcpu; kvm_arch_vcpu_guestdbg_update_apicv_inhibit() local
11675 kvm_arch_vcpu_ioctl_set_guest_debug(struct kvm_vcpu * vcpu,struct kvm_guest_debug * dbg) kvm_arch_vcpu_ioctl_set_guest_debug() argument
11739 kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu * vcpu,struct kvm_translation * tr) kvm_arch_vcpu_ioctl_translate() argument
11760 kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu * vcpu,struct kvm_fpu * fpu) kvm_arch_vcpu_ioctl_get_fpu() argument
11783 kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu * vcpu,struct kvm_fpu * fpu) kvm_arch_vcpu_ioctl_set_fpu() argument
11807 store_regs(struct kvm_vcpu * vcpu) store_regs() argument
11822 sync_regs(struct kvm_vcpu * vcpu) sync_regs() argument
11865 kvm_arch_vcpu_create(struct kvm_vcpu * vcpu) kvm_arch_vcpu_create() argument
11983 kvm_arch_vcpu_postcreate(struct kvm_vcpu * vcpu) kvm_arch_vcpu_postcreate() argument
12003 kvm_arch_vcpu_destroy(struct kvm_vcpu * vcpu) kvm_arch_vcpu_destroy() argument
12030 kvm_vcpu_reset(struct kvm_vcpu * vcpu,bool init_event) kvm_vcpu_reset() argument
12181 kvm_vcpu_deliver_sipi_vector(struct kvm_vcpu * vcpu,u8 vector) kvm_vcpu_deliver_sipi_vector() argument
12196 struct kvm_vcpu *vcpu; kvm_arch_hardware_enable() local
12295 kvm_vcpu_is_reset_bsp(struct kvm_vcpu * vcpu) kvm_vcpu_is_reset_bsp() argument
12300 kvm_vcpu_is_bsp(struct kvm_vcpu * vcpu) kvm_vcpu_is_bsp() argument
12308 kvm_arch_sched_in(struct kvm_vcpu * vcpu,int cpu) kvm_arch_sched_in() argument
12394 kvm_unload_vcpu_mmu(struct kvm_vcpu * vcpu) kvm_unload_vcpu_mmu() argument
12404 struct kvm_vcpu *vcpu; kvm_unload_vcpu_mmus() local
12642 struct kvm_vcpu *vcpu; kvm_arch_memslots_updated() local
12841 kvm_guest_apic_has_interrupt(struct kvm_vcpu * vcpu) kvm_guest_apic_has_interrupt() argument
12847 kvm_vcpu_has_events(struct kvm_vcpu * vcpu) kvm_vcpu_has_events() argument
12896 kvm_arch_vcpu_runnable(struct kvm_vcpu * vcpu) kvm_arch_vcpu_runnable() argument
12901 kvm_arch_dy_has_pending_interrupt(struct kvm_vcpu * vcpu) kvm_arch_dy_has_pending_interrupt() argument
12910 kvm_arch_dy_runnable(struct kvm_vcpu * vcpu) kvm_arch_dy_runnable() argument
12925 kvm_arch_vcpu_in_kernel(struct kvm_vcpu * vcpu) kvm_arch_vcpu_in_kernel() argument
12933 kvm_arch_vcpu_get_ip(struct kvm_vcpu * vcpu) kvm_arch_vcpu_get_ip() argument
12938 kvm_arch_vcpu_should_kick(struct kvm_vcpu * vcpu) kvm_arch_vcpu_should_kick() argument
12943 kvm_arch_interrupt_allowed(struct kvm_vcpu * vcpu) kvm_arch_interrupt_allowed() argument
12948 kvm_get_linear_rip(struct kvm_vcpu * vcpu) kvm_get_linear_rip() argument
12961 kvm_is_linear_rip(struct kvm_vcpu * vcpu,unsigned long linear_rip) kvm_is_linear_rip() argument
12967 kvm_get_rflags(struct kvm_vcpu * vcpu) kvm_get_rflags() argument
12978 __kvm_set_rflags(struct kvm_vcpu * vcpu,unsigned long rflags) __kvm_set_rflags() argument
12986 kvm_set_rflags(struct kvm_vcpu * vcpu,unsigned long rflags) kvm_set_rflags() argument
13005 kvm_add_async_pf_gfn(struct kvm_vcpu * vcpu,gfn_t gfn) kvm_add_async_pf_gfn() argument
13015 kvm_async_pf_gfn_slot(struct kvm_vcpu * vcpu,gfn_t gfn) kvm_async_pf_gfn_slot() argument
13028 kvm_find_async_pf_gfn(struct kvm_vcpu * vcpu,gfn_t gfn) kvm_find_async_pf_gfn() argument
13033 kvm_del_async_pf_gfn(struct kvm_vcpu * vcpu,gfn_t gfn) kvm_del_async_pf_gfn() argument
13060 apf_put_user_notpresent(struct kvm_vcpu * vcpu) apf_put_user_notpresent() argument
13068 apf_put_user_ready(struct kvm_vcpu * vcpu,u32 token) apf_put_user_ready() argument
13076 apf_pageready_slot_free(struct kvm_vcpu * vcpu) apf_pageready_slot_free() argument
13088 kvm_can_deliver_async_pf(struct kvm_vcpu * vcpu) kvm_can_deliver_async_pf() argument
13114 kvm_can_do_async_pf(struct kvm_vcpu * vcpu) kvm_can_do_async_pf() argument
13131 kvm_arch_async_page_not_present(struct kvm_vcpu * vcpu,struct kvm_async_pf * work) kvm_arch_async_page_not_present() argument
13163 kvm_arch_async_page_present(struct kvm_vcpu * vcpu,struct kvm_async_pf * work) kvm_arch_async_page_present() argument
13188 kvm_arch_async_page_present_queued(struct kvm_vcpu * vcpu) kvm_arch_async_page_present_queued() argument
13195 kvm_arch_can_dequeue_async_page_present(struct kvm_vcpu * vcpu) kvm_arch_can_dequeue_async_page_present() argument
13307 kvm_arch_no_poll(struct kvm_vcpu * vcpu) kvm_arch_no_poll() argument
13340 kvm_fixup_and_inject_pf_error(struct kvm_vcpu * vcpu,gva_t gva,u16 error_code) kvm_fixup_and_inject_pf_error() argument
13370 kvm_handle_memory_failure(struct kvm_vcpu * vcpu,int r,struct x86_exception * e) kvm_handle_memory_failure() argument
13394 kvm_handle_invpcid(struct kvm_vcpu * vcpu,unsigned long type,gva_t gva) kvm_handle_invpcid() argument
13454 complete_sev_es_emulated_mmio(struct kvm_vcpu * vcpu) complete_sev_es_emulated_mmio() argument
13500 kvm_sev_es_mmio_write(struct kvm_vcpu * vcpu,gpa_t gpa,unsigned int bytes,void * data) kvm_sev_es_mmio_write() argument
13539 kvm_sev_es_mmio_read(struct kvm_vcpu * vcpu,gpa_t gpa,unsigned int bytes,void * data) kvm_sev_es_mmio_read() argument
13577 advance_sev_es_emulated_pio(struct kvm_vcpu * vcpu,unsigned count,int size) advance_sev_es_emulated_pio() argument
13586 complete_sev_es_emulated_outs(struct kvm_vcpu * vcpu) complete_sev_es_emulated_outs() argument
13597 kvm_sev_es_outs(struct kvm_vcpu * vcpu,unsigned int size,unsigned int port) kvm_sev_es_outs() argument
13622 complete_sev_es_emulated_ins(struct kvm_vcpu * vcpu) complete_sev_es_emulated_ins() argument
13635 kvm_sev_es_ins(struct kvm_vcpu * vcpu,unsigned int size,unsigned int port) kvm_sev_es_ins() argument
13654 kvm_sev_es_string_io(struct kvm_vcpu * vcpu,unsigned int size,unsigned int port,void * data,unsigned int count,int in) kvm_sev_es_string_io() argument
[all...]
/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.c49 static bool read_from_write_only(struct kvm_vcpu *vcpu, in read_from_write_only()
59 static bool write_to_read_only(struct kvm_vcpu *vcpu, in write_to_read_only()
69 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg()
80 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg()
118 static u32 get_ccsidr(struct kvm_vcpu *vcpu, u32 csselr) in get_ccsidr()
153 static int set_ccsidr(struct kvm_vcpu *vcpu, u32 csselr, u32 val) in set_ccsidr()
182 static bool access_rw(struct kvm_vcpu *vcpu, in access_rw()
197 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
217 static bool access_dcgsw(struct kvm_vcpu *vcpu, in access_dcgsw()
253 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
[all …]
H A Dhandle_exit.c31 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_handle_guest_serror()
37 static int handle_hvc(struct kvm_vcpu *vcpu) in handle_hvc()
56 static int handle_smc(struct kvm_vcpu *vcpu) in handle_smc()
93 static int handle_no_fpsimd(struct kvm_vcpu *vcpu) in handle_no_fpsimd()
114 static int kvm_handle_wfx(struct kvm_vcpu *vcpu) in kvm_handle_wfx()
166 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu) in kvm_handle_guest_debug()
188 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu) in kvm_handle_unknown_ec()
203 static int handle_sve(struct kvm_vcpu *vcpu) in handle_sve()
214 static int kvm_handle_ptrauth(struct kvm_vcpu *vcpu) in kvm_handle_ptrauth()
220 static int kvm_handle_eret(struct kvm_vcpu *vcpu) in kvm_handle_eret()
[all …]
H A Dpmu-emul.c34 static struct kvm_pmc *kvm_vcpu_idx_to_pmc(struct kvm_vcpu *vcpu, int cnt_idx) in kvm_vcpu_idx_to_pmc()
99 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_get_pmc_value() local
124 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx) in kvm_pmu_get_counter_value()
134 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_set_pmc_value() local
165 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val) in kvm_pmu_set_counter_value()
194 struct kvm_vcpu *vcpu = kvm_pmc_to_vcpu(pmc); in kvm_pmu_stop_counter() local
214 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_init()
228 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_reset()
242 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) in kvm_pmu_vcpu_destroy()
251 u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu) in kvm_pmu_valid_counter_mask()
[all …]
H A Dinject_fault.c18 static void pend_sync_exception(struct kvm_vcpu *vcpu) in pend_sync_exception()
52 static bool match_target_el(struct kvm_vcpu *vcpu, unsigned long target) in match_target_el()
57 static void inject_abt64(struct kvm_vcpu *vcpu, bool is_iabt, unsigned long addr) in inject_abt64()
95 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64()
119 static void inject_undef32(struct kvm_vcpu *vcpu) in inject_undef32()
128 static void inject_abt32(struct kvm_vcpu *vcpu, bool is_pabt, u32 addr) in inject_abt32()
166 void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_dabt()
182 void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_pabt()
190 void kvm_inject_size_fault(struct kvm_vcpu *vcpu) in kvm_inject_size_fault()
225 void kvm_inject_undefined(struct kvm_vcpu *vcpu) in kvm_inject_undefined()
[all …]
H A Dvgic-sys-reg-v3.c13 static int set_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_ctlr()
59 static int get_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_ctlr()
87 static int set_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_pmr()
99 static int get_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_pmr()
110 static int set_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr0()
122 static int get_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr0()
133 static int set_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr1()
147 static int get_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr1()
162 static int set_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_grpen0()
174 static int get_gic_grpen0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_grpen0()
[all …]
H A Darch_timer.c58 static int nr_timers(struct kvm_vcpu *vcpu) in nr_timers()
68 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_ctl() local
87 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_get_cval() local
121 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_ctl() local
143 struct kvm_vcpu *vcpu = ctxt->vcpu; in timer_set_cval() local
178 void get_timer_map(struct kvm_vcpu *vcpu, struct timer_map *map) in get_timer_map()
225 struct kvm_vcpu *vcpu = *(struct kvm_vcpu **)dev_id; in kvm_arch_timer_handler() local
286 static bool vcpu_has_wfit_active(struct kvm_vcpu *vcpu) in vcpu_has_wfit_active()
292 static u64 wfit_delay_ns(struct kvm_vcpu *vcpu) in wfit_delay_ns()
307 static u64 kvm_timer_earliest_exp(struct kvm_vcpu *vcpu) in kvm_timer_earliest_exp()
[all …]
H A Dpsci.c34 static unsigned long kvm_psci_vcpu_suspend(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_suspend()
54 static inline bool kvm_psci_valid_affinity(struct kvm_vcpu *vcpu, in kvm_psci_valid_affinity()
64 struct kvm_vcpu *vcpu = NULL; in kvm_psci_vcpu_on() local
121 static unsigned long kvm_psci_vcpu_affinity_info(struct kvm_vcpu *vcpu) in kvm_psci_vcpu_affinity_info()
164 static void kvm_prepare_system_event(struct kvm_vcpu *vcpu, u32 type, u64 flags) in kvm_prepare_system_event()
192 static void kvm_psci_system_off(struct kvm_vcpu *vcpu) in kvm_psci_system_off()
197 static void kvm_psci_system_reset(struct kvm_vcpu *vcpu) in kvm_psci_system_reset()
202 static void kvm_psci_system_reset2(struct kvm_vcpu *vcpu) in kvm_psci_system_reset2()
208 static void kvm_psci_system_suspend(struct kvm_vcpu *vcpu) in kvm_psci_system_suspend()
217 static void kvm_psci_narrow_to_32bit(struct kvm_vcpu *vcpu) in kvm_psci_narrow_to_32bit()
[all …]
/openbmc/linux/include/kvm/
H A Darm_pmu.h79 #define kvm_vcpu_has_pmu(vcpu) \ argument
87 #define kvm_pmu_update_vcpu_events(vcpu) \ argument
96 #define kvm_pmu_is_3p5(vcpu) ({ \ argument
115 static inline u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_get_counter_value()
120 static inline void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, in kvm_pmu_set_counter_value()
122 static inline u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu) in kvm_pmu_valid_counter_mask()
126 static inline void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_init()
127 static inline void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_reset()
128 static inline void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu) {} in kvm_pmu_vcpu_destroy()
129 static inline void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val) {} in kvm_pmu_disable_counter_mask()
[all …]
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm.c297 int svm_set_efer(struct kvm_vcpu *vcpu, u64 efer) in svm_set_efer()
349 static u32 svm_get_interrupt_shadow(struct kvm_vcpu *vcpu) in svm_get_interrupt_shadow()
359 static void svm_set_interrupt_shadow(struct kvm_vcpu *vcpu, int mask) in svm_set_interrupt_shadow()
372 static int __svm_skip_emulated_instruction(struct kvm_vcpu *vcpu, in __svm_skip_emulated_instruction()
418 static int svm_skip_emulated_instruction(struct kvm_vcpu *vcpu) in svm_skip_emulated_instruction()
423 static int svm_update_soft_interrupt_rip(struct kvm_vcpu *vcpu) in svm_update_soft_interrupt_rip()
468 static void svm_inject_exception(struct kvm_vcpu *vcpu) in svm_inject_exception()
510 static void svm_init_osvw(struct kvm_vcpu *vcpu) in svm_init_osvw()
787 static void set_shadow_msr_intercept(struct kvm_vcpu *vcpu, u32 msr, int read, in set_shadow_msr_intercept()
813 static bool msr_write_intercepted(struct kvm_vcpu *vcpu, u32 msr) in msr_write_intercepted()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_booke.h26 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr()
36 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr()
41 static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) in kvmppc_get_cr()
46 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
51 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer()
56 static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) in kvmppc_need_byteswap()
62 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
67 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr()
72 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
[all …]
/openbmc/linux/arch/s390/kvm/
H A Dintercept.c25 u8 kvm_s390_get_ilen(struct kvm_vcpu *vcpu) in kvm_s390_get_ilen()
53 static int handle_stop(struct kvm_vcpu *vcpu) in handle_stop()
91 static int handle_validity(struct kvm_vcpu *vcpu) in handle_validity()
106 static int handle_instruction(struct kvm_vcpu *vcpu) in handle_instruction()
143 static int inject_prog_on_prog_intercept(struct kvm_vcpu *vcpu) in inject_prog_on_prog_intercept()
211 static int handle_itdb(struct kvm_vcpu *vcpu) in handle_itdb()
229 #define per_event(vcpu) (vcpu->arch.sie_block->iprcc & PGM_PER) argument
231 static bool should_handle_per_event(const struct kvm_vcpu *vcpu) in should_handle_per_event()
246 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog()
302 static int handle_external_interrupt(struct kvm_vcpu *vcpu) in handle_external_interrupt()
[all …]
H A Dpriv.c32 static int handle_ri(struct kvm_vcpu *vcpu) in handle_ri()
45 int kvm_s390_handle_aa(struct kvm_vcpu *vcpu) in kvm_s390_handle_aa()
53 static int handle_gs(struct kvm_vcpu *vcpu) in handle_gs()
73 int kvm_s390_handle_e3(struct kvm_vcpu *vcpu) in kvm_s390_handle_e3()
83 static int handle_set_clock(struct kvm_vcpu *vcpu) in handle_set_clock()
122 static int handle_set_prefix(struct kvm_vcpu *vcpu) in handle_set_prefix()
160 static int handle_store_prefix(struct kvm_vcpu *vcpu) in handle_store_prefix()
190 static int handle_store_cpu_address(struct kvm_vcpu *vcpu) in handle_store_cpu_address()
216 int kvm_s390_skey_check_enable(struct kvm_vcpu *vcpu) in kvm_s390_skey_check_enable()
240 static int try_handle_skey(struct kvm_vcpu *vcpu) in try_handle_skey()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c35 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64()
86 static u64 get_pvm_id_aa64pfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr0()
97 static u64 get_pvm_id_aa64pfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64pfr1()
108 static u64 get_pvm_id_aa64zfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64zfr0()
118 static u64 get_pvm_id_aa64dfr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr0()
128 static u64 get_pvm_id_aa64dfr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64dfr1()
138 static u64 get_pvm_id_aa64afr0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64afr0()
148 static u64 get_pvm_id_aa64afr1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64afr1()
158 static u64 get_pvm_id_aa64isar0(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64isar0()
163 static u64 get_pvm_id_aa64isar1(const struct kvm_vcpu *vcpu) in get_pvm_id_aa64isar1()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h42 static inline bool guest_owns_fp_regs(struct kvm_vcpu *vcpu) in guest_owns_fp_regs()
48 static inline void __fpsimd_save_fpexc32(struct kvm_vcpu *vcpu) in __fpsimd_save_fpexc32()
56 static inline void __activate_traps_fpsimd32(struct kvm_vcpu *vcpu) in __activate_traps_fpsimd32()
73 #define compute_clr_set(vcpu, reg, clr, set) \ argument
82 static inline void __activate_traps_hfgxtr(struct kvm_vcpu *vcpu) in __activate_traps_hfgxtr()
157 static inline void __deactivate_traps_hfgxtr(struct kvm_vcpu *vcpu) in __deactivate_traps_hfgxtr()
175 static inline void __activate_traps_common(struct kvm_vcpu *vcpu) in __activate_traps_common()
217 static inline void __deactivate_traps_common(struct kvm_vcpu *vcpu) in __deactivate_traps_common()
236 static inline void ___activate_traps(struct kvm_vcpu *vcpu) in ___activate_traps()
249 static inline void ___deactivate_traps(struct kvm_vcpu *vcpu) in ___deactivate_traps()
[all …]
/openbmc/linux/arch/mips/kvm/
H A Dvz.c84 static inline unsigned int kvm_vz_config_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config_guest_wrmask()
89 static inline unsigned int kvm_vz_config1_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config1_guest_wrmask()
94 static inline unsigned int kvm_vz_config2_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config2_guest_wrmask()
99 static inline unsigned int kvm_vz_config3_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config3_guest_wrmask()
104 static inline unsigned int kvm_vz_config4_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config4_guest_wrmask()
110 static inline unsigned int kvm_vz_config5_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config5_guest_wrmask()
132 static inline unsigned int kvm_vz_config6_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config6_guest_wrmask()
148 static inline unsigned int kvm_vz_config_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config_user_wrmask()
153 static inline unsigned int kvm_vz_config1_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config1_user_wrmask()
164 static inline unsigned int kvm_vz_config2_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config2_user_wrmask()
[all …]
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c392 static void vmx_update_fb_clear_dis(struct kvm_vcpu *vcpu, struct vcpu_vmx *vmx) in vmx_update_fb_clear_dis()
536 static int hv_enable_l2_tlb_flush(struct kvm_vcpu *vcpu) in hv_enable_l2_tlb_flush()
676 static inline bool cpu_need_virtualize_apic_accesses(struct kvm_vcpu *vcpu) in cpu_need_virtualize_apic_accesses()
885 void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu) in vmx_update_exception_bitmap()
1197 static inline bool pt_output_base_valid(struct kvm_vcpu *vcpu, u64 base) in pt_output_base_valid()
1293 void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu) in vmx_prepare_switch_to_guest()
1426 void vmx_vcpu_load_vmcs(struct kvm_vcpu *vcpu, int cpu, in vmx_vcpu_load_vmcs()
1497 static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu) in vmx_vcpu_load()
1508 static void vmx_vcpu_put(struct kvm_vcpu *vcpu) in vmx_vcpu_put()
1515 bool vmx_emulation_required(struct kvm_vcpu *vcpu) in vmx_emulation_required()
[all …]

12345678910>>...16