kvm: powerpc: book3s: drop is_hv_enabled
drop is_hv_enabled, because that should not be a callback property Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:

committed by
Alexander Graf

parent
cbbc58d4fd
commit
a78b55d1c0
@@ -200,7 +200,7 @@ int kvmppc_sanity_check(struct kvm_vcpu *vcpu)
|
||||
goto out;
|
||||
|
||||
/* HV KVM can only do PAPR mode for now */
|
||||
if (!vcpu->arch.papr_enabled && vcpu->kvm->arch.kvm_ops->is_hv_enabled)
|
||||
if (!vcpu->arch.papr_enabled && is_kvmppc_hv_enabled(vcpu->kvm))
|
||||
goto out;
|
||||
|
||||
#ifdef CONFIG_KVM_BOOKE_HV
|
||||
|
Reference in New Issue
Block a user