commit | 9e04ba69beec372ddf857c700ff922e95f50b0d0 | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@ozlabs.org> | Mon Jan 30 21:21:44 2017 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jan 31 19:11:48 2017 +1100 |
tree | a2e50cc6724c65cc1113382c0ac9dee6729c2113 | |
parent | ef8c640cb9cc865a461827b698fcc55b0ecaa600 [diff] |
KVM: PPC: Book3S HV: Add basic infrastructure for radix guests This adds a field in struct kvm_arch and an inline helper to indicate whether a guest is a radix guest or not, plus a new file to contain the radix MMU code, which currently contains just a translate function which knows how to traverse the guest page tables to translate an address. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>