From: Paolo Bonzini <pbonzini@redhat.com>
To: "Denis V. Lunev" <den@openvz.org>, qemu-devel@nongnu.org
Cc: Anton Nefedov <anton.nefedov@virtuozzo.com>
Subject: Re: [Qemu-devel] [PATCH v3 1/3] i386/cpu: add crash-information QOM property
Date: Mon, 13 Feb 2017 13:11:39 +0100 [thread overview]
Message-ID: <0c681e39-ba65-0e7f-b14a-920d772f3c25@redhat.com> (raw)
In-Reply-To: <1486969742-16539-2-git-send-email-den@openvz.org>
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
next prev parent reply other threads:[~2017-02-13 12:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 7:08 [Qemu-devel] [PATCH v3 0/3] kvm: report available guest crash parameters Denis V. Lunev
2017-02-13 7:09 ` [Qemu-devel] [PATCH v3 1/3] i386/cpu: add crash-information QOM property Denis V. Lunev
2017-02-13 12:11 ` Paolo Bonzini [this message]
2017-02-13 7:09 ` [Qemu-devel] [PATCH v3 2/3] report guest crash information in GUEST_PANICKED event Denis V. Lunev
2017-02-13 12:08 ` Paolo Bonzini
2017-02-13 7:09 ` [Qemu-devel] [PATCH v3 3/3] vl: log available guest crash information Denis V. Lunev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c681e39-ba65-0e7f-b14a-920d772f3c25@redhat.com \
--to=pbonzini@redhat.com \
--cc=anton.nefedov@virtuozzo.com \
--cc=den@openvz.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).