KVM: Make unloading of FPU state when putting vcpu arch-independent
authorAmit Shah <amit.shah@qumranet.com>
Thu, 15 Nov 2007 16:38:46 +0000 (18:38 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:05 +0000 (17:53 +0200)
commit9327fd1195b77e67b86db8c1c1c4c4f7db009b00
tree749d44bc2ed554280acd6f807d95569cd695c496
parent4cee576493b6abc95cc7447a65f1b9d2b40b8f20
KVM: Make unloading of FPU state when putting vcpu arch-independent

Instead of having each architecture do it individually, we
do this in the arch-independent code (just x86 as of now).

[avi: add svm to the mix, which was added to mainline during the
 2.6.24-rc process]

Signed-off-by: Amit Shah <amit.shah@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c
drivers/kvm/vmx.c
drivers/kvm/x86.c