From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZLS9-0006Aj-Jk for qemu-devel@nongnu.org; Mon, 06 May 2013 09:27:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZLS6-00035b-BH for qemu-devel@nongnu.org; Mon, 06 May 2013 09:27:41 -0400 Received: from mail-gg0-x232.google.com ([2607:f8b0:4002:c02::232]:33097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZLS6-00035R-6d for qemu-devel@nongnu.org; Mon, 06 May 2013 09:27:38 -0400 Received: by mail-gg0-f178.google.com with SMTP id l2so637635ggn.9 for ; Mon, 06 May 2013 06:27:37 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5187AFC0.3090201@redhat.com> Date: Mon, 06 May 2013 15:27:28 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5141F36E.10004@huawei.com> <5187A863.7080903@huawei.com> In-Reply-To: <5187A863.7080903@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Claudio Fontana Cc: Peter Maydell , qemu-devel@nongnu.org Il 06/05/2013 14:56, Claudio Fontana ha scritto: > 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? No, usually people just do a "smoke test" using their favorite distro and/or Windows. More complete integration testing of i386/x86-64 images is done with virt-test, which supports a variety of distros. The closest thing to a reference image is virt-test's "JeOS" image at http://lmr.fedorapeople.org/jeos/jeos-17-64.qcow2.7z (should probably be added to the list...), currently based on Fedora 17. Paolo