aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/kvm_book3s.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-02-19 11:00:37 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:35:06 +0300
commit71db4089361b9424314c41fcf92f63ce26263fcc (patch)
tree584de466d83aff7ddcc4e923b67e975edc31ee89 /arch/powerpc/include/asm/kvm_book3s.h
parente425a6de1a2b427747f5af17bd76630548944ff1 (diff)
KVM: PPC: Implement mtsr instruction emulation
The Book3S_32 specifications allows for two instructions to modify segment registers: mtsrin and mtsr. Most normal operating systems use mtsrin, because it allows to define which segment it wants to change using a register. But since I was trying to run an embedded guest, it turned out to be using mtsr with hardcoded values. So let's also emulate mtsr. It's a valid instruction after all. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s.h')
0 files changed, 0 insertions, 0 deletions