KVM: PPC: Save/Restore CR over vcpu_run
authorAlexander Graf <agraf@suse.de>
Mon, 5 Mar 2012 15:00:28 +0000 (16:00 +0100)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Apr 2012 06:42:34 +0000 (16:42 +1000)
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>

No differences found