]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Book3s: PR: Add HV traps so we can run in HV=1 mode on p7
authorAlexander Graf <agraf@suse.de>
Tue, 13 Mar 2012 22:05:16 +0000 (23:05 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 11:02:00 +0000 (14:02 +0300)
commit4f225ae06e7f39a523ec500c3cf127e50797983e
treeec0d15dddf24242401a9873ff25ad6ed32c5be40
parent6df79df5b27d74e0c9803d7f47bb878370996548
KVM: PPC: Book3s: PR: Add HV traps so we can run in HV=1 mode on p7

When running PR KVM on a p7 system in bare metal, we get HV exits instead
of normal supervisor traps. Semantically they are identical though and the
HSRR vs SRR difference is already taken care of in the exit code.

So all we need to do is handle them in addition to our normal exits.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_pr.c