]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: Clean up unloved invlpg emulation
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 9 Sep 2007 11:12:54 +0000 (14:12 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:27 +0000 (10:18 +0200)
commitb85b9ee9259917f248ee1507d7d1f575f4fc27dd
tree7455f36a04f4e87665a1b44dcfc1b5595eeb9289
parentc9a1185c945c8db3185ad40092963cbb39192e31
KVM: Clean up unloved invlpg emulation

invlpg shouldn't fetch the "src" address, since it may not be valid,
however SVM's "solution" which neuters emulation of all group 7
instruction is horrible and breaks kvm-lite.  The simplest fix is to
put a special check in for invlpg.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/svm.c
drivers/kvm/x86_emulate.c