From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFLtG-0005jT-Jl for qemu-devel@nongnu.org; Thu, 07 Aug 2014 07:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFLtA-0003m7-VI for qemu-devel@nongnu.org; Thu, 07 Aug 2014 07:29:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFLtA-0003lx-OA for qemu-devel@nongnu.org; Thu, 07 Aug 2014 07:29:44 -0400 Date: Thu, 7 Aug 2014 12:29:41 +0100 From: "Richard W.M. Jones" Message-ID: <20140807112940.GE14001@redhat.com> References: <20140807104233.GD14001@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] aarch64 & gdb: warning: while parsing target description (at line 1): Could not load XML document "arm-core.xml" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On Thu, Aug 07, 2014 at 12:18:49PM +0100, Peter Maydell wrote: > you didn't select a 32 bit CPU either explicitly or by default > on the QEMU command line? Note that '-machine type=virt' > defaults to a Cortex-A15 even in qemu-softmmu-aarch64 > (this is unfortunate but fallout from the fact that we started > the virt model with the A15. Maybe we should make it not > have a default and require a CPU specification...) Yes, this is indeed the case. It also explains why I could get TCG working at all until I added -cpu cortex-a57. Now it is working. I really think this choice of cpu_model = "cortex-a15" for -M virt is a poor one. It should always default to something working. Currently libguestfs has to pass -cpu host when KVM is detected, and -cpu cortex-a57 otherwise. However we cannot be sure that KVM is 100% working and that we won't fall back to TCG, which means the -cpu parameter could be wrong and we would fail to launch the appliance. Having the correct defaults would prevent this unnecessary failure. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/