From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X79Zp-0008BW-IP for qemu-devel@nongnu.org; Tue, 15 Jul 2014 16:43:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X79Zk-0006C0-6x for qemu-devel@nongnu.org; Tue, 15 Jul 2014 16:43:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X79Zj-0006Bw-TF for qemu-devel@nongnu.org; Tue, 15 Jul 2014 16:43:48 -0400 Message-ID: <53C5927B.6010203@redhat.com> Date: Tue, 15 Jul 2014 22:43:39 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1400253321-9239-1-git-send-email-agraf@suse.de> <538CDF30.9050902@beyond.pl> <20140603051630.GA2289@amt.cnet> <538DADED.4040609@redhat.com> <20140603163448.GA11829@amt.cnet> <53C584D3.8090109@redhat.com> <53C588F4.4040307@beyond.pl> <53C58BD2.602@redhat.com> <20140715203122.GB6258@amt.cnet> In-Reply-To: <20140715203122.GB6258@amt.cnet> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH uq/master] kvmclock: Ensure proper env->tsc value for kvmclock_current_nsec calculation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti , Andrey Korolyov Cc: =?UTF-8?B?TWFyY2luIEdpYnXFgmE=?= , Alexander Graf , qemu-devel@nongnu.org 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