KVM: SVM: Intercept the 'invd' and 'wbinvd' instructions
commit3945c4161ccb0423757e331145144835b3e85b57
authorAvi Kivity <avi@qumranet.com>
Sun, 2 Dec 2007 11:18:41 +0000 (2 13:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 17:50:55 +0000 (14 09:50 -0800)
tree04910a2cdd84ba6f0b0cbac31931f7fa7f7f8f00
parent141f41dddb9835dd9e4020f7f35b1041a087000c
KVM: SVM: Intercept the 'invd' and 'wbinvd' instructions

patch cf5a94d1331b411b84414c13e43f578260942d6b in mainline.

'invd' can destroy host data, and 'wbinvd' allows the guest to induce
long (milliseconds) latencies.

Noted by Ben Serebrin.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/kvm/svm.c