summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/irq.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-01-30 21:21:49 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-31 19:11:50 +1100
commit65dae5403a162fe6ef7cd8b2835de9d23c303891 (patch)
treef4e7b85938fb8bb8063a7e8ca3911292678f613b /arch/powerpc/kvm/irq.h
parent8f7b79b8379a85fb8dd0c3f42d9f452ec5552161 (diff)
KVM: PPC: Book3S HV: Make HPT-specific hypercalls return error in radix mode
If the guest is in radix mode, then it doesn't have a hashed page table (HPT), so all of the hypercalls that manipulate the HPT can't work and should return an error. This adds checks to make them return H_FUNCTION ("function not supported"). Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/irq.h')
0 files changed, 0 insertions, 0 deletions