diff options
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2017-05-02 16:37:18 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-05-11 09:45:15 +1000 |
commit | 545d6e2b5c1e5fd321792bce0ad136c3a192c37b (patch) | |
tree | dffa48fe22d4dc8699ca84659fa9c223c3ca1614 /include | |
parent | d5fee0bbe68d5e61e2d2beb5ff6de0b9c1cfd182 (diff) | |
download | qemu-545d6e2b5c1e5fd321792bce0ad136c3a192c37b.zip qemu-545d6e2b5c1e5fd321792bce0ad136c3a192c37b.tar.gz qemu-545d6e2b5c1e5fd321792bce0ad136c3a192c37b.tar.bz2 |
target/ppc: Enable RADIX mmu mode for pseries TCG guest
Now that we have added all the infrastructure we can enable a pseries TCG
guest to use radix.
In order to do this we have to add the appropriate bits to the
ibm,arch-vec-5-platform-support vector to represent that we support both
hash and radix mmu models.
A radix guest can now be booted in pseries tcg mode by specifying:
-cpu POWER9
Note that we assume hash, that is we allocate a hpt, until a guest tells
us otherwise via a H_REGISTER_PROCESS_TABLE call with radix specified - in
which case we free the hpt. If we were right and the guest is hash then
there's nothing for us to do.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions