diff options
author | Mohammed Gamal <m.gamal005@gmail.com> | 2008-07-06 16:51:26 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-20 12:42:38 +0300 |
commit | 19fdfa0d133ae216e9d1c69a8333fe63fcf8e584 (patch) | |
tree | 57264290c1b85a6b44e6d15814236f2c32051aed /arch/x86/kvm/i8254.c | |
parent | ac9f6dc0db0b5582ebf8bb720d7c41c3d2159013 (diff) |
KVM: x86 emulator: Fix HLT instruction
This patch fixes issue encountered with HLT instruction
under FreeDOS's HIMEM XMS Driver.
The HLT instruction jumped directly to the done label and
skips updating the EIP value, therefore causing the guest
to spin endlessly on the same instruction.
The patch changes the instruction so that it writes back
the updated EIP value.
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/i8254.c')
0 files changed, 0 insertions, 0 deletions