diff options
author | Alexander Graf <agraf@suse.de> | 2012-03-13 22:15:45 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 14:01:57 +0300 |
commit | 6df79df5b27d74e0c9803d7f47bb878370996548 (patch) | |
tree | ae354d946d5fce58f1129c291daa975e36230961 /drivers/sh | |
parent | 6020c0f6e78888b6023559e9bf633ad0092a1709 (diff) | |
download | op-kernel-dev-6df79df5b27d74e0c9803d7f47bb878370996548.zip op-kernel-dev-6df79df5b27d74e0c9803d7f47bb878370996548.tar.gz |
KVM: PPC: Emulate tw and td instructions
There are 4 conditional trapping instructions: tw, twi, td, tdi. The
ones with an i take an immediate comparison, the others compare two
registers. All of them arrive in the emulator when the condition to
trap was successfully fulfilled.
Unfortunately, we were only implementing the i versions so far, so
let's also add support for the other two.
This fixes kernel booting with recents book3s_32 guest kernels.
Reported-by: Jörg Sommer <joerg@alea.gnuu.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions