qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 1/3] i386/cpu: add crash-information QOM prop


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v3 1/3] i386/cpu: add crash-information QOM property
Date: Mon, 13 Feb 2017 13:11:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0


On 13/02/2017 08:09, Denis V. Lunev wrote:
> +void kvm_arch_save_crash_info(CPUState *cpu);
>  #endif
> diff --git a/kvm-all.c b/kvm-all.c
> index a27c880..abfe92d 100644
> --- a/kvm-all.c
> +++ b/kvm-all.c
> @@ -2000,6 +2000,7 @@ int kvm_cpu_exec(CPUState *cpu)
>                  ret = EXCP_INTERRUPT;
>                  break;
>              case KVM_SYSTEM_EVENT_CRASH:
> +                kvm_arch_save_crash_info(cpu);

Would it work to use

    kvm_cpu_synchronize_state(cpu);

instead?

Thanks,

Paolo



reply via email to

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