Lines Matching defs:ops
143 #include <asm/kvm-x86-ops.h>
7659 const struct read_write_emulator_ops *ops)
7663 bool write = ops->write;
7684 if (!ret && ops->read_write_emulate(vcpu, gpa, val, bytes))
7690 handled = ops->read_write_mmio(vcpu, gpa, bytes, val);
7710 const struct read_write_emulator_ops *ops)
7716 if (ops->read_write_prepare &&
7717 ops->read_write_prepare(vcpu, val, bytes))
7728 vcpu, ops);
7740 vcpu, ops);
7753 vcpu->run->mmio.is_write = vcpu->mmio_is_write = ops->write;
7757 return ops->read_write_exit_mmio(vcpu, gpa, val, bytes);
8417 ctxt->ops = &emulate_ops;
9412 static inline void kvm_ops_update(struct kvm_x86_init_ops *ops)
9414 memcpy(&kvm_x86_ops, ops->runtime_ops, sizeof(kvm_x86_ops));
9424 #include <asm/kvm-x86-ops.h>
9427 kvm_pmu_ops_update(ops->pmu_ops);
9455 static int __kvm_x86_vendor_init(struct kvm_x86_init_ops *ops)
9521 kvm_init_pmu_capability(ops->pmu_ops);
9526 r = ops->hardware_setup();
9530 kvm_ops_update(ops);
9554 kvm_register_perf_callbacks(ops->handle_intel_pt_intr);
9590 int kvm_x86_vendor_init(struct kvm_x86_init_ops *ops)
9595 r = __kvm_x86_vendor_init(ops);