diff options
author | Alexander Graf <agraf@suse.de> | 2012-03-05 10:00:28 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 07:01:02 -0400 |
commit | f6127716c346c73ab1513edee53231800188c5ba (patch) | |
tree | 3b3867d5fb239c2f03f0011cb752e6d816f853f9 /arch/powerpc/include/asm | |
parent | 3aaefef200f618dc455cdf18053a7aeb262b5a11 (diff) |
KVM: PPC: Save/Restore CR over vcpu_run
On PPC, CR2-CR4 are nonvolatile, thus have to be saved across function calls.
We didn't respect that for any architecture until Paul spotted it in his
patch for Book3S-HV. This patch saves/restores CR for all KVM capable PPC hosts.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions