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

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

> > 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



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