aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-27 14:27:56 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-27 14:27:56 -0800
commit2ea0718884c520f85c869c3bfef57477316ea91f (patch)
tree560be7967d411d2ce19162c6402f51983d860ee7 /drivers/kvm/svm.c
parent9c8ff4f4dac189e4111238d54c2b12e7837f4818 (diff)
parent404fb881b82cf0cf6981832f8d31a7484e4dee81 (diff)
downloadkernel_samsung_espresso10-2ea0718884c520f85c869c3bfef57477316ea91f.zip
kernel_samsung_espresso10-2ea0718884c520f85c869c3bfef57477316ea91f.tar.gz
kernel_samsung_espresso10-2ea0718884c520f85c869c3bfef57477316ea91f.tar.bz2
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm: KVM: SVM: Fix FPU leak while emulating clts KVM: SVM: Unload guest fpu on vcpu_put() KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std KVM: x86 emulator: fix the saving of of the eip value KVM: x86 emulator: fix JMP_REL
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r--drivers/kvm/svm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index 7a6eead..4e04e49 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -663,6 +663,7 @@ 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)