diff options
author | Alexander Graf <agraf@suse.de> | 2010-02-19 11:00:37 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 12:35:06 +0300 |
commit | 71db4089361b9424314c41fcf92f63ce26263fcc (patch) | |
tree | 584de466d83aff7ddcc4e923b67e975edc31ee89 /arch/powerpc/kvm/book3s.c | |
parent | e425a6de1a2b427747f5af17bd76630548944ff1 (diff) | |
download | linux-71db4089361b9424314c41fcf92f63ce26263fcc.tar.bz2 |
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/kvm/book3s.c')
0 files changed, 0 insertions, 0 deletions