]> git.proxmox.com Git - qemu.git/commit - target-ppc/cpu.h
PPC: Add MMU type for 2.06 with AMR but no TB pages
authorAlexander Graf <agraf@suse.de>
Wed, 1 May 2013 22:27:51 +0000 (00:27 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 6 May 2013 15:22:48 +0000 (17:22 +0200)
commit126a79300971ab9314925c3ebbbd6c776bebf3f1
tree8ee28e728ce219634d39a8a439c27fdba5174777
parent4807ab4f36740b64a0dfa30ae90fe2e8a7d96fbb
PPC: Add MMU type for 2.06 with AMR but no TB pages

When running -cpu on a POWER7 system with PR KVM, we mask out the 1TB
MMU capability from the MMU type mask, but not the AMR bit.

This leads to us having a new MMU type that we don't check for in our
MMU management functions.

Add the new type, so that we don't have to worry about breakage there.
We're not going to use the TCG MMU management in that case anyway.

The long term fix for this will be to move all these MMU management
functions to class callbacks.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h
target-ppc/mmu_helper.c