Received: from eggs.gnu.org ([2001:4830:134:3::10]:57606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X79O9-0003s3-3e for qemu-devel@nongnu.org; Tue, 15 Jul 2014 16:31:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X79O3-0002jD-5X for qemu-devel@nongnu.org; Tue, 15 Jul 2014 16:31:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X79O2-0002j1-RY for qemu-devel@nongnu.org; Tue, 15 Jul 2014 16:31:43 -0400 Date: Tue, 15 Jul 2014 17:31:22 -0300 From: Marcelo Tosatti Message-ID: <20140715203122.GB6258@amt.cnet> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <53C58BD2.602@redhat.com> Content-Transfer-Encoding: quoted-printable 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: Paolo Bonzini , Andrey Korolyov Cc: Marcin =?utf-8?Q?Gibu=C5=82a?= , Alexander Graf , qemu-devel@nongnu.org On Tue, Jul 15, 2014 at 10:15:14PM +0200, Paolo Bonzini wrote: > Il 15/07/2014 22:03, Marcin Gibu=C5=82a ha scritto: > >>This causes a hang during migration, so I'll revert the patch from 2.= 1. > > > >For me this patch series fixed all hangs I had with migration (at leas= t > >with qemu 2.0). >=20 > Unfortunately, someone else bisected their hangs exactly to this patch: >=20 > http://permalink.gmane.org/gmane.comp.emulators.qemu/286681 >=20 > I could not reproduce that, but I couldn't reproduce yours either so > I'm inclined to trust him and revert the patch. This patch (or some form of updating env->tsc, see changelog)=20 is necessary. 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=20 threads ?