Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Mohammed Gamal
On Sun, Jul 6, 2008 at 4:34 PM, Avi Kivity <[EMAIL PROTECTED]> wrote: > Mohammed Gamal wrote: >> >> On Sun, Jul 6, 2008 at 10:51 AM, Avi Kivity <[EMAIL PROTECTED]> wrote: >> >>> >>> Mohammed Gamal wrote: >>> This patch resolves the problem encountered with HLT emulation with FreeDOS'

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Avi Kivity
Mohammed Gamal wrote: On Sun, Jul 6, 2008 at 10:51 AM, Avi Kivity <[EMAIL PROTECTED]> wrote: Mohammed Gamal wrote: This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the only instruction that goes to the done label unconditionally, cau

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Mohammed Gamal
On Sun, Jul 6, 2008 at 10:51 AM, Avi Kivity <[EMAIL PROTECTED]> wrote: > Mohammed Gamal wrote: >> >> This patch resolves the problem encountered with HLT emulation with >> FreeDOS's HIMEM XMS Driver. >> HLT is the only instruction that goes to the done label unconditionally, >> causing the EIP valu

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Avi Kivity
Mohammed Gamal wrote: This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the only instruction that goes to the done label unconditionally, causing the EIP value not to be updated which leads to the guest looping forever on the same instructio

[PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-05 Thread Mohammed Gamal
This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the only instruction that goes to the done label unconditionally, causing the EIP value not to be updated which leads to the guest looping forever on the same instruction. Signed-off-by: Moha