Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/kvm/
Dpowerpc.c44 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()
[all …]
Dbook3s_hv.c6321 kvmppc_hv_ops = &kvm_ops_hv; in kvmppc_book3s_init_hv()
6338 kvmppc_hv_ops = NULL; in kvmppc_book3s_exit_hv()
/Linux-v6.6/arch/powerpc/include/asm/
Dkvm_ppc.h325 extern struct kvmppc_ops *kvmppc_hv_ops;
368 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled()