KVM: VMX: Add lazy FPU support for VT
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 27 Apr 2007 06:29:49 +0000 (09:29 +0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:31 +0000 (10:52 +0300)
commit2ab455ccceb07945368709ba852e49f4c3119331
treede79805085d8dfcf5714c45e7873116c110bd182
parent25c4c2762e31a75403eca0dd59f2cab85e3a2532
KVM: VMX: Add lazy FPU support for VT

Only save/restore the FPU host state when the guest is actually using the
FPU.

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