KVM: fix push of wrong eip when doing softint
authorSerge E. Hallyn <serge@hallyn.com>
Wed, 13 Apr 2011 14:12:54 +0000 (09:12 -0500)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:09 +0000 (07:57 -0400)
commit71f9833bb1cba9939245f3e57388d87d69f8f399
tree763f0afa1ad42902549d5484bc565e10a0a4683b
parent4487b3b48d8fa3f6a5dd4155c9e34d5e998ad7fe
KVM: fix push of wrong eip when doing softint

When doing a soft int, we need to bump eip before pushing it to
the stack.  Otherwise we'll do the int a second time.

[apw@canonical.com: merged eip update as per Jan's recommendation.]
Signed-off-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h