Lines Matching refs:hv_enabled
500 int hv_enabled = kvmppc_hv_ops ? 1 : 0; in kvm_vm_ioctl_check_extension() local
507 hv_enabled = is_kvmppc_hv_enabled(kvm); in kvm_vm_ioctl_check_extension()
538 r = !hv_enabled; in kvm_vm_ioctl_check_extension()
576 r = hv_enabled; in kvm_vm_ioctl_check_extension()
587 } else if (hv_enabled) { in kvm_vm_ioctl_check_extension()
596 if (hv_enabled) { in kvm_vm_ioctl_check_extension()
611 r = !!(hv_enabled && radix_enabled()); in kvm_vm_ioctl_check_extension()
614 r = !!(hv_enabled && cpu_has_feature(CPU_FTR_ARCH_300) && in kvm_vm_ioctl_check_extension()
618 r = !!(hv_enabled && kvmppc_hv_ops->enable_nested && in kvm_vm_ioctl_check_extension()
624 r = hv_enabled; in kvm_vm_ioctl_check_extension()
633 r = hv_enabled; in kvm_vm_ioctl_check_extension()
643 if (hv_enabled) in kvm_vm_ioctl_check_extension()
662 r = !!hv_enabled; in kvm_vm_ioctl_check_extension()
667 r = hv_enabled; in kvm_vm_ioctl_check_extension()
673 (hv_enabled && cpu_has_feature(CPU_FTR_P9_TM_HV_ASSIST)); in kvm_vm_ioctl_check_extension()
678 r = hv_enabled && kvmppc_hv_ops->enable_svm && in kvm_vm_ioctl_check_extension()