From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H4d9x-0004TH-KP for qemu-devel@nongnu.org; Wed, 10 Jan 2007 08:06:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H4d9u-0004Qz-TA for qemu-devel@nongnu.org; Wed, 10 Jan 2007 08:06:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4d9u-0004Qg-BK for qemu-devel@nongnu.org; Wed, 10 Jan 2007 08:06:26 -0500 Received: from [213.184.230.195] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H4d9t-0007EZ-Nd for qemu-devel@nongnu.org; Wed, 10 Jan 2007 08:06:26 -0500 Date: Wed, 10 Jan 2007 15:06:23 +0200 From: "Kirill A. Shutemov" Subject: Re: [Qemu-devel] [BUG] syscall mmap broken Message-ID: <20070110130623.GA11282@localhost.localdomain> References: <20070108081124.GA7470@localhost.localdomain> <200701081621.27810.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <200701081621.27810.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paul Brook --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On [Mon, 08.01.2007 16:21], Paul Brook wrote: > On Monday 08 January 2007 08:11, Kirill A. Shutemov wrote: > > On a 64-bit host system mmap sometimes(quite rarely on x86_64) return > > address above 0xffffffff. If target system is a 32-bit system then mojor > > 32-bit will be dropped due to h2g(). >=20 > We should be using MAP_32BIT or MAP_FIXED. But MAP_32BIT can be only used for x86_64. What about other 64-bit host system? It seems that right way to write VM for linux-user emulators. --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFpOTPbWYnhzC5v6oRAkhOAJ9C72xJESENSm8UlyFUEzB9M0BbMACeNeKw nX6fuSQsotMpW66urCe+h0w= =8dRe -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--