From: Dan Magenheimer Subject: RE: [PATCH] pvcpuid: mask TSC invariant bit for various circumstances Date: Mon, 26 Oct 2009 18:09:01 -0700 (PDT) Message-ID: 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 , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org > > pvcpuid: mask TSC invariant bit for PV domains if migration > > is not disabled and TSC is not emulated > >=20 > > (Need similar patch for HVM domain) > >=20 > > Signed-off-by: Dan Magenheimer >=20 > This only affects PV domUs. I suggest patching pv_cpuid() to=20 > catch dom0, and > then really all domUs should be handled by=20 > xc_cpuid_apply_policy(), which > pushes CPUID info down to the hypervisor, as called from xend's > image.py:setCpuid(). The advantage of this is that the=20 > hypervisor does not > need to be informed of the 'disable_migrate' flag at all -- it can be > assumed to be true for dom0 -- and it can be handled entirely=20 > in the tools. > Hence I can get rid of the new domctl, which is nice. I'm not done using the disable_migrate flag yet though. This was just low-hanging fruit.