Lines Matching defs:kvmppc_ops
261 struct kvmppc_ops { struct
262 struct module *owner;
263 int (*get_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
264 int (*set_sregs)(struct kvm_vcpu *vcpu, struct kvm_sregs *sregs);
265 int (*get_one_reg)(struct kvm_vcpu *vcpu, u64 id,
267 int (*set_one_reg)(struct kvm_vcpu *vcpu, u64 id,
269 void (*vcpu_load)(struct kvm_vcpu *vcpu, int cpu);
270 void (*vcpu_put)(struct kvm_vcpu *vcpu);
271 void (*inject_interrupt)(struct kvm_vcpu *vcpu, int vec, u64 srr1_flags);
272 void (*set_msr)(struct kvm_vcpu *vcpu, u64 msr);
273 int (*vcpu_run)(struct kvm_vcpu *vcpu);
274 int (*vcpu_create)(struct kvm_vcpu *vcpu);
275 void (*vcpu_free)(struct kvm_vcpu *vcpu);
276 int (*check_requests)(struct kvm_vcpu *vcpu);
277 int (*get_dirty_log)(struct kvm *kvm, struct kvm_dirty_log *log);
278 void (*flush_memslot)(struct kvm *kvm, struct kvm_memory_slot *memslot);
279 int (*prepare_memory_region)(struct kvm *kvm,
283 void (*commit_memory_region)(struct kvm *kvm,
287 bool (*unmap_gfn_range)(struct kvm *kvm, struct kvm_gfn_range *range);
288 bool (*age_gfn)(struct kvm *kvm, struct kvm_gfn_range *range);
289 bool (*test_age_gfn)(struct kvm *kvm, struct kvm_gfn_range *range);
290 void (*free_memslot)(struct kvm_memory_slot *slot);
291 int (*init_vm)(struct kvm *kvm);
292 void (*destroy_vm)(struct kvm *kvm);
293 int (*get_smmu_info)(struct kvm *kvm, struct kvm_ppc_smmu_info *info);
294 int (*emulate_op)(struct kvm_vcpu *vcpu,
296 int (*emulate_mtspr)(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
297 int (*emulate_mfspr)(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
298 void (*fast_vcpu_kick)(struct kvm_vcpu *vcpu);
299 int (*arch_vm_ioctl)(struct file *filp, unsigned int ioctl,
324 extern struct kvmppc_ops *kvmppc_hv_ops; argument