Restore guest CR after exit timing calculation
commitc0fe7b099931c6c05c98a05c277185ee25254f35
authorBharat Bhushan <r65777@freescale.com>
Mon, 5 Mar 2012 01:34:08 +0000 (5 01:34 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 11:01:31 +0000 (8 14:01 +0300)
treed842f7b3f6f8f94780f8c4bc4f6d5dc20e4f7aea
parent0456ec4ff2b832ab9ff476ed687fea704500f1cd
Restore guest CR after exit timing calculation

No instruction which can change Condition Register (CR) should be executed after
Guest CR is loaded. So the guest CR is restored after the Exit Timing in
lightweight_exit executes cmpw, which can clobber CR.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/bookehv_interrupts.S