Home
last modified time | relevance | path

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

123456

/arch/arm64/include/asm/
Dkvm_emulate.h40 static inline bool vcpu_el1_is_32bit(struct kvm_vcpu *vcpu) in vcpu_el1_is_32bit()
45 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
75 static inline unsigned long *vcpu_hcr(struct kvm_vcpu *vcpu) in vcpu_hcr()
80 static inline void vcpu_clear_wfe_traps(struct kvm_vcpu *vcpu) in vcpu_clear_wfe_traps()
85 static inline void vcpu_set_wfe_traps(struct kvm_vcpu *vcpu) in vcpu_set_wfe_traps()
90 static inline void vcpu_ptrauth_enable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_enable()
95 static inline void vcpu_ptrauth_disable(struct kvm_vcpu *vcpu) in vcpu_ptrauth_disable()
100 static inline unsigned long vcpu_get_vsesr(struct kvm_vcpu *vcpu) in vcpu_get_vsesr()
105 static inline void vcpu_set_vsesr(struct kvm_vcpu *vcpu, u64 vsesr) in vcpu_set_vsesr()
110 static inline unsigned long *vcpu_pc(const struct kvm_vcpu *vcpu) in vcpu_pc()
[all …]
/arch/arm/include/asm/
Dkvm_emulate.h39 static inline unsigned long *vcpu_reg32(struct kvm_vcpu *vcpu, u8 reg_num) in vcpu_reg32()
46 static inline unsigned long vpcu_read_spsr(struct kvm_vcpu *vcpu) in vpcu_read_spsr()
51 static inline void vcpu_write_spsr(struct kvm_vcpu *vcpu, unsigned long v) in vcpu_write_spsr()
61 static inline unsigned long vcpu_get_reg(struct kvm_vcpu *vcpu, in vcpu_get_reg()
67 static inline void vcpu_set_reg(struct kvm_vcpu *vcpu, u8 reg_num, in vcpu_set_reg()
80 static inline void kvm_inject_undefined(struct kvm_vcpu *vcpu) in kvm_inject_undefined()
85 static inline void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_dabt()
90 static inline void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_pabt()
95 static inline bool kvm_condition_valid(const struct kvm_vcpu *vcpu) in kvm_condition_valid()
100 static inline void kvm_skip_instr(struct kvm_vcpu *vcpu, bool is_wide_instr) in kvm_skip_instr()
[all …]
/arch/powerpc/include/asm/
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 …]
/arch/x86/kvm/
Dkvm_cache_regs.h49 static inline void kvm_register_write(struct kvm_vcpu *vcpu, in kvm_register_write()
58 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
63 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
68 static inline unsigned long kvm_rsp_read(struct kvm_vcpu *vcpu) in kvm_rsp_read()
73 static inline void kvm_rsp_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rsp_write()
78 static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read()
89 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits()
97 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0()
102 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits()
110 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3()
[all …]
Dcpuid.h30 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr()
69 static __always_inline int *guest_cpuid_get_register(struct kvm_vcpu *vcpu, unsigned x86_feature) in guest_cpuid_get_register()
93 static __always_inline bool guest_cpuid_has(struct kvm_vcpu *vcpu, unsigned x86_feature) in guest_cpuid_has()
108 static __always_inline void guest_cpuid_clear(struct kvm_vcpu *vcpu, unsigned x86_feature) in guest_cpuid_clear()
117 static inline bool guest_cpuid_is_amd(struct kvm_vcpu *vcpu) in guest_cpuid_is_amd()
125 static inline int guest_cpuid_family(struct kvm_vcpu *vcpu) in guest_cpuid_family()
136 static inline int guest_cpuid_model(struct kvm_vcpu *vcpu) in guest_cpuid_model()
147 static inline int guest_cpuid_stepping(struct kvm_vcpu *vcpu) in guest_cpuid_stepping()
158 static inline bool guest_has_spec_ctrl_msr(struct kvm_vcpu *vcpu) in guest_has_spec_ctrl_msr()
166 static inline bool guest_has_pred_cmd_msr(struct kvm_vcpu *vcpu) in guest_has_pred_cmd_msr()
[all …]
Dx86.h49 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
55 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
63 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
68 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
79 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
84 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
93 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
103 static inline bool is_la57_mode(struct kvm_vcpu *vcpu) in is_la57_mode()
122 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested()
127 static inline int is_pae(struct kvm_vcpu *vcpu) in is_pae()
[all …]
/arch/powerpc/kvm/
Dbooke.c65 void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu) in kvmppc_dump_vcpu()
88 void kvmppc_vcpu_disable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_disable_spe()
98 static void kvmppc_vcpu_enable_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_enable_spe()
108 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
118 static void kvmppc_vcpu_sync_spe(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_spe()
132 static inline void kvmppc_load_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_load_guest_fp()
149 static inline void kvmppc_save_guest_fp(struct kvm_vcpu *vcpu) in kvmppc_save_guest_fp()
158 static void kvmppc_vcpu_sync_fpu(struct kvm_vcpu *vcpu) in kvmppc_vcpu_sync_fpu()
173 static inline void kvmppc_load_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_load_guest_altivec()
192 static inline void kvmppc_save_guest_altivec(struct kvm_vcpu *vcpu) in kvmppc_save_guest_altivec()
[all …]
Dtiming.h21 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) in kvmppc_set_exit_type()
28 static inline void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_init_timing_stats()
29 static inline void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_update_timing_stats()
30 static inline void kvmppc_create_vcpu_debugfs(struct kvm_vcpu *vcpu, in kvmppc_create_vcpu_debugfs()
32 static inline void kvmppc_remove_vcpu_debugfs(struct kvm_vcpu *vcpu) {} in kvmppc_remove_vcpu_debugfs()
33 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} in kvmppc_set_exit_type()
37 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit_stat()
92 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit()
Dbook3s.c77 void kvmppc_unfixup_split_real(struct kvm_vcpu *vcpu) in kvmppc_unfixup_split_real()
91 static inline unsigned long kvmppc_interrupt_offset(struct kvm_vcpu *vcpu) in kvmppc_interrupt_offset()
98 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()
171 void kvmppc_book3s_dequeue_irqprio(struct kvm_vcpu *vcpu, in kvmppc_book3s_dequeue_irqprio()
183 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio()
195 void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_machine_check()
202 void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags) in kvmppc_core_queue_program()
209 void kvmppc_core_queue_fpunavail(struct kvm_vcpu *vcpu) in kvmppc_core_queue_fpunavail()
[all …]
/arch/arm64/kvm/
Dhandle_exit.c30 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u32 esr) in kvm_handle_guest_serror()
36 static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_hvc()
53 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_smc()
72 static int handle_no_fpsimd(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_no_fpsimd()
90 static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_wfx()
120 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_guest_debug()
147 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_unknown_ec()
158 static int handle_sve(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_sve()
169 void kvm_arm_vcpu_ptrauth_trap(struct kvm_vcpu *vcpu) in kvm_arm_vcpu_ptrauth_trap()
181 static int kvm_handle_ptrauth(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_ptrauth()
[all …]
Ddebug.c36 static void save_guest_debug_regs(struct kvm_vcpu *vcpu) in save_guest_debug_regs()
46 static void restore_guest_debug_regs(struct kvm_vcpu *vcpu) in restore_guest_debug_regs()
83 static void kvm_arm_setup_mdcr_el2(struct kvm_vcpu *vcpu) in kvm_arm_setup_mdcr_el2()
122 void kvm_arm_vcpu_init_debug(struct kvm_vcpu *vcpu) in kvm_arm_vcpu_init_debug()
133 void kvm_arm_reset_debug_ptr(struct kvm_vcpu *vcpu) in kvm_arm_reset_debug_ptr()
154 void kvm_arm_setup_debug(struct kvm_vcpu *vcpu) in kvm_arm_setup_debug()
242 void kvm_arm_clear_debug(struct kvm_vcpu *vcpu) in kvm_arm_clear_debug()
Dguest.c46 int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_setup()
62 static int core_reg_size_from_offset(const struct kvm_vcpu *vcpu, u64 off) in core_reg_size_from_offset()
107 static int validate_core_offset(const struct kvm_vcpu *vcpu, in validate_core_offset()
122 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
150 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
220 static int get_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_vls()
244 static int set_sve_vls(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_sve_vls()
312 #define vcpu_sve_slices(vcpu) 1 argument
326 struct kvm_vcpu *vcpu, in sve_reg_to_region()
392 static int get_sve_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_sve_reg()
[all …]
Dsys_regs.c48 static bool read_from_write_only(struct kvm_vcpu *vcpu, in read_from_write_only()
58 static bool write_to_read_only(struct kvm_vcpu *vcpu, in write_to_read_only()
68 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg()
112 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg) in vcpu_write_sys_reg()
179 static bool access_dcsw(struct kvm_vcpu *vcpu, in access_dcsw()
204 static bool access_vm_reg(struct kvm_vcpu *vcpu, in access_vm_reg()
240 static bool access_gic_sgi(struct kvm_vcpu *vcpu, in access_gic_sgi()
285 static bool access_gic_sre(struct kvm_vcpu *vcpu, in access_gic_sre()
296 static bool trap_raz_wi(struct kvm_vcpu *vcpu, in trap_raz_wi()
312 static bool trap_loregion(struct kvm_vcpu *vcpu, in trap_loregion()
[all …]
Dinject_fault.c29 static u64 get_except_vector(struct kvm_vcpu *vcpu, enum exception_type type) in get_except_vector()
62 static unsigned long get_except64_pstate(struct kvm_vcpu *vcpu) in get_except64_pstate()
113 static void inject_abt64(struct kvm_vcpu *vcpu, bool is_iabt, unsigned long addr) in inject_abt64()
149 static void inject_undef64(struct kvm_vcpu *vcpu) in inject_undef64()
178 void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_dabt()
194 void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr) in kvm_inject_pabt()
208 void kvm_inject_undefined(struct kvm_vcpu *vcpu) in kvm_inject_undefined()
216 void kvm_set_sei_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_set_sei_esr()
234 void kvm_inject_vabt(struct kvm_vcpu *vcpu) in kvm_inject_vabt()
/arch/arm/kvm/
Dguest.c33 int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_setup()
43 static int get_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_core_reg()
60 static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_core_reg()
96 int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_get_regs()
101 int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs) in kvm_arch_vcpu_ioctl_set_regs()
119 static int copy_timer_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in copy_timer_indices()
133 static int set_timer_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in set_timer_reg()
146 static int get_timer_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg) in get_timer_reg()
165 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu) in kvm_arm_num_regs()
177 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices) in kvm_arm_copy_reg_indices()
[all …]
/arch/s390/kvm/
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()
87 static int handle_validity(struct kvm_vcpu *vcpu) in handle_validity()
102 static int handle_instruction(struct kvm_vcpu *vcpu) in handle_instruction()
139 static int inject_prog_on_prog_intercept(struct kvm_vcpu *vcpu) in inject_prog_on_prog_intercept()
207 static int handle_itdb(struct kvm_vcpu *vcpu) in handle_itdb()
225 #define per_event(vcpu) (vcpu->arch.sie_block->iprcc & PGM_PER) argument
227 static int handle_prog(struct kvm_vcpu *vcpu) in handle_prog()
267 static int handle_external_interrupt(struct kvm_vcpu *vcpu) in handle_external_interrupt()
314 static int handle_mvpg_pei(struct kvm_vcpu *vcpu) in handle_mvpg_pei()
[all …]
Dkvm-s390.h23 #define IS_TE_ENABLED(vcpu) ((vcpu->arch.sie_block->ecb & ECB_TE)) argument
25 #define IS_ITDB_VALID(vcpu) ((*(char *)vcpu->arch.sie_block->itdba == TDB_FORMAT1)) argument
48 static inline void kvm_s390_set_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_set_cpuflags()
53 static inline void kvm_s390_clear_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_clear_cpuflags()
58 static inline bool kvm_s390_test_cpuflags(struct kvm_vcpu *vcpu, u32 flags) in kvm_s390_test_cpuflags()
63 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped()
68 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle()
85 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix()
90 static inline void kvm_s390_set_prefix(struct kvm_vcpu *vcpu, u32 prefix) in kvm_s390_set_prefix()
99 static inline u64 kvm_s390_get_base_disp_s(struct kvm_vcpu *vcpu, u8 *ar) in kvm_s390_get_base_disp_s()
[all …]
Dpriv.c35 static int handle_ri(struct kvm_vcpu *vcpu) in handle_ri()
48 int kvm_s390_handle_aa(struct kvm_vcpu *vcpu) in kvm_s390_handle_aa()
56 static int handle_gs(struct kvm_vcpu *vcpu) in handle_gs()
76 int kvm_s390_handle_e3(struct kvm_vcpu *vcpu) in kvm_s390_handle_e3()
86 static int handle_set_clock(struct kvm_vcpu *vcpu) in handle_set_clock()
112 static int handle_set_prefix(struct kvm_vcpu *vcpu) in handle_set_prefix()
150 static int handle_store_prefix(struct kvm_vcpu *vcpu) in handle_store_prefix()
180 static int handle_store_cpu_address(struct kvm_vcpu *vcpu) in handle_store_cpu_address()
206 int kvm_s390_skey_check_enable(struct kvm_vcpu *vcpu) in kvm_s390_skey_check_enable()
230 static int try_handle_skey(struct kvm_vcpu *vcpu) in try_handle_skey()
[all …]
Dguestdbg.c59 static void enable_all_hw_bp(struct kvm_vcpu *vcpu) in enable_all_hw_bp()
99 static void enable_all_hw_wp(struct kvm_vcpu *vcpu) in enable_all_hw_wp()
130 void kvm_s390_backup_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_backup_guest_per_regs()
138 void kvm_s390_restore_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_restore_guest_per_regs()
146 void kvm_s390_patch_guest_per_regs(struct kvm_vcpu *vcpu) in kvm_s390_patch_guest_per_regs()
174 static int __import_wp_info(struct kvm_vcpu *vcpu, in __import_wp_info()
203 int kvm_s390_import_bp_data(struct kvm_vcpu *vcpu, in kvm_s390_import_bp_data()
282 void kvm_s390_clear_bp_data(struct kvm_vcpu *vcpu) in kvm_s390_clear_bp_data()
313 static struct kvm_hw_bp_info_arch *find_hw_bp(struct kvm_vcpu *vcpu, in find_hw_bp()
338 static struct kvm_hw_wp_info_arch *any_wp_changed(struct kvm_vcpu *vcpu) in any_wp_changed()
[all …]
Dsigp.c20 static int __sigp_sense(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_sense()
44 static int __inject_sigp_emergency(struct kvm_vcpu *vcpu, in __inject_sigp_emergency()
61 static int __sigp_emergency(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_emergency()
66 static int __sigp_conditional_emergency(struct kvm_vcpu *vcpu, in __sigp_conditional_emergency()
93 static int __sigp_external_call(struct kvm_vcpu *vcpu, in __sigp_external_call()
115 static int __sigp_stop(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_stop()
132 static int __sigp_stop_and_store_status(struct kvm_vcpu *vcpu, in __sigp_stop_and_store_status()
151 static int __sigp_set_arch(struct kvm_vcpu *vcpu, u32 parameter, in __sigp_set_arch()
173 static int __sigp_set_prefix(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_set_prefix()
203 static int __sigp_store_status_at_addr(struct kvm_vcpu *vcpu, in __sigp_store_status_at_addr()
[all …]
/arch/mips/kvm/
Dinterrupt.c24 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_queue_irq()
29 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_dequeue_irq()
34 void kvm_mips_queue_timer_int_cb(struct kvm_vcpu *vcpu) in kvm_mips_queue_timer_int_cb()
48 void kvm_mips_dequeue_timer_int_cb(struct kvm_vcpu *vcpu) in kvm_mips_dequeue_timer_int_cb()
54 void kvm_mips_queue_io_int_cb(struct kvm_vcpu *vcpu, in kvm_mips_queue_io_int_cb()
87 void kvm_mips_dequeue_io_int_cb(struct kvm_vcpu *vcpu, in kvm_mips_dequeue_io_int_cb()
115 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_deliver_cb()
198 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_clear_cb()
204 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause) in kvm_mips_deliver_interrupts()
239 int kvm_mips_pending_timer(struct kvm_vcpu *vcpu) in kvm_mips_pending_timer()
Dvz.c81 static inline unsigned int kvm_vz_config_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config_guest_wrmask()
86 static inline unsigned int kvm_vz_config1_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config1_guest_wrmask()
91 static inline unsigned int kvm_vz_config2_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config2_guest_wrmask()
96 static inline unsigned int kvm_vz_config3_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config3_guest_wrmask()
101 static inline unsigned int kvm_vz_config4_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config4_guest_wrmask()
107 static inline unsigned int kvm_vz_config5_guest_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config5_guest_wrmask()
140 static inline unsigned int kvm_vz_config_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config_user_wrmask()
145 static inline unsigned int kvm_vz_config1_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config1_user_wrmask()
156 static inline unsigned int kvm_vz_config2_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config2_user_wrmask()
161 static inline unsigned int kvm_vz_config3_user_wrmask(struct kvm_vcpu *vcpu) in kvm_vz_config3_user_wrmask()
[all …]
/arch/arm64/kvm/hyp/
Dswitch.c34 static bool __hyp_text update_fp_enabled(struct kvm_vcpu *vcpu) in update_fp_enabled()
52 static void __hyp_text __fpsimd_save_fpexc32(struct kvm_vcpu *vcpu) in __fpsimd_save_fpexc32()
60 static void __hyp_text __activate_traps_fpsimd32(struct kvm_vcpu *vcpu) in __activate_traps_fpsimd32()
77 static void __hyp_text __activate_traps_common(struct kvm_vcpu *vcpu) in __activate_traps_common()
99 static void activate_traps_vhe(struct kvm_vcpu *vcpu) in activate_traps_vhe()
132 static void __hyp_text __activate_traps_nvhe(struct kvm_vcpu *vcpu) in __activate_traps_nvhe()
148 static void __hyp_text __activate_traps(struct kvm_vcpu *vcpu) in __activate_traps()
200 static void __hyp_text __deactivate_traps(struct kvm_vcpu *vcpu) in __deactivate_traps()
219 void activate_traps_vhe_load(struct kvm_vcpu *vcpu) in activate_traps_vhe_load()
242 static void __hyp_text __deactivate_vm(struct kvm_vcpu *vcpu) in __deactivate_vm()
[all …]
/arch/arm/kvm/hyp/
Dswitch.c18 static void __hyp_text __activate_traps(struct kvm_vcpu *vcpu, u32 *fpexc_host) in __activate_traps()
46 static void __hyp_text __deactivate_traps(struct kvm_vcpu *vcpu) in __deactivate_traps()
66 static void __hyp_text __activate_vm(struct kvm_vcpu *vcpu) in __activate_vm()
73 static void __hyp_text __deactivate_vm(struct kvm_vcpu *vcpu) in __deactivate_vm()
80 static void __hyp_text __vgic_save_state(struct kvm_vcpu *vcpu) in __vgic_save_state()
88 static void __hyp_text __vgic_restore_state(struct kvm_vcpu *vcpu) in __vgic_restore_state()
96 static bool __hyp_text __populate_fault_info(struct kvm_vcpu *vcpu) in __populate_fault_info()
146 int __hyp_text __kvm_vcpu_run_nvhe(struct kvm_vcpu *vcpu) in __kvm_vcpu_run_nvhe()
226 struct kvm_vcpu *vcpu; in __hyp_panic() local
/arch/x86/kvm/vmx/
Dnested.c154 static int nested_vmx_succeed(struct kvm_vcpu *vcpu) in nested_vmx_succeed()
162 static int nested_vmx_failInvalid(struct kvm_vcpu *vcpu) in nested_vmx_failInvalid()
171 static int nested_vmx_failValid(struct kvm_vcpu *vcpu, in nested_vmx_failValid()
195 static void nested_vmx_abort(struct kvm_vcpu *vcpu, u32 indicator) in nested_vmx_abort()
219 static inline void nested_release_evmcs(struct kvm_vcpu *vcpu) in nested_release_evmcs()
235 static void free_nested(struct kvm_vcpu *vcpu) in free_nested()
294 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
317 void nested_vmx_free_vcpu(struct kvm_vcpu *vcpu) in nested_vmx_free_vcpu()
326 static void nested_ept_inject_page_fault(struct kvm_vcpu *vcpu, in nested_ept_inject_page_fault()
347 static void nested_ept_init_mmu_context(struct kvm_vcpu *vcpu) in nested_ept_init_mmu_context()
[all …]

123456