[Qemu-devel] [RFC] [PATCH] TSS ljmp issues

2006-06-19 Thread malc
QEMU does not correctly handle jumps to TSS segments, the code in switch_tss loads new eflags, but cc_op is never set to CC_OP_EFLAGS. The problem manifests itself when trying to run DJGPP binaries compressed with UPX. It goes something like this: sub esi, 0FFFCh

[Qemu-devel] [RFC] [PATCH] TSS ljmp issues (fwd)

2006-06-19 Thread malc
Sorry about previous e-mail, my mail client decided to ambush me. QEMU does not correctly handle jumps to TSS segments, the code in switch_tss loads new eflags, but cc_op is never set to CC_OP_EFLAGS. The problem manifests itself when trying to run DJGPP binaries compressed with UPX. It goes