Received: from eggs.gnu.org ([2001:4830:134:3::10]:36393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGdwD-0000m0-2n for qemu-devel@nongnu.org; Wed, 28 Jan 2015 20:30:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGdw9-00032L-Sx for qemu-devel@nongnu.org; Wed, 28 Jan 2015 20:30:29 -0500 Message-ID: <54C98EF3.3070405@sunrus.com.cn> Date: Thu, 29 Jan 2015 09:37:55 +0800 From: Chen Gang S MIME-Version: 1.0 References: <54C4DC4E.3080306@sunrus.com.cn> <54C5672D.4080800@sunrus.com.cn> <54C6566B.6050205@sunrus.com.cn> <20150128142705.GA22971@afflict.kos.to> <54C95E09.1030107@sunrus.com.cn> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user/syscall.c: Let all lock_user_struct() and unlock_user_struct() paired with each other List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Trivial , Riku Voipio , Michael Tokarev , qemu-devel On 1/29/15 06:36, Peter Maydell wrote: > On 28 January 2015 at 22:09, Chen Gang S wrote: >> - Is what I said above really correct (e.g. is linux-user really mainly >> for cpu emulation)?. > > Not really. linux-user is mainly for running single Linux binaries. > It has a secondary use for running gcc test binaries which think > they are "bare metal" but actually use some kind of semihosting API. > (You should check whether tile has one of those.) > > As well as linux-user mode, QEMU has system emulation mode, where > we emulate a complete machine. > > Both modes need CPU emulation. > OK, thanks. For coding and test, is linux-user a good starting position for me? (I guess it is). Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed