[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] "cpu-exec.c: avoid AREG0 use" breaks x86 emulation on x
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] "cpu-exec.c: avoid AREG0 use" breaks x86 emulation on x86-64 |
Date: |
Fri, 1 Jul 2011 23:15:58 +0300 |
On Fri, Jul 1, 2011 at 4:44 AM, TeLeMan <address@hidden> wrote:
> On Fri, Jul 1, 2011 at 00:47, Jan Kiszka <address@hidden> wrote:
>> Hi Blue,
>>
>> commit cea5f9a28f breaks here, just starting qemu without any
>> parameters:
>>
>> Starting program: qemu-system-x86_64
>> [Thread debugging using libthread_db enabled]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff39ac770 in __sigsetjmp () from /lib64/libc.so.6
>> (gdb) bt
>> #0 0x00007ffff39ac770 in __sigsetjmp () from /lib64/libc.so.6
>> #1 0x00000000004eb96c in cpu_x86_exec (env=0x11d09a0) at cpu-exec.c:233
>> #2 0x000000000040f056 in tcg_cpu_exec (env=0x11d09a0) at cpus.c:1059
>> #3 cpu_exec_all () at cpus.c:1100
>> #4 0x000000000058cfcb in main_loop () at vl.c:1380
>> #5 main (argc=<value optimized out>, argv=<value optimized out>,
>> envp=<value optimized out>) at vl.c:3318
>>
>> Please have a look.
>>
>> Jan
>>
>> --
>> Siemens AG, Corporate Technology, CT T DE IT 1
>> Corporate Competence Center Embedded Linux
>>
>>
> It works on gcc 4.4.5 x64. Which version is your gcc?
Works for me too. The change added a second argument to
tcg_qemu_tb_exec() and in tcg/i386/* we assume that the second
register is %rsi. Isn't that so also with your gcc?
- Re: [Qemu-devel] "cpu-exec.c: avoid AREG0 use" breaks x86 emulation on x86-64,
Blue Swirl <=