Received: from eggs.gnu.org ([2001:4830:134:3::10]:60692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhDLJ-0000cq-6b for qemu-devel@nongnu.org; Sun, 12 Apr 2015 04:34:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhDLG-0006Sl-1b for qemu-devel@nongnu.org; Sun, 12 Apr 2015 04:34:13 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54834 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhDLF-0006Sb-RM for qemu-devel@nongnu.org; Sun, 12 Apr 2015 04:34:09 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) From: Alexander Graf In-Reply-To: <55299647.10303@suse.de> Date: Sun, 12 Apr 2015 10:34:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <263F0FD9-0CC8-428D-A72D-B119ED3D983F@suse.de> References: <1428777292-24628-1-git-send-email-afaerber@suse.de> <1428777292-24628-8-git-send-email-afaerber@suse.de> <552983D8.70904@suse.de> <55299647.10303@suse.de> Subject: Re: [Qemu-devel] [PATCH for-2.3? 7/7] tests/tcg: Enable runcom test by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Andreas_F=C3=A4rber?= Cc: Peter Maydell , QEMU Developers , Richard Henderson > Am 11.04.2015 um 23:46 schrieb Andreas F=C3=A4rber : >=20 >> Am 11.04.2015 um 23:33 schrieb Peter Maydell: >>> On 11 April 2015 at 21:28, Andreas F=C3=A4rber wrote:= >>> Are you sure that QEMU / runcom / pi_10.com still try to map to that >>> address zero? >>=20 >> It's the first thing runcom.c's main() does after checking you've >> passed it enough command line arguments. >=20 > This? >=20 > vm86_mem =3D mmap((void *)0x00000000, 0x110000, > PROT_WRITE | PROT_READ | PROT_EXEC, > MAP_FIXED | MAP_ANON | MAP_PRIVATE, -1, 0); > if (vm86_mem =3D=3D MAP_FAILED) { > perror("mmap"); > exit(1); > } >=20 > For whatever reason it does not take the MAP_FAILED path here... Wasn't a NULL argument for the address a hint saying "map wherever you pleas= e"? I also feel like I'm missing context here - what exactly is broken? Alex >=20 > But I can certainly live with dropping this patch, it's the last for a > reason. :) >=20 > Andreas >=20 > --=20 > SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany > GF: Felix Imend=C3=B6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, > Graham Norton; HRB 21284 (AG N=C3=BCrnberg)