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/

Reply via email to