]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Fix exceptions of mov to dr
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Jan 2010 17:20:20 +0000 (18:20 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:01 +0000 (12:36 -0300)
commita112b780dd310e3428f9c84aa927c5776e4edea4
tree0c8d5e8ec02ae6f06f1dd1cf68d36e2a9fce6287
parent58fd587a73b77574a90a6fa27a2bdb40f71d2593
KVM: VMX: Fix exceptions of mov to dr

Injecting GP without an error code is a bad idea (causes unhandled guest
exits). Moreover, we must not skip the instruction if we injected an
exception.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c