commit | ae0bb3e011fec51fa67073d8e23d8ffeb36185d1 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Tue May 19 11:07:10 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:32:38 2009 +0300 |
tree | c5bf05ed2bb0ef7365be95636604f89b8815f77c | |
parent | 74fca6a42863ffacaf7ba6f1936a9f228950f657 [diff] |
KVM: VMX: Properly handle software interrupt re-injection in real mode When reinjecting a software interrupt or exception, use the correct instruction length provided by the hardware instead of a hardcoded 1. Fixes problems running the suse 9.1 livecd boot loader. Problem introduced by commit f0a3602c20 ("KVM: Move interrupt injection logic to x86.c"). Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>