lguest: Guest int3 fix
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jul 2008 14:58:31 +0000 (09:58 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 23:58:31 +0000 (09:58 +1000)
commit0c12091d82e48dc423fb1f51eb0062c557a084af
tree91579abdc22e7bf3784f9fcb59a0f018e7f5366d
parent5d006d8d09e82f086ca0baf79a2907f2c1e25af7
lguest: Guest int3 fix

Ron Minnich noticed that guest userspace gets a GPF when it tries to int3:
we need to copy the privilege level from the guest-supplied IDT to the real
IDT.  int3 is the only common case where guest userspace expects to invoke
an interrupt, so that's the symptom of failing to do this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/interrupts_and_traps.c