KVM: SVM: Intercept the 'invd' and 'wbinvd' instructions
authorAvi Kivity <avi@qumranet.com>
Sun, 28 Oct 2007 14:11:58 +0000 (16:11 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 8 Nov 2007 10:05:45 +0000 (12:05 +0200)
commitcf5a94d1331b411b84414c13e43f578260942d6b
treebf7a2a4e432b478e4ed417eac9489c8613e71237
parent651a3e29b3d19418d7a8a9787906061f9be7cc5f
KVM: SVM: Intercept the 'invd' and 'wbinvd' instructions

'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>
drivers/kvm/svm.c