qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [Qemu-devel] [PATCH 5/5] target-arm: support QMP dump-gue


From: Peter Maydell
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH 5/5] target-arm: support QMP dump-guest-memory
Date: Tue, 24 Nov 2015 22:01:57 +0000

On 24 November 2015 at 21:45, Andrew Jones <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]