Home
last modified time | relevance | path

Searched refs:kvmppc_hv_ops (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dpowerpc.c43 struct kvmppc_ops *kvmppc_hv_ops; variable
44 EXPORT_SYMBOL_GPL(kvmppc_hv_ops);
438 if (kvmppc_hv_ops) in kvm_arch_init_vm()
439 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm()
445 if (!kvmppc_hv_ops) in kvm_arch_init_vm()
447 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm()
500 int hv_enabled = kvmppc_hv_ops ? 1 : 0; in kvm_vm_ioctl_check_extension()
618 r = !!(hv_enabled && kvmppc_hv_ops->enable_nested && in kvm_vm_ioctl_check_extension()
619 !kvmppc_hv_ops->enable_nested(NULL)); in kvm_vm_ioctl_check_extension()
678 r = hv_enabled && kvmppc_hv_ops->enable_svm && in kvm_vm_ioctl_check_extension()
[all …]
Dbook3s_hv.c5711 kvmppc_hv_ops = &kvm_ops_hv; in kvmppc_book3s_init_hv()
5749 kvmppc_hv_ops = NULL; in kvmppc_book3s_exit_hv()
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_ppc.h319 extern struct kvmppc_ops *kvmppc_hv_ops;
347 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled()