qemu-patch-raspberry4/target-i386
aurel32 32938e127f target-i386: Fix jmp im on x86_64 when executing 32-bit code
When running grub-install (32-bit) on an x86_64 Linux system in qemu, it
hangs on a pagefault forever, because an integer overflow occurs on the
IP on "jmp im". This patch masks overflows for 32 bit IPs on a 64 bit
system, just like it is done for 16 bit IPs already.

Using this patch, x86_64 openSUSE installation works again.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5963 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-10 15:02:16 +00:00
..
cpu.h x86: Debug register emulation (Jan Kiszka) 2008-11-18 21:08:15 +00:00
exec.h Common cpu_loop_exit prototype 2008-11-30 16:23:09 +00:00
helper.c Fix register name typo in dumping debug registers (Jan Kiszka) 2008-12-02 19:40:26 +00:00
helper.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
helper_template.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
kvm.c Define kvm_ioctl in the same way as ioctl 2008-11-13 19:21:00 +00:00
machine.c x86: Debug register emulation (Jan Kiszka) 2008-11-18 21:08:15 +00:00
op_helper.c Remove FORCE_RET() and RETURN() 2008-12-07 18:15:54 +00:00
ops_sse.h Remove FORCE_RET() and RETURN() 2008-12-07 18:15:54 +00:00
ops_sse_header.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO SVM rework 2008-05-28 16:16:54 +00:00
translate.c target-i386: Fix jmp im on x86_64 when executing 32-bit code 2008-12-10 15:02:16 +00:00