Re: [PATCH] hw/arm/virt: Default to architecture appropriate CPU

2020-08-20 Thread Punit Agrawal
Hi Peter, Thanks for the quick feedback and the background. Peter Maydell writes: > On Thu, 20 Aug 2020 at 05:55, Punit Agrawal > wrote: >> >> The default_cpu_type for the Virt machine is set to "cortex-a15" for >> both the arm (qemu-system-arm) and aarch64 (qemu-system-aarch64) >> targets. >

[PATCH] hw/arm/virt: Default to architecture appropriate CPU

2020-08-20 Thread Punit Agrawal
The default_cpu_type for the Virt machine is set to "cortex-a15" for both the arm (qemu-system-arm) and aarch64 (qemu-system-aarch64) targets. As a result, starting the aarch64 target with "-machine virt" defaults to booting with a Arm v7 cpu which is counter to expectation. Debugging the issue is

Re: [PATCH] hw/arm/virt: Default to architecture appropriate CPU

2020-08-20 Thread Peter Maydell
On Thu, 20 Aug 2020 at 05:55, Punit Agrawal wrote: > > The default_cpu_type for the Virt machine is set to "cortex-a15" for > both the arm (qemu-system-arm) and aarch64 (qemu-system-aarch64) > targets. > > As a result, starting the aarch64 target with "-machine virt" defaults > to booting with a A