From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHXxk-0003Ut-9w for qemu-devel@nongnu.org; Thu, 05 Sep 2013 07:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHXxe-0003Jn-35 for qemu-devel@nongnu.org; Thu, 05 Sep 2013 07:43:00 -0400 Message-ID: <1378381352.4321.156.camel@pasglop> From: Benjamin Herrenschmidt Date: Thu, 05 Sep 2013 21:42:32 +1000 In-Reply-To: <52285369.1040907@ozlabs.ru> References: <1378193502-4968-1-git-send-email-aik@ozlabs.ru> <20130905043059.GC10158@voom.redhat.com> <52280E96.1030402@ozlabs.ru> <350E3728-BF3A-4B43-8E43-2622033970D0@suse.de> <52285369.1040907@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] spapr: support time base offset migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Paolo Bonzini , Andreas =?ISO-8859-1?Q?F=E4rber?= , Paul Mackerras , David Gibson On Thu, 2013-09-05 at 19:48 +1000, Alexey Kardashevskiy wrote: > >> I do not have pure guest timebase in QEMU and I need it on the destination. > >> But I have host timebase + offset to calculate it. And tb_offset is already > >> in ppc_tb_t. It looked logical to me to send the existing field and add > >> only the missing part. > > > > I still don't understand. You want the guest visible timebase in the migration stream, no? > > > Yes. I do not really understand the problem here (and I am not playing > dump). Do you suggest sending just the guest timebase and do not send the > host timebase and the offset (one number instead of two)? I can do that, > makes sense, no problem, thanks for the idea. No, we want to send the guest TB and the corresponding "time of day" so that the target can adjust the TB based on how long the migration took. Cheers, Ben.