Home
last modified time | relevance | path

Searched refs:kvm_vcpu (Results 1 – 25 of 155) sorted by relevance

1234567

/arch/arm/include/asm/
Dkvm_emulate.h28 unsigned long *vcpu_reg(struct kvm_vcpu *vcpu, u8 reg_num);
29 unsigned long *vcpu_spsr(struct kvm_vcpu *vcpu);
31 static inline unsigned long vcpu_get_reg(struct kvm_vcpu *vcpu, in vcpu_get_reg()
37 static inline void vcpu_set_reg(struct kvm_vcpu *vcpu, u8 reg_num, in vcpu_set_reg()
43 bool kvm_condition_valid32(const struct kvm_vcpu *vcpu);
44 void kvm_skip_instr32(struct kvm_vcpu *vcpu, bool is_wide_instr);
45 void kvm_inject_undefined(struct kvm_vcpu *vcpu);
46 void kvm_inject_vabt(struct kvm_vcpu *vcpu);
47 void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr);
48 void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr);
[all …]
Dkvm_coproc.h22 void kvm_reset_coprocs(struct kvm_vcpu *vcpu);
31 int kvm_handle_cp10_id(struct kvm_vcpu *vcpu, struct kvm_run *run);
32 int kvm_handle_cp_0_13_access(struct kvm_vcpu *vcpu, struct kvm_run *run);
33 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
34 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
35 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
36 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
37 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
39 unsigned long kvm_arm_num_guest_msrs(struct kvm_vcpu *vcpu);
40 int kvm_arm_copy_msrindices(struct kvm_vcpu *vcpu, u64 __user *uindices);
[all …]
Dkvm_host.h51 u32 *kvm_vcpu_reg(struct kvm_vcpu *vcpu, u8 reg_num, u32 mode);
53 int kvm_reset_vcpu(struct kvm_vcpu *vcpu);
54 void kvm_reset_coprocs(struct kvm_vcpu *vcpu);
213 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu);
214 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
215 int kvm_arm_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
216 int kvm_arm_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
226 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu);
227 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
237 struct kvm_vcpu *kvm_arm_get_running_vcpu(void);
[all …]
/arch/arm64/include/asm/
Dkvm_emulate.h34 unsigned long *vcpu_reg32(const struct kvm_vcpu *vcpu, u8 reg_num);
35 unsigned long *vcpu_spsr32(const struct kvm_vcpu *vcpu);
37 bool kvm_condition_valid32(const struct kvm_vcpu *vcpu);
38 void kvm_skip_instr32(struct kvm_vcpu *vcpu, bool is_wide_instr);
40 void kvm_inject_undefined(struct kvm_vcpu *vcpu);
41 void kvm_inject_vabt(struct kvm_vcpu *vcpu);
42 void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr);
43 void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr);
45 static inline void vcpu_reset_hcr(struct kvm_vcpu *vcpu) in vcpu_reset_hcr()
54 static inline unsigned long vcpu_get_hcr(struct kvm_vcpu *vcpu) in vcpu_get_hcr()
[all …]
Dkvm_coproc.h26 void kvm_reset_sys_regs(struct kvm_vcpu *vcpu);
41 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
42 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
43 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
44 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
45 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
46 int kvm_handle_sys_reg(struct kvm_vcpu *vcpu, struct kvm_run *run);
52 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
53 int kvm_arm_sys_reg_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *);
54 int kvm_arm_sys_reg_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *);
[all …]
Dkvm_hyp.h128 void __vgic_v2_save_state(struct kvm_vcpu *vcpu);
129 void __vgic_v2_restore_state(struct kvm_vcpu *vcpu);
130 int __vgic_v2_perform_cpuif_access(struct kvm_vcpu *vcpu);
132 void __vgic_v3_save_state(struct kvm_vcpu *vcpu);
133 void __vgic_v3_restore_state(struct kvm_vcpu *vcpu);
135 void __timer_save_state(struct kvm_vcpu *vcpu);
136 void __timer_restore_state(struct kvm_vcpu *vcpu);
142 void __sysreg32_save_state(struct kvm_vcpu *vcpu);
143 void __sysreg32_restore_state(struct kvm_vcpu *vcpu);
145 void __debug_save_state(struct kvm_vcpu *vcpu,
[all …]
/arch/x86/kvm/
Dlapic.h31 struct kvm_vcpu *vcpu;
53 int kvm_create_lapic(struct kvm_vcpu *vcpu);
54 void kvm_free_lapic(struct kvm_vcpu *vcpu);
56 int kvm_apic_has_interrupt(struct kvm_vcpu *vcpu);
57 int kvm_apic_accept_pic_intr(struct kvm_vcpu *vcpu);
58 int kvm_get_apic_interrupt(struct kvm_vcpu *vcpu);
59 void kvm_apic_accept_events(struct kvm_vcpu *vcpu);
60 void kvm_lapic_reset(struct kvm_vcpu *vcpu, bool init_event);
61 u64 kvm_lapic_get_cr8(struct kvm_vcpu *vcpu);
62 void kvm_lapic_set_tpr(struct kvm_vcpu *vcpu, unsigned long cr8);
[all …]
Dhyperv.h27 static inline struct kvm_vcpu_hv *vcpu_to_hv_vcpu(struct kvm_vcpu *vcpu) in vcpu_to_hv_vcpu()
32 static inline struct kvm_vcpu *hv_vcpu_to_vcpu(struct kvm_vcpu_hv *hv_vcpu) in hv_vcpu_to_vcpu()
37 return container_of(arch, struct kvm_vcpu, arch); in hv_vcpu_to_vcpu()
40 static inline struct kvm_vcpu_hv_synic *vcpu_to_synic(struct kvm_vcpu *vcpu) in vcpu_to_synic()
45 static inline struct kvm_vcpu *synic_to_vcpu(struct kvm_vcpu_hv_synic *synic) in synic_to_vcpu()
50 int kvm_hv_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data, bool host);
51 int kvm_hv_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata);
54 int kvm_hv_hypercall(struct kvm_vcpu *vcpu);
58 void kvm_hv_synic_send_eoi(struct kvm_vcpu *vcpu, int vector);
59 int kvm_hv_activate_synic(struct kvm_vcpu *vcpu);
[all …]
Dx86.h10 static inline void kvm_clear_exception_queue(struct kvm_vcpu *vcpu) in kvm_clear_exception_queue()
15 static inline void kvm_queue_interrupt(struct kvm_vcpu *vcpu, u8 vector, in kvm_queue_interrupt()
23 static inline void kvm_clear_interrupt_queue(struct kvm_vcpu *vcpu) in kvm_clear_interrupt_queue()
28 static inline bool kvm_event_needs_reinjection(struct kvm_vcpu *vcpu) in kvm_event_needs_reinjection()
39 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode()
44 static inline int is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode()
53 static inline bool is_64_bit_mode(struct kvm_vcpu *vcpu) in is_64_bit_mode()
63 static inline bool mmu_is_nested(struct kvm_vcpu *vcpu) in mmu_is_nested()
68 static inline int is_pae(struct kvm_vcpu *vcpu) in is_pae()
73 static inline int is_pse(struct kvm_vcpu *vcpu) in is_pse()
[all …]
Dcpuid.h7 int kvm_update_cpuid(struct kvm_vcpu *vcpu);
9 struct kvm_cpuid_entry2 *kvm_find_cpuid_entry(struct kvm_vcpu *vcpu,
14 int kvm_vcpu_ioctl_set_cpuid(struct kvm_vcpu *vcpu,
17 int kvm_vcpu_ioctl_set_cpuid2(struct kvm_vcpu *vcpu,
20 int kvm_vcpu_ioctl_get_cpuid2(struct kvm_vcpu *vcpu,
23 void kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
25 int cpuid_query_maxphyaddr(struct kvm_vcpu *vcpu);
27 static inline int cpuid_maxphyaddr(struct kvm_vcpu *vcpu) in cpuid_maxphyaddr()
32 static inline bool guest_cpuid_has_xsave(struct kvm_vcpu *vcpu) in guest_cpuid_has_xsave()
43 static inline bool guest_cpuid_has_mtrr(struct kvm_vcpu *vcpu) in guest_cpuid_has_mtrr()
[all …]
Dpmu.h5 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu))
23 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, unsigned idx);
24 int (*is_valid_msr_idx)(struct kvm_vcpu *vcpu, unsigned idx);
25 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr);
26 int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr, u64 *data);
27 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
28 void (*refresh)(struct kvm_vcpu *vcpu);
29 void (*init)(struct kvm_vcpu *vcpu);
30 void (*reset)(struct kvm_vcpu *vcpu);
104 void kvm_pmu_deliver_pmi(struct kvm_vcpu *vcpu);
[all …]
Dkvm_cache_regs.h9 static inline unsigned long kvm_register_read(struct kvm_vcpu *vcpu, in kvm_register_read()
18 static inline void kvm_register_write(struct kvm_vcpu *vcpu, in kvm_register_write()
27 static inline unsigned long kvm_rip_read(struct kvm_vcpu *vcpu) in kvm_rip_read()
32 static inline void kvm_rip_write(struct kvm_vcpu *vcpu, unsigned long val) in kvm_rip_write()
37 static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) in kvm_pdptr_read()
48 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits()
56 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0()
61 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits()
69 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3()
76 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4()
[all …]
/arch/powerpc/include/asm/
Dkvm_ppc.h70 extern int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu);
71 extern int __kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu);
74 extern void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu);
75 extern int kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
78 extern int kvmppc_handle_loads(struct kvm_run *run, struct kvm_vcpu *vcpu,
81 extern int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
85 extern int kvmppc_load_last_inst(struct kvm_vcpu *vcpu,
88 extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
90 extern int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
93 struct kvm_vcpu *vcpu);
[all …]
Dkvm_book3s.h90 struct kvm_vcpu *runnable_threads[MAX_SMT_THREADS];
97 struct kvm_vcpu *runner;
155 extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, ulong ea, ulong ea_mask);
156 extern void kvmppc_mmu_pte_vflush(struct kvm_vcpu *vcpu, u64 vp, u64 vp_mask);
157 extern void kvmppc_mmu_pte_pflush(struct kvm_vcpu *vcpu, ulong pa_start, ulong pa_end);
158 extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr);
159 extern void kvmppc_mmu_book3s_64_init(struct kvm_vcpu *vcpu);
160 extern void kvmppc_mmu_book3s_32_init(struct kvm_vcpu *vcpu);
161 extern void kvmppc_mmu_book3s_hv_init(struct kvm_vcpu *vcpu);
162 extern int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *pte,
[all …]
Dkvm_booke.h37 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
42 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr()
47 static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) in kvmppc_set_cr()
52 static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) in kvmppc_get_cr()
57 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
62 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer()
67 static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) in kvmppc_need_byteswap()
73 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
78 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr()
83 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
[all …]
/arch/powerpc/kvm/
Dbooke.h76 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr);
77 void kvmppc_mmu_msr_notify(struct kvm_vcpu *vcpu, u32 old_msr);
79 void kvmppc_set_epcr(struct kvm_vcpu *vcpu, u32 new_epcr);
80 void kvmppc_set_tcr(struct kvm_vcpu *vcpu, u32 new_tcr);
81 void kvmppc_set_tsr_bits(struct kvm_vcpu *vcpu, u32 tsr_bits);
82 void kvmppc_clr_tsr_bits(struct kvm_vcpu *vcpu, u32 tsr_bits);
84 int kvmppc_booke_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
86 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
87 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
90 void kvmppc_load_guest_spe(struct kvm_vcpu *vcpu);
[all …]
Dtiming.h27 void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu);
28 void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu);
29 void kvmppc_create_vcpu_debugfs(struct kvm_vcpu *vcpu, unsigned int id);
30 void kvmppc_remove_vcpu_debugfs(struct kvm_vcpu *vcpu);
32 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) in kvmppc_set_exit_type()
39 static inline void kvmppc_init_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_init_timing_stats()
40 static inline void kvmppc_update_timing_stats(struct kvm_vcpu *vcpu) {} in kvmppc_update_timing_stats()
41 static inline void kvmppc_create_vcpu_debugfs(struct kvm_vcpu *vcpu, in kvmppc_create_vcpu_debugfs()
43 static inline void kvmppc_remove_vcpu_debugfs(struct kvm_vcpu *vcpu) {} in kvmppc_remove_vcpu_debugfs()
44 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} in kvmppc_set_exit_type()
[all …]
De500.h61 struct kvm_vcpu vcpu;
103 static inline struct kvmppc_vcpu_e500 *to_e500(struct kvm_vcpu *vcpu) in to_e500()
130 int kvmppc_e500_emul_tlbwe(struct kvm_vcpu *vcpu);
131 int kvmppc_e500_emul_tlbre(struct kvm_vcpu *vcpu);
132 int kvmppc_e500_emul_tlbivax(struct kvm_vcpu *vcpu, gva_t ea);
133 int kvmppc_e500_emul_tlbilx(struct kvm_vcpu *vcpu, int type, gva_t ea);
134 int kvmppc_e500_emul_tlbsx(struct kvm_vcpu *vcpu, gva_t ea);
138 void kvmppc_get_sregs_e500_tlb(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
139 int kvmppc_set_sregs_e500_tlb(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
141 int kvmppc_get_one_reg_e500_tlb(struct kvm_vcpu *vcpu, u64 id,
[all …]
/arch/x86/include/asm/
Dkvm_host.h314 void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long root);
315 unsigned long (*get_cr3)(struct kvm_vcpu *vcpu);
316 u64 (*get_pdptr)(struct kvm_vcpu *vcpu, int index);
317 int (*page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err,
319 void (*inject_page_fault)(struct kvm_vcpu *vcpu,
321 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, gva_t gva, u32 access,
323 gpa_t (*translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access,
325 int (*sync_page)(struct kvm_vcpu *vcpu,
327 void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva);
328 void (*update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
[all …]
/arch/s390/kvm/
Dkvm-s390.h25 typedef int (*intercept_handler_t)(struct kvm_vcpu *vcpu);
53 static inline int is_vcpu_stopped(struct kvm_vcpu *vcpu) in is_vcpu_stopped()
58 static inline int is_vcpu_idle(struct kvm_vcpu *vcpu) in is_vcpu_idle()
75 static inline u32 kvm_s390_get_prefix(struct kvm_vcpu *vcpu) in kvm_s390_get_prefix()
80 static inline void kvm_s390_set_prefix(struct kvm_vcpu *vcpu, u32 prefix) in kvm_s390_set_prefix()
91 static inline u64 kvm_s390_get_base_disp_s(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_s()
102 static inline void kvm_s390_get_base_disp_sse(struct kvm_vcpu *vcpu, in kvm_s390_get_base_disp_sse()
120 static inline void kvm_s390_get_regs_rre(struct kvm_vcpu *vcpu, int *r1, int *r2) in kvm_s390_get_regs_rre()
128 static inline u64 kvm_s390_get_base_disp_rsy(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_rsy()
143 static inline u64 kvm_s390_get_base_disp_rs(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_rs()
[all …]
Dgaccess.h30 static inline unsigned long kvm_s390_real_to_abs(struct kvm_vcpu *vcpu, in kvm_s390_real_to_abs()
55 static inline unsigned long kvm_s390_logical_to_effective(struct kvm_vcpu *vcpu, in kvm_s390_logical_to_effective()
97 struct kvm_vcpu *__vcpu = (vcpu); \
124 int write_guest_lc(struct kvm_vcpu *vcpu, unsigned long gra, void *data, in write_guest_lc()
150 int read_guest_lc(struct kvm_vcpu *vcpu, unsigned long gra, void *data, in read_guest_lc()
164 int guest_translate_address(struct kvm_vcpu *vcpu, unsigned long gva,
166 int check_gva_range(struct kvm_vcpu *vcpu, unsigned long gva, ar_t ar,
169 int access_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data,
172 int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra,
221 int write_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data, in write_guest()
[all …]
Dsigp.c23 static int __sigp_sense(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu, in __sigp_sense()
51 static int __inject_sigp_emergency(struct kvm_vcpu *vcpu, in __inject_sigp_emergency()
52 struct kvm_vcpu *dst_vcpu) in __inject_sigp_emergency()
68 static int __sigp_emergency(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_emergency()
73 static int __sigp_conditional_emergency(struct kvm_vcpu *vcpu, in __sigp_conditional_emergency()
74 struct kvm_vcpu *dst_vcpu, in __sigp_conditional_emergency()
100 static int __sigp_external_call(struct kvm_vcpu *vcpu, in __sigp_external_call()
101 struct kvm_vcpu *dst_vcpu, u64 *reg) in __sigp_external_call()
122 static int __sigp_stop(struct kvm_vcpu *vcpu, struct kvm_vcpu *dst_vcpu) in __sigp_stop()
139 static int __sigp_stop_and_store_status(struct kvm_vcpu *vcpu, in __sigp_stop_and_store_status()
[all …]
/arch/mips/include/asm/
Dkvm_host.h270 int (*vcpu_run)(struct kvm_run *run, struct kvm_vcpu *vcpu);
512 int (*handle_cop_unusable)(struct kvm_vcpu *vcpu);
513 int (*handle_tlb_mod)(struct kvm_vcpu *vcpu);
514 int (*handle_tlb_ld_miss)(struct kvm_vcpu *vcpu);
515 int (*handle_tlb_st_miss)(struct kvm_vcpu *vcpu);
516 int (*handle_addr_err_st)(struct kvm_vcpu *vcpu);
517 int (*handle_addr_err_ld)(struct kvm_vcpu *vcpu);
518 int (*handle_syscall)(struct kvm_vcpu *vcpu);
519 int (*handle_res_inst)(struct kvm_vcpu *vcpu);
520 int (*handle_break)(struct kvm_vcpu *vcpu);
[all …]
/arch/mips/kvm/
Dinterrupt.h36 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority);
37 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority);
38 int kvm_mips_pending_timer(struct kvm_vcpu *vcpu);
40 void kvm_mips_queue_timer_int_cb(struct kvm_vcpu *vcpu);
41 void kvm_mips_dequeue_timer_int_cb(struct kvm_vcpu *vcpu);
42 void kvm_mips_queue_io_int_cb(struct kvm_vcpu *vcpu,
44 void kvm_mips_dequeue_io_int_cb(struct kvm_vcpu *vcpu,
46 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority,
48 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority,
50 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause);
/arch/powerpc/kernel/
Dasm-offsets.c133 DEFINE(THREAD_KVM_VCPU, offsetof(struct thread_struct, kvm_vcpu)); in main()
428 DEFINE(VCPU_HOST_STACK, offsetof(struct kvm_vcpu, arch.host_stack)); in main()
429 DEFINE(VCPU_HOST_PID, offsetof(struct kvm_vcpu, arch.host_pid)); in main()
430 DEFINE(VCPU_GUEST_PID, offsetof(struct kvm_vcpu, arch.pid)); in main()
431 DEFINE(VCPU_GPRS, offsetof(struct kvm_vcpu, arch.gpr)); in main()
432 DEFINE(VCPU_VRSAVE, offsetof(struct kvm_vcpu, arch.vrsave)); in main()
433 DEFINE(VCPU_FPRS, offsetof(struct kvm_vcpu, arch.fp.fpr)); in main()
435 DEFINE(VCPU_VRS, offsetof(struct kvm_vcpu, arch.vr.vr)); in main()
437 DEFINE(VCPU_XER, offsetof(struct kvm_vcpu, arch.xer)); in main()
438 DEFINE(VCPU_CTR, offsetof(struct kvm_vcpu, arch.ctr)); in main()
[all …]

1234567