Lines Matching refs:kvmppc_hv_ops
44 struct kvmppc_ops *kvmppc_hv_ops; variable
45 EXPORT_SYMBOL_GPL(kvmppc_hv_ops);
463 if (kvmppc_hv_ops) in kvm_arch_init_vm()
464 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm()
470 if (!kvmppc_hv_ops) in kvm_arch_init_vm()
472 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm()
520 int hv_enabled = kvmppc_hv_ops ? 1 : 0; in kvm_vm_ioctl_check_extension()
634 r = !!(hv_enabled && kvmppc_hv_ops->hash_v3_possible && in kvm_vm_ioctl_check_extension()
635 kvmppc_hv_ops->hash_v3_possible()); in kvm_vm_ioctl_check_extension()
638 r = !!(hv_enabled && kvmppc_hv_ops->enable_nested && in kvm_vm_ioctl_check_extension()
639 !kvmppc_hv_ops->enable_nested(NULL)); in kvm_vm_ioctl_check_extension()
698 r = hv_enabled && kvmppc_hv_ops->enable_svm && in kvm_vm_ioctl_check_extension()
699 !kvmppc_hv_ops->enable_svm(NULL); in kvm_vm_ioctl_check_extension()
702 r = !!(hv_enabled && kvmppc_hv_ops->enable_dawr1 && in kvm_vm_ioctl_check_extension()
703 !kvmppc_hv_ops->enable_dawr1(NULL)); in kvm_vm_ioctl_check_extension()
875 return ((kvmppc_hv_ops && kvmppc_hv_ops->irq_bypass_add_producer) || in kvm_arch_has_irq_bypass()