KVM: Drop interrupt shadow when single stepping should be done only on VMX
authorGleb Natapov <gleb@redhat.com>
Mon, 18 May 2009 08:44:06 +0000 (11:44 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:41 +0000 (08:32 +0300)
commit787ff73637bbf34ef276cb04a127b421de71cc43
tree07f4149b987e2b42e400ea39f8c0c63d6bebf0ad
parent284e9b0f5ad0c049efb7f145588782bf3d8be93e
KVM: Drop interrupt shadow when single stepping should be done only on VMX

The problem exists only on VMX. Also currently we skip this step if
there is pending exception. The patch fixes this too.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c