]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4a8ec71733b218939da4bb7ab2b741ff2a628f8
tree07f4149b987e2b42e400ea39f8c0c63d6bebf0ad
parent95c9c3d6bfdf8d484443dc6cefd55a10128bad28
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