commit | e1f8acf8380abfd52aefbfa524e74af5ce0c8492 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Mon Mar 05 16:00:28 2012 +0100 |
committer | Paul Mackerras <paulus@samba.org> | Tue Apr 03 16:42:34 2012 +1000 |
tree | 39f2637c1a941185003e9e270bf0b4580acde029 | |
parent | a5ddea0e78e76aa8d6354b9b0e51e652e21b8137 [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: Paul Mackerras <paulus@samba.org>