diff options
author | Amit Shah <amit.shah@qumranet.com> | 2007-11-15 18:38:46 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:05 +0200 |
commit | 9327fd1195b77e67b86db8c1c1c4c4f7db009b00 (patch) | |
tree | 749d44bc2ed554280acd6f807d95569cd695c496 /drivers/kvm/svm.c | |
parent | 4cee576493b6abc95cc7447a65f1b9d2b40b8f20 (diff) | |
download | op-kernel-dev-9327fd1195b77e67b86db8c1c1c4c4f7db009b00.zip op-kernel-dev-9327fd1195b77e67b86db8c1c1c4c4f7db009b00.tar.gz |
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>
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 0d32304..fb3721d 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c @@ -659,7 +659,6 @@ static void svm_vcpu_put(struct kvm_vcpu *vcpu) wrmsrl(host_save_user_msrs[i], svm->host_user_msrs[i]); rdtscll(vcpu->host_tsc); - kvm_put_guest_fpu(vcpu); } static void svm_vcpu_decache(struct kvm_vcpu *vcpu) |