KVM: Lazy FPU support for SVM
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 23 Apr 2007 14:17:21 +0000 (09:17 -0500)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:31 +0000 (10:52 +0300)
commit7807fa6ca5af2e5660a0eb3cd90276ca0c5bdfc8
tree8f97af3538acc40a6a72af29f31351d8f0f69296
parent4c690a1e8667a84b61a6114a4ad293681f32cb11
KVM: Lazy FPU support for SVM

Avoid saving and restoring the guest fpu state on every exit.  This
shaves ~100 cycles off the guest/host switch.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/svm.c