From: Paolo Bonzini <pbonzini@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>, Andrey Korolyov <andrey@xdel.ru>
Cc: "Marcin Gibuła" <m.gibula@beyond.pl>,
"Alexander Graf" <agraf@suse.de>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH uq/master] kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculation
Date: Tue, 15 Jul 2014 22:43:39 +0200 [thread overview]
Message-ID: <53C5927B.6010203@redhat.com> (raw)
In-Reply-To: <20140715203122.GB6258@amt.cnet>
Il 15/07/2014 22:31, Marcelo Tosatti ha scritto:
> This patch (or some form of updating env->tsc, see changelog)
> is necessary.
Yes, I was going to revert Alex's too.
> I was just about to reproduce it.
>
> Andrey, can you please provide the qemu command line ?
>
> Can you attempt to start VM via command line and migrate
> via QEMU monitor, then gdb -p to get a backtrace for all
> threads ?
Andrey provided backtraces for this issue here:
http://article.gmane.org/gmane.comp.emulators.qemu/286679
The first backtrace attached is bt-noreset.txt, the second is bt-reset.txt
but they are identical. The backtraces lack symbols for QEMU, but it looks
like the VMs are running because the CPU threads all look like this:
Thread 4 (Thread 0x7f0054ff9700 (LWP 2915)):
#0 0x00007f00a04dbc37 in ioctl () at ../sysdeps/unix/syscall-template.S:82
#1 0x00007f00a59ea0a9 in ?? ()
#2 0x00007f00a59ea1e5 in ?? ()
#3 0x00007f00a59d59bc in ?? ()
#4 0x00007f00a07b5e9a in start_thread (arg=0x7f0054ff9700) at pthread_create.c:308
#5 0x00007f00a04e33dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()
where the ioctl is likely KVM_RUN.
Paolo
next prev parent reply other threads:[~2014-07-15 20:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 15:15 [Qemu-devel] [PATCH v2] kvmclock: Ensure time in migration never goes backward Alexander Graf
2014-05-18 13:20 ` Marcelo Tosatti
2014-05-19 11:31 ` Paolo Bonzini
2014-05-21 10:03 ` Alexander Graf
2014-06-02 20:31 ` Marcin Gibuła
2014-06-03 5:16 ` Marcelo Tosatti
2014-06-03 9:11 ` Marcin Gibuła
2014-06-03 11:13 ` Paolo Bonzini
2014-06-03 16:34 ` [Qemu-devel] [PATCH uq/master] kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculation Marcelo Tosatti
2014-07-15 19:45 ` Paolo Bonzini
2014-07-15 20:03 ` Marcin Gibuła
2014-07-15 20:15 ` Paolo Bonzini
2014-07-15 20:31 ` Marcelo Tosatti
2014-07-15 20:34 ` Marcelo Tosatti
2014-07-15 20:43 ` Paolo Bonzini
2014-07-15 21:05 ` Andrey Korolyov
2014-07-15 21:08 ` Paolo Bonzini
2014-07-15 20:43 ` Paolo Bonzini [this message]
2014-07-15 19:44 ` [Qemu-devel] [PATCH v2] kvmclock: Ensure time in migration never goes backward Paolo Bonzini
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=53C5927B.6010203@redhat.com \
--to=pbonzini@redhat.com \
--cc=agraf@suse.de \
--cc=andrey@xdel.ru \
--cc=m.gibula@beyond.pl \
--cc=mtosatti@redhat.com \
--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).