From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH] target-i386: clear guest TSC on reset Date: Thu, 12 Dec 2013 13:18:24 +0100 Message-ID: <52A9A990.90605@redhat.com> References: <529D90A6.2080801@lab.ntt.co.jp> <52A0186A.2050207@lab.ntt.co.jp> <1386224104.3091.3.camel@nexus> <52A04732.4040105@redhat.com> <52A07C5A.9090105@lab.ntt.co.jp> <52A08541.6090702@redhat.com> <52A09EF4.5080800@lab.ntt.co.jp> <20131205161707.GB17277@amt.cnet> <52A0AC09.4090202@redhat.com> <52A189B2.4060305@lab.ntt.co.jp> <20131206142252.GA7081@amt.cnet> <52A58449.6020707@lab.ntt.co.jp> <52A924E6.8080309@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Marcelo Tosatti , Gleb Natapov , Will Auld , qemu-devel@nongnu.org, kvm@vger.kernel.org To: =?ISO-8859-1?Q?Fernando_Luis_V=E1zquez_Cao?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:65118 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445Ab3LLMSi (ORCPT ); Thu, 12 Dec 2013 07:18:38 -0500 In-Reply-To: <52A924E6.8080309@lab.ntt.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: Il 12/12/2013 03:52, Fernando Luis V=E1zquez Cao ha scritto: > On 12/09/2013 05:50 PM, Fernando Luis V=E1zquez Cao wrote: >> On 12/06/2013 11:22 PM, Marcelo Tosatti wrote: >>> On Fri, Dec 06, 2013 at 05:24:18PM +0900, Fernando Luis V=E1zquez C= ao >>> wrote: >>>> I also wanted to make sure that the initialization that we do >>>> in kvm_arch_vcpu_postcreate on power up and the subsequent >>>> TSC writeback work well together, but I didn't have time to >>>> test it (reading the code, I would say that the TSC generation >>>> counter may end up being increased a few times but the TSCs >>>> would eventually converge). >>> A basic test should be fine, because the matching code is in use >>> today. >> >> I applied my two patches to QEMU and I did some testing >> with SMP guests (4 VCPUs). >=20 > By the way, do you want me to merge the two patches I sent into > one and resend? No, I now "swapped" them (reversed the order) and applied them to uq/ma= ster. Paolo