Lines Matching refs:kvmppc_hv_ops
44 struct kvmppc_ops *kvmppc_hv_ops; variable
45 EXPORT_SYMBOL_GPL(kvmppc_hv_ops);
449 if (kvmppc_hv_ops) in kvm_arch_init_vm()
450 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm()
456 if (!kvmppc_hv_ops) in kvm_arch_init_vm()
458 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm()
506 int hv_enabled = kvmppc_hv_ops ? 1 : 0; in kvm_vm_ioctl_check_extension()
626 r = !!(hv_enabled && kvmppc_hv_ops->hash_v3_possible && in kvm_vm_ioctl_check_extension()
627 kvmppc_hv_ops->hash_v3_possible()); in kvm_vm_ioctl_check_extension()
630 r = !!(hv_enabled && kvmppc_hv_ops->enable_nested && in kvm_vm_ioctl_check_extension()
631 !kvmppc_hv_ops->enable_nested(NULL)); in kvm_vm_ioctl_check_extension()
690 r = hv_enabled && kvmppc_hv_ops->enable_svm && in kvm_vm_ioctl_check_extension()
691 !kvmppc_hv_ops->enable_svm(NULL); in kvm_vm_ioctl_check_extension()
694 r = !!(hv_enabled && kvmppc_hv_ops->enable_dawr1 && in kvm_vm_ioctl_check_extension()
695 !kvmppc_hv_ops->enable_dawr1(NULL)); in kvm_vm_ioctl_check_extension()
866 return ((kvmppc_hv_ops && kvmppc_hv_ops->irq_bypass_add_producer) || in kvm_arch_has_irq_bypass()