From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZKy3-0005tY-12 for qemu-devel@nongnu.org; Mon, 06 May 2013 08:56:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZKxy-0001b5-F5 for qemu-devel@nongnu.org; Mon, 06 May 2013 08:56:34 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:57135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZKxy-0001at-6A for qemu-devel@nongnu.org; Mon, 06 May 2013 08:56:30 -0400 Message-ID: <5187A863.7080903@huawei.com> Date: Mon, 6 May 2013 14:56:03 +0200 From: Claudio Fontana MIME-Version: 1.0 References: <5141F36E.10004@huawei.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] QEMU aarch64 TCG target - testing question about x86-64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org On 14.03.2013 17:16, Peter Maydell wrote: > On 14 March 2013 15:57, Claudio Fontana wrote: >> I am currently working on an aarch64 tcg target implementation, >> based on the available gdb patches contributed by ARM and the results >> of the linaro toolchain. > > Doing a target implementation based on the gdb/binutils > patches and not the actual documentation is going to be > enormously painful to review (to the point that I will almost > certainly just say "sorry, no"), because it will basically > be "you have the semantics of this wrong", "you have the > decoding wrong" all the way through for a whole pile of > corner cases. You need to be working from the actual ARM > documentation (which I regret is currently only available > under NDA). > > See also the patchset that Alex Graf posted recently (which > is a bunch of framework code but not the actual decoder). > > -- PMM > Well, we happen to have just completed a first working version of TCG support for aarch64 here, and it has been tested successfully running on Foundation v8, running the system emulation for various targets (at the moment armv5/linux, armv7/linux, x86 FreeDOS, X86 Linux). I understand that you have reservations on upstreaming this work for the reasons you explain above, so for now it will be available to Huawei only. If anybody is interested, I will be happy to send the patches. Now I have a question regarding the test images, I have seen various QEMU images at wiki.qemu.org/Testing I have tested with some of those, but I don't see an x86-64 test case; is there a reference test kernel/image for x86-64? Thanks, Claudio Fontana Server OS Architect Huawei Technologies Duesseldorf GmbH Riesstraße 25 - 80992 München