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