summaryrefslogtreecommitdiffstats
path: root/firmware/keyspan/usa28xa.HEX
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2011-12-12 12:26:50 +0000
committerAvi Kivity <avi@redhat.com>2012-03-05 14:52:41 +0200
commit31f3438eca2fc90dc892e0e9963ba4b93a2c8383 (patch)
tree21f3b35bf1941c3429299987564bdca3b1dd64e7 /firmware/keyspan/usa28xa.HEX
parent1022fc3d3bfaca09d5d6bfcc93a168de16840814 (diff)
downloadtalos-op-linux-31f3438eca2fc90dc892e0e9963ba4b93a2c8383.tar.gz
talos-op-linux-31f3438eca2fc90dc892e0e9963ba4b93a2c8383.zip
KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific code
This moves the get/set_one_reg implementation down from powerpc.c into booke.c, book3s_pr.c and book3s_hv.c. This avoids #ifdefs in C code, but more importantly, it fixes a bug on Book3s HV where we were accessing beyond the end of the kvm_vcpu struct (via the to_book3s() macro) and corrupting memory, causing random crashes and file corruption. On Book3s HV we only accept setting the HIOR to zero, since the guest runs in supervisor mode and its vectors are never offset from zero. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de> [agraf update to apply on top of changed ONE_REG patches] Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'firmware/keyspan/usa28xa.HEX')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud