Lines Matching defs:kvmppc_ops
250 struct kvmppc_ops { struct
251 struct module *owner;
252 int (*get_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
253 int (*set_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
254 int (*get_one_reg)(struct kvm_vcpu *vcpu, u64 id,
256 int (*set_one_reg)(struct kvm_vcpu *vcpu, u64 id,
258 void (*vcpu_load)(struct kvm_vcpu *vcpu, int cpu);
259 void (*vcpu_put)(struct kvm_vcpu *vcpu);
260 void (*inject_interrupt)(struct kvm_vcpu *vcpu, int vec, u64 srr1_flags);
261 void (*set_msr)(struct kvm_vcpu *vcpu, u64 msr);
262 int (*vcpu_run)(struct kvm_vcpu *vcpu);
263 int (*vcpu_create)(struct kvm_vcpu *vcpu);
264 void (*vcpu_free)(struct kvm_vcpu *vcpu);
265 int (*check_requests)(struct kvm_vcpu *vcpu);
266 int (*get_dirty_log)(struct kvm *kvm, struct kvm_dirty_log *log);
267 void (*flush_memslot)(struct kvm *kvm, struct kvm_memory_slot *memslot);
268 int (*prepare_memory_region)(struct kvm *kvm,
272 void (*commit_memory_region)(struct kvm *kvm,
276 bool (*unmap_gfn_range)(struct kvm *kvm, struct kvm_gfn_range *range);
277 bool (*age_gfn)(struct kvm *kvm, struct kvm_gfn_range *range);
278 bool (*test_age_gfn)(struct kvm *kvm, struct kvm_gfn_range *range);
279 bool (*set_spte_gfn)(struct kvm *kvm, struct kvm_gfn_range *range);
280 void (*free_memslot)(struct kvm_memory_slot *slot);
281 int (*init_vm)(struct kvm *kvm);
282 void (*destroy_vm)(struct kvm *kvm);
283 int (*get_smmu_info)(struct kvm *kvm, struct kvm_ppc_smmu_info *info);
284 int (*emulate_op)(struct kvm_vcpu *vcpu,
286 int (*emulate_mtspr)(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
287 int (*emulate_mfspr)(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
288 void (*fast_vcpu_kick)(struct kvm_vcpu *vcpu);
289 long (*arch_vm_ioctl)(struct file *filp, unsigned int ioctl,
314 extern struct kvmppc_ops *kvmppc_hv_ops; argument