The handling of the interrupt shadow is subtle. QEMU's check to stop the
interrupt shadow needs to check the state after the _penultimate_
instruction. Because the interrupt shadow is only enabled at the end of
a translation block, and it makes the next, the state at the
penultimate instruction is stored in the current translation block's
flags. Fix gen_eob to check it correctly.
This fixes Windows XP.
Reported-by: Hervé Poussineau <address@hidden>
Fixes: 7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea
Signed-off-by: Paolo Bonzini <address@hidden>