WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] pvcpuid: mask TSC invariant bit for various circ

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] pvcpuid: mask TSC invariant bit for various circumstances
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Mon, 26 Oct 2009 18:09:01 -0700 (PDT)
Cc:
Delivery-date: Mon, 26 Oct 2009 18:11:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C70BEDAE.18718%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > 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.

I'm not done using the disable_migrate flag yet though.
This was just low-hanging fruit.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel