From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38731 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnyzc-0008Dm-6b for qemu-devel@nongnu.org; Fri, 11 Feb 2011 14:49:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnyza-0006mP-QU for qemu-devel@nongnu.org; Fri, 11 Feb 2011 14:49:23 -0500 Received: from mga02.intel.com ([134.134.136.20]:32009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnyza-0006mH-IO for qemu-devel@nongnu.org; Fri, 11 Feb 2011 14:49:22 -0500 Date: Fri, 11 Feb 2011 11:49:53 -0800 From: Andi Kleen Message-ID: <20110211194953.GA19467@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] qemu user x86 working? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 : mov (%rbx),%rbp 0x6021f857 : mov 0x28(%r14),%rbx 0x6021f85b : 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