commit | 3587d5348ced089666c51411bd9d771fb0b072cf | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Feb 19 11:00:30 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Sun Apr 25 12:34:44 2010 +0300 |
tree | 245573252a8e40342bc777893f9bff5c5beac264 | |
parent | b104d06632d08957f384ff7403f609fb5dfb9cbd [diff] |
KVM: PPC: Teach MMIO Signedness The guest I was trying to get to run uses the LHA and LHAU instructions. Those instructions basically do a load, but also sign extend the result. Since we need to fill our registers by hand when doing MMIO, we also need to sign extend manually. This patch implements sign extended MMIO and the LHA(U) instructions. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>