qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: Jan Kiszka <jan.kiszka@siemens.com>, qemu-devel <qemu-devel@nongnu.org>
Cc: TeLeMan <geleman@gmail.com>
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	[thread overview]
Message-ID: <BANLkTimW27g3rE4a30vr1T10XccQEAi+sA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=Unfpkty5TYVUvJEBp1hzbN4du=g@mail.gmail.com>

On Fri, Jul 1, 2011 at 4:44 AM, TeLeMan <geleman@gmail.com> wrote:
> On Fri, Jul 1, 2011 at 00:47, Jan Kiszka <jan.kiszka@siemens.com> 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?

  reply	other threads:[~2011-07-01 20:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 16:47 [Qemu-devel] "cpu-exec.c: avoid AREG0 use" breaks x86 emulation on x86-64 Jan Kiszka
2011-06-30 21:17 ` Stefan Weil
2011-07-01  1:44 ` TeLeMan
2011-07-01 20:15   ` Blue Swirl [this message]
2011-07-02  7:50     ` [Qemu-devel] [PATCH] tcg: Reload local variables after return from longjmp Jan Kiszka
2011-07-02  9:08       ` Blue Swirl
2011-07-02  9:43         ` Jan Kiszka
2011-07-03 14:09           ` Paolo Bonzini
2011-07-12 20:56       ` Blue Swirl
2011-08-11 11:30       ` Peter Maydell
2011-08-11 12:16         ` Paolo Bonzini
2011-08-11 12:40           ` Peter Maydell
2011-08-11 13:13             ` Paolo Bonzini
2011-08-11 13:31               ` Peter Maydell
2011-08-11 14:10                 ` Paolo Bonzini
2011-08-11 14:12                   ` David Gilbert
2011-08-11 14:24                   ` Peter Maydell
2011-08-11 14:32                     ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimW27g3rE4a30vr1T10XccQEAi+sA@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=geleman@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).