From: Dan Magenheimer Subject: RE: [PATCH] replace rdtsc emulation-vs-native xen boot option with per-domain (hypervisor part) Date: Thu, 5 Nov 2009 09:08:58 -0800 (PST) Message-ID: <22ad2797-b503-49b6-aba6-32a417648233@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Jeremy Fitzhardinge , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org > On 06/10/2009 14:49, "Dan Magenheimer"=20 > wrote: >=20 > > This was intended to record the offset across migration. > > But a per-domain stime offset must already be recorded > > somewhere else, or hvm fully-emulated platform timers > > would be broken across migration. > >=20 > > Do pv guests need something similar or is it magically > > handled someplace that I couldn't quickly find? >=20 > PV guests understand that there will be a system-time=20 > discontinuity across > save/restore. All I did was remove an unused field. You can=20 > reintro it when > you use it. Finally got back to looking at this... For an HVM, the relevant time values are saved/restored as part of the cpu state. For a PV, I'm thinking about adding them to the domctl_getdomaininfo struct rather than add additional domctls for each. Is this the proper place or will changes to this struct result in backward compatibility problems or ?? Thanks, Dan