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

Re: [Xen-devel] Solaris and PVRDTSCP

On 01/07/2011 18:02, "Paul Durrant" <Paul.Durrant@xxxxxxxxxx> wrote:

> Hi,
>   I've been trying to figure out why my copy of s10u9 did not run PV drivers
> when I installed it on Xen 4.1 when it was perfectly happy on Xen 3.4...
>   It turns out that the kernel is making a check that the maximal Xen CPUID
> leaf is no greater than base + 2. This was true on Xen 3.4 but when the
> PVRDTSCP patch was added it ceased to be true with the addition of the
> cpuid_time_leaf code.
>   Clearly future versions of the Solaris kernel should revise this check but
> to allow this kernel to enable PV drivers I was wondering what sort of
> workaround could be done. My current thoughts are along the lines of disabling
> the extra CPUID leaf if tsc_mode is < TSC_MODE_PVRDTSCP. An alternative might
> be to introduce another tsc_mode that specifically causes the leaf to be
> obscured. Thoughts?

We might add other leaves in future. Best might be a domctl to restrict max
leaf per domain, and do all the relevant plumbing of that through
toolstacks. Fun.

 -- Keir

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

Xen-devel mailing list



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