From: Mohammed Gamal Date: Sun, 6 Jul 2008 13:51:26 +0000 (+0300) Subject: KVM: x86 emulator: Fix HLT instruction X-Git-Tag: v2.6.27-rc1~968^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19fdfa0d133ae216e9d1c69a8333fe63fcf8e584;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed