]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: SVM: Fix FPU leak while emulating clts
authorAmit Shah <amit.shah@qumranet.com>
Mon, 19 Nov 2007 15:57:35 +0000 (17:57 +0200)
committerAvi Kivity <avi@qumranet.com>
Tue, 27 Nov 2007 13:38:18 +0000 (15:38 +0200)
commit404fb881b82cf0cf6981832f8d31a7484e4dee81
tree5da55ec34573b2f691f66f3a0b35a1698393a06f
parent8d379a7c069179a98616c9cac6bb2a06a500de49
KVM: SVM: Fix FPU leak while emulating clts

The clts code didn't use set_cr0 properly, so our lazy FPU
processing wasn't being done by the clts instruction at all.

(this isn't called on Intel as the hardware does the decode for us)

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