KVM: PPC: Preload FPU when possible
authorAlexander Graf <agraf@suse.de>
Fri, 19 Feb 2010 10:00:35 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:59 +0000 (12:34 +0300)
commitd1bab74c51eb13cf860ea2f0cd1d4d4605deb292
tree3182adf9a58d8454ee844d08c8518fb332218861
parentc8c0b6f2f7db22a340f1311602182a25a2378996
KVM: PPC: Preload FPU when possible

There are some situations when we're pretty sure the guest will use the
FPU soon. So we can save the churn of going into the guest, finding out
it does want to use the FPU and going out again.

This patch adds preloading of the FPU when it's reasonable.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c