[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 2/2] target/arm: defer setting up of aarch64
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v1 2/2] target/arm: defer setting up of aarch64 gdb until arm_cpu_realize |
Date: |
Thu, 13 Dec 2018 17:10:05 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 12/13/18 5:55 AM, Alex Bennée wrote:
> If we setup earlier we miss the parsing of the aarch64 state of the
> CPU. If the user has booted up with:
>
> qemu-system-aarch64 -cpu host,aarch64=off -enable-kvm
>
> we end up presenting an aarch64 view of the world via the gdbstub and
> hilarity ensues.
>
> Reported-by: Ard Biesheuvel <address@hidden>
> Signed-off-by: Alex Bennée <address@hidden>
> Cc: Omair Javaid <address@hidden>
> ---
> include/hw/arm/arm.h | 2 ++
> target/arm/cpu.c | 4 ++++
> target/arm/cpu64.c | 20 +++++++++++++++-----
> 3 files changed, 21 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~