lguest: fix on Intel when KVM loaded (unhandled trap 13)
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 26 May 2009 11:24:41 +0000 (20:54 +0930)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 May 2009 19:13:11 +0000 (12:13 -0700)
commit564346224daaa8f7222d7a92cdbb7bafde59ae6e
treed91ddfa810c3d9aaf3b33f00d7ae80bd541b1f4b
parentab2b7ebaad16226c9a5e85c5f384d19fa58a7459
lguest: fix on Intel when KVM loaded (unhandled trap 13)

When KVM is loaded, and hence VT set up, the vmcall instruction in an
lguest guest causes a #GP, not #UD.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/lguest/x86/core.c