On 24 November 2015 at 21:45, Andrew Jones <drjo...@redhat.com> wrote:
> On Tue, Nov 24, 2015 at 09:08:29PM +0000, Peter Maydell wrote:
>> Also, if we're currently executing a 32-bit guest when we take
>> the core dump, you probably need to call aarch64_sync_32_to_64()
>> somewhere.
>
> I think we're covered here. We have
>
> dump_init
>   cpu_synchronize_all_states
>     ...
>       kvm_arch_get_registers
>         if (!is_a64(env)) {
>             aarch64_sync_64_to_32(env);
>         }

That won't work if you're taking the core dump on a QEMU
which isn't using KVM...

thanks
-- PMM

Reply via email to