ppc: do not look at the MMU index to detect PR/HV mode
commitc47493f24fd4f16cffc1130d071b783f4453b7a3
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Sep 2014 15:03:28 +0000 (15 17:03 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:13 +0000 (4 23:26 +0100)
treee57f0f3928fa27208d18f97571e94cbaf6389b63
parentcc64b1a1940dc2e041c5b06b003d9acf64c22372
ppc: do not look at the MMU index to detect PR/HV mode

The MMU index is an internal detail that should not be needed by the
translator (except to generate loads and stores).  Look at the MSR
directly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c