diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-11-09 04:30:24 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-11-09 04:30:24 +0100 |
commit | 072df8130c6b602c8ee219f7b06394680cafad2f (patch) | |
tree | ad7cbc2342be72236851b19a5d9e8a0908dbbdf7 /arch/powerpc/kvm/powerpc.c | |
parent | KVM: PPC: Book3S HV: Run HPT guests on POWER9 radix hosts (diff) | |
parent | KVM: PPC: Book3S HV: Fix exclusion between HPT resizing and other HPT updates (diff) | |
download | linux-072df8130c6b602c8ee219f7b06394680cafad2f.tar.xz linux-072df8130c6b602c8ee219f7b06394680cafad2f.zip |
Merge branch 'kvm-ppc-fixes' into kvm-ppc-next
This merges in a couple of fixes from the kvm-ppc-fixes branch that
modify the same areas of code as some commits from the kvm-ppc-next
branch, in order to resolve the conflicts.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index a0b7f094de78..6b6c53c42ac9 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c @@ -643,7 +643,7 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) break; #endif case KVM_CAP_PPC_HTM: - r = is_kvmppc_hv_enabled(kvm) && + r = hv_enabled && (cur_cpu_spec->cpu_user_features2 & PPC_FEATURE2_HTM_COMP); break; default: |