Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/arch/arm/include/asm/
Dkvm_emulate.h25 unsigned long *vcpu_reg(struct kvm_vcpu *vcpu, u8 reg_num);
27 static inline unsigned long *vcpu_reg32(struct kvm_vcpu *vcpu, u8 reg_num) in vcpu_reg32()
32 unsigned long *__vcpu_spsr(struct kvm_vcpu *vcpu);
34 static inline unsigned long vpcu_read_spsr(struct kvm_vcpu *vcpu) in vpcu_read_spsr()
39 static inline void vcpu_write_spsr(struct kvm_vcpu *vcpu, unsigned long v) in vcpu_write_spsr()
44 static inline unsigned long vcpu_get_reg(struct kvm_vcpu *vcpu, in vcpu_get_reg()
50 static inline void vcpu_set_reg(struct kvm_vcpu *vcpu, u8 reg_num, in vcpu_set_reg()
56 bool kvm_condition_valid32(const struct kvm_vcpu *vcpu);
57 void kvm_skip_instr32(struct kvm_vcpu *vcpu, bool is_wide_instr);
58 void kvm_inject_undef32(struct kvm_vcpu *vcpu);
[all …]
Dkvm_host.h46 u32 *kvm_vcpu_reg(struct kvm_vcpu *vcpu, u8 reg_num, u32 mode);
48 int kvm_reset_vcpu(struct kvm_vcpu *vcpu);
49 void kvm_reset_coprocs(struct kvm_vcpu *vcpu);
227 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu);
228 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
229 int kvm_arm_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
230 int kvm_arm_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
261 int __kvm_arm_vcpu_get_events(struct kvm_vcpu *vcpu,
264 int __kvm_arm_vcpu_set_events(struct kvm_vcpu *vcpu,
272 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu);
[all …]
Dkvm_coproc.h10 void kvm_reset_coprocs(struct kvm_vcpu *vcpu);
19 int kvm_handle_cp10_id(struct kvm_vcpu *vcpu, struct kvm_run *run);
20 int kvm_handle_cp_0_13_access(struct kvm_vcpu *vcpu, struct kvm_run *run);
21 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
22 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
23 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
24 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
25 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
27 unsigned long kvm_arm_num_guest_msrs(struct kvm_vcpu *vcpu);
28 int kvm_arm_copy_msrindices(struct kvm_vcpu *vcpu, u64 __user *uindices);
[all …]
/Linux-v5.4/include/kvm/
Darm_pmu.h34 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx);
35 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val);
36 u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu);
37 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu);
38 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu);
39 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu);
40 void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val);
41 void kvm_pmu_enable_counter_mask(struct kvm_vcpu *vcpu, u64 val);
42 void kvm_pmu_flush_hwstate(struct kvm_vcpu *vcpu);
43 void kvm_pmu_sync_hwstate(struct kvm_vcpu *vcpu);
[all …]
Darm_arch_timer.h27 struct kvm_vcpu *vcpu;
71 int kvm_timer_enable(struct kvm_vcpu *vcpu);
72 int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu);
73 void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu);
74 void kvm_timer_sync_hwstate(struct kvm_vcpu *vcpu);
75 bool kvm_timer_should_notify_user(struct kvm_vcpu *vcpu);
76 void kvm_timer_update_run(struct kvm_vcpu *vcpu);
77 void kvm_timer_vcpu_terminate(struct kvm_vcpu *vcpu);
79 u64 kvm_arm_timer_get_reg(struct kvm_vcpu *, u64 regid);
80 int kvm_arm_timer_set_reg(struct kvm_vcpu *, u64 regid, u64 value);
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_ppc.h61 extern int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu);
62 extern int __kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu);
65 extern void kvmppc_dump_vcpu(struct kvm_vcpu *vcpu);
66 extern int kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
69 extern int kvmppc_handle_loads(struct kvm_run *run, struct kvm_vcpu *vcpu,
72 extern int kvmppc_handle_vsx_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
75 extern int kvmppc_handle_vmx_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
77 extern int kvmppc_handle_vmx_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
79 extern int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
82 extern int kvmppc_handle_vsx_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
[all …]
Dkvm_book3s.h78 struct kvm_vcpu *runnable_threads[MAX_SMT_THREADS];
85 struct kvm_vcpu *runner;
145 extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, ulong ea, ulong ea_mask);
146 extern void kvmppc_mmu_pte_vflush(struct kvm_vcpu *vcpu, u64 vp, u64 vp_mask);
147 extern void kvmppc_mmu_pte_pflush(struct kvm_vcpu *vcpu, ulong pa_start, ulong pa_end);
148 extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr);
149 extern void kvmppc_mmu_book3s_64_init(struct kvm_vcpu *vcpu);
150 extern void kvmppc_mmu_book3s_32_init(struct kvm_vcpu *vcpu);
151 extern void kvmppc_mmu_book3s_hv_init(struct kvm_vcpu *vcpu);
152 extern int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *pte,
[all …]
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 …]
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_emulate.h25 unsigned long *vcpu_reg32(const struct kvm_vcpu *vcpu, u8 reg_num);
26 unsigned long vcpu_read_spsr32(const struct kvm_vcpu *vcpu);
27 void vcpu_write_spsr32(struct kvm_vcpu *vcpu, unsigned long v);
29 bool kvm_condition_valid32(const struct kvm_vcpu *vcpu);
30 void kvm_skip_instr32(struct kvm_vcpu *vcpu, bool is_wide_instr);
32 void kvm_inject_undefined(struct kvm_vcpu *vcpu);
33 void kvm_inject_vabt(struct kvm_vcpu *vcpu);
34 void kvm_inject_dabt(struct kvm_vcpu *vcpu, unsigned long addr);
35 void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr);
36 void kvm_inject_undef32(struct kvm_vcpu *vcpu);
[all …]
Dkvm_host.h54 int kvm_reset_vcpu(struct kvm_vcpu *vcpu);
55 void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu);
222 struct kvm_vcpu *__hyp_running_vcpu;
388 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg);
389 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg);
416 unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu);
417 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *indices);
418 int kvm_arm_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
419 int kvm_arm_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
420 int __kvm_arm_vcpu_get_events(struct kvm_vcpu *vcpu,
[all …]
Dkvm_hyp.h50 int __vgic_v2_perform_cpuif_access(struct kvm_vcpu *vcpu);
52 void __vgic_v3_save_state(struct kvm_vcpu *vcpu);
53 void __vgic_v3_restore_state(struct kvm_vcpu *vcpu);
54 void __vgic_v3_activate_traps(struct kvm_vcpu *vcpu);
55 void __vgic_v3_deactivate_traps(struct kvm_vcpu *vcpu);
56 void __vgic_v3_save_aprs(struct kvm_vcpu *vcpu);
57 void __vgic_v3_restore_aprs(struct kvm_vcpu *vcpu);
58 int __vgic_v3_perform_cpuif_access(struct kvm_vcpu *vcpu);
60 void __timer_enable_traps(struct kvm_vcpu *vcpu);
61 void __timer_disable_traps(struct kvm_vcpu *vcpu);
[all …]
Dkvm_coproc.h15 void kvm_reset_sys_regs(struct kvm_vcpu *vcpu);
30 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
31 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
32 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
33 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
34 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
35 int kvm_handle_sys_reg(struct kvm_vcpu *vcpu, struct kvm_run *run);
41 int kvm_arm_copy_sys_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
42 int kvm_arm_sys_reg_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *);
43 int kvm_arm_sys_reg_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *);
[all …]
/Linux-v5.4/arch/s390/kvm/
Dkvm-s390.h48 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()
110 static inline void kvm_s390_get_base_disp_sse(struct kvm_vcpu *vcpu, in kvm_s390_get_base_disp_sse()
128 static inline void kvm_s390_get_regs_rre(struct kvm_vcpu *vcpu, int *r1, int *r2) in kvm_s390_get_regs_rre()
[all …]
Dgaccess.h27 static inline unsigned long kvm_s390_real_to_abs(struct kvm_vcpu *vcpu, in kvm_s390_real_to_abs()
52 static inline unsigned long kvm_s390_logical_to_effective(struct kvm_vcpu *vcpu, in kvm_s390_logical_to_effective()
94 struct kvm_vcpu *__vcpu = (vcpu); \
121 int write_guest_lc(struct kvm_vcpu *vcpu, unsigned long gra, void *data, in write_guest_lc()
147 int read_guest_lc(struct kvm_vcpu *vcpu, unsigned long gra, void *data, in read_guest_lc()
161 int guest_translate_address(struct kvm_vcpu *vcpu, unsigned long gva,
163 int check_gva_range(struct kvm_vcpu *vcpu, unsigned long gva, u8 ar,
166 int access_guest(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, void *data,
169 int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra,
218 int write_guest(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, void *data, in write_guest()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h380 void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long root);
381 unsigned long (*get_cr3)(struct kvm_vcpu *vcpu);
382 u64 (*get_pdptr)(struct kvm_vcpu *vcpu, int index);
383 int (*page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err,
385 void (*inject_page_fault)(struct kvm_vcpu *vcpu,
387 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, gva_t gva, u32 access,
389 gpa_t (*translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access,
391 int (*sync_page)(struct kvm_vcpu *vcpu,
393 void (*invlpg)(struct kvm_vcpu *vcpu, gva_t gva, hpa_t root_hpa);
394 void (*update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
[all …]
/Linux-v5.4/arch/x86/kvm/
Dlapic.h45 struct kvm_vcpu *vcpu;
67 int kvm_create_lapic(struct kvm_vcpu *vcpu, int timer_advance_ns);
68 void kvm_free_lapic(struct kvm_vcpu *vcpu);
70 int kvm_apic_has_interrupt(struct kvm_vcpu *vcpu);
71 int kvm_apic_accept_pic_intr(struct kvm_vcpu *vcpu);
72 int kvm_get_apic_interrupt(struct kvm_vcpu *vcpu);
73 void kvm_apic_accept_events(struct kvm_vcpu *vcpu);
74 void kvm_lapic_reset(struct kvm_vcpu *vcpu, bool init_event);
75 u64 kvm_lapic_get_cr8(struct kvm_vcpu *vcpu);
76 void kvm_lapic_set_tpr(struct kvm_vcpu *vcpu, unsigned long cr8);
[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 …]
Dhyperv.h26 static inline struct kvm_vcpu_hv *vcpu_to_hv_vcpu(struct kvm_vcpu *vcpu) in vcpu_to_hv_vcpu()
31 static inline struct kvm_vcpu *hv_vcpu_to_vcpu(struct kvm_vcpu_hv *hv_vcpu) in hv_vcpu_to_vcpu()
36 return container_of(arch, struct kvm_vcpu, arch); in hv_vcpu_to_vcpu()
39 static inline struct kvm_vcpu_hv_synic *vcpu_to_synic(struct kvm_vcpu *vcpu) in vcpu_to_synic()
44 static inline struct kvm_vcpu *synic_to_vcpu(struct kvm_vcpu_hv_synic *synic) in synic_to_vcpu()
49 int kvm_hv_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data, bool host);
50 int kvm_hv_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata, bool host);
53 int kvm_hv_hypercall(struct kvm_vcpu *vcpu);
57 void kvm_hv_synic_send_eoi(struct kvm_vcpu *vcpu, int vector);
58 int kvm_hv_activate_synic(struct kvm_vcpu *vcpu, bool dont_zero_synic_pages);
[all …]
Dpmu.h6 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu))
28 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, unsigned idx,
30 int (*is_valid_msr_idx)(struct kvm_vcpu *vcpu, unsigned idx);
31 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr);
32 int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr, u64 *data);
33 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
34 void (*refresh)(struct kvm_vcpu *vcpu);
35 void (*init)(struct kvm_vcpu *vcpu);
36 void (*reset)(struct kvm_vcpu *vcpu);
110 void kvm_pmu_deliver_pmi(struct kvm_vcpu *vcpu);
[all …]
/Linux-v5.4/arch/powerpc/kvm/
Dbooke.h65 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr);
66 void kvmppc_mmu_msr_notify(struct kvm_vcpu *vcpu, u32 old_msr);
68 void kvmppc_set_epcr(struct kvm_vcpu *vcpu, u32 new_epcr);
69 void kvmppc_set_tcr(struct kvm_vcpu *vcpu, u32 new_tcr);
70 void kvmppc_set_tsr_bits(struct kvm_vcpu *vcpu, u32 tsr_bits);
71 void kvmppc_clr_tsr_bits(struct kvm_vcpu *vcpu, u32 tsr_bits);
73 int kvmppc_booke_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
75 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
76 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
79 void kvmppc_load_guest_spe(struct kvm_vcpu *vcpu);
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dasm-offsets.c144 OFFSET(THREAD_KVM_VCPU, thread_struct, kvm_vcpu); in main()
434 OFFSET(VCPU_HOST_STACK, kvm_vcpu, arch.host_stack); in main()
435 OFFSET(VCPU_HOST_PID, kvm_vcpu, arch.host_pid); in main()
436 OFFSET(VCPU_GUEST_PID, kvm_vcpu, arch.pid); in main()
437 OFFSET(VCPU_GPRS, kvm_vcpu, arch.regs.gpr); in main()
438 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
439 OFFSET(VCPU_FPRS, kvm_vcpu, arch.fp.fpr); in main()
441 OFFSET(VCPU_VRS, kvm_vcpu, arch.vr.vr); in main()
443 OFFSET(VCPU_XER, kvm_vcpu, arch.regs.xer); in main()
444 OFFSET(VCPU_CTR, kvm_vcpu, arch.regs.ctr); in main()
[all …]
/Linux-v5.4/arch/mips/include/asm/
Dkvm_host.h313 int (*vcpu_run)(struct kvm_run *run, struct kvm_vcpu *vcpu);
768 int (*handle_cop_unusable)(struct kvm_vcpu *vcpu);
769 int (*handle_tlb_mod)(struct kvm_vcpu *vcpu);
770 int (*handle_tlb_ld_miss)(struct kvm_vcpu *vcpu);
771 int (*handle_tlb_st_miss)(struct kvm_vcpu *vcpu);
772 int (*handle_addr_err_st)(struct kvm_vcpu *vcpu);
773 int (*handle_addr_err_ld)(struct kvm_vcpu *vcpu);
774 int (*handle_syscall)(struct kvm_vcpu *vcpu);
775 int (*handle_res_inst)(struct kvm_vcpu *vcpu);
776 int (*handle_break)(struct kvm_vcpu *vcpu);
[all …]
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic.h151 struct kvm_vcpu *vcpu;
160 vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev,
162 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu,
176 void vgic_v2_fold_lr_state(struct kvm_vcpu *vcpu);
177 void vgic_v2_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr);
178 void vgic_v2_clear_lr(struct kvm_vcpu *vcpu, int lr);
179 void vgic_v2_set_underflow(struct kvm_vcpu *vcpu);
180 void vgic_v2_set_npie(struct kvm_vcpu *vcpu);
182 int vgic_v2_dist_uaccess(struct kvm_vcpu *vcpu, bool is_write,
184 int vgic_v2_cpuif_uaccess(struct kvm_vcpu *vcpu, bool is_write,
[all …]
Dvgic-mmio.h14 unsigned long (*read)(struct kvm_vcpu *vcpu, gpa_t addr,
20 void (*write)(struct kvm_vcpu *vcpu, gpa_t addr,
26 unsigned long (*uaccess_read)(struct kvm_vcpu *vcpu, gpa_t addr,
29 int (*uaccess_write)(struct kvm_vcpu *vcpu, gpa_t addr,
101 int kvm_vgic_register_mmio_region(struct kvm *kvm, struct kvm_vcpu *vcpu,
117 unsigned long vgic_mmio_read_raz(struct kvm_vcpu *vcpu,
120 unsigned long vgic_mmio_read_rao(struct kvm_vcpu *vcpu,
123 void vgic_mmio_write_wi(struct kvm_vcpu *vcpu, gpa_t addr,
126 int vgic_mmio_uaccess_write_wi(struct kvm_vcpu *vcpu, gpa_t addr,
129 unsigned long vgic_mmio_read_group(struct kvm_vcpu *vcpu, gpa_t addr,
[all …]
/Linux-v5.4/include/linux/
Dkvm_host.h152 …BUILD_BUG_ON((unsigned)(nr) >= (FIELD_SIZEOF(struct kvm_vcpu, requests) * 8) - KVM_REQUEST_ARCH_BA…
187 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
189 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx,
191 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
205 struct kvm_vcpu *vcpu;
213 void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu);
214 void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu);
215 int kvm_setup_async_pf(struct kvm_vcpu *vcpu, gva_t gva, unsigned long hva,
217 int kvm_async_pf_wakeup_all(struct kvm_vcpu *vcpu);
263 struct kvm_vcpu { struct
[all …]

123456789