UBUNTU: SAUCE: kvm: fix push of wrong eip when doing softint
authorSerge E. Hallyn <serge.hallyn@canonical.com>
Wed, 13 Apr 2011 15:28:20 +0000 (16:28 +0100)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:40:21 +0000 (11:40 -0700)
commite9d3923b0482e157ec831b1bfbbdfba6d57d8d74
treea6d681e2d6c7be7b8142f129689f3a4844893259
parentdab49599757d37bb4ff78024da6479f1c1fd9ddb
UBUNTU: SAUCE: 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.]
BugLink: http://bugs.launchpad.net/bugs/747090
Signed-off-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h