qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu user x86 working?
@ 2011-02-11 19:49 Andi Kleen
  2011-02-11 22:05 ` Blue Swirl
  0 siblings, 1 reply; 6+ messages in thread
From: Andi Kleen @ 2011-02-11 19:49 UTC (permalink / raw)
  To: qemu-devel

Hi,

Is the linux-user qemu for x86-64/i386 supposed to work?

For example running it with a simple hello world on FC14 in gdb:

/home/ak/tsrc/hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped

[Thread debugging using libthread_db enabled]
ERROR: ioctl(SNDCTL_DSP_MAPINBUF): target=0x80085013 host=0x80105013
ERROR: ioctl(SNDCTL_DSP_MAPOUTBUF): target=0x80085014 host=0x80105014

Program received signal SIGSEGV, Segmentation fault.
0x000000006021f854 in static_code_gen_buffer ()
(gdb) disp/3i $pc
1: x/3i $pc
=> 0x6021f854 <static_code_gen_buffer+162660>:  mov    (%rbx),%rbp
   0x6021f857 <static_code_gen_buffer+162663>:  mov    0x28(%r14),%rbx
   0x6021f85b <static_code_gen_buffer+162667>:
    add    $0xffffffffffffff88,%rbx
(gdb) p $rbx
$2 = 0

I tested a few releases back, 0.13 and also 14-rc0 and they 
all segfault, although they are not all in the same place.
The qemu-user shipped by Fedora also seems to have the same problem.

Is this a known issue or am I doing something obviously wrong?

Thanks,
-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-16  6:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 19:49 [Qemu-devel] qemu user x86 working? Andi Kleen
2011-02-11 22:05 ` Blue Swirl
2011-02-11 22:27   ` Andi Kleen
2011-02-12  1:04     ` Mulyadi Santosa
2011-02-12  8:08     ` Blue Swirl
2011-02-15 12:20       ` Andi Kleen

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).