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>
This commit is contained in:
Serge E. Hallyn 2011-04-13 09:12:54 -05:00 • committed by Avi Kivity
commit 71f9833bb1
3 changed files with 13 additions and 6 deletions