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)
commitf2483415293b180945da707e7dbe74e5daa72651
tree0c8d5e8ec02ae6f06f1dd1cf68d36e2a9fce6287
parentb60d513c32e2ddc8b3e9e1465b94913d44d19810
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