[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] pvcpuid: mask TSC invariant bit for various circumstances

  • To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Tue, 27 Oct 2009 00:22:06 +0000
  • Cc:
  • Delivery-date: Mon, 26 Oct 2009 17:22:36 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcpWkfA1rHLCkhmYRf+XzElg9eVBfgACZNSN
  • Thread-topic: [Xen-devel] [PATCH] pvcpuid: mask TSC invariant bit for various circumstances

On 26/10/2009 23:12, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> pvcpuid: mask TSC invariant bit for PV domains if migration
> is not disabled and TSC is not emulated
> (Need similar patch for HVM domain)
> Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>

This only affects PV domUs. I suggest patching pv_cpuid() to catch dom0, and
then really all domUs should be handled by 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 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 in the tools.
Hence I can get rid of the new domctl, which is nice.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.