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

Re: [Xen-devel] [PATCH v3 1/5] libx86: Introduce a helper to serialise cpuid_policy objects

>>> On 05.11.18 at 12:16, <andrew.cooper3@xxxxxxxxxx> wrote:
> The serialised form is made up of the leaf, subleaf and data tuple.  As this
> is the architectural form, it is expected not to change going forwards.
> The serialisation of the Xen/Viridian leaves isn't fully implemented yet.  
> It
> is just enough to be bug-compatible with the current DOMCTL_set_cpuid
> behaviour, but needs further hypervisor work before the toolstack can 
> sensibly
> control these values.
> x86_cpuid_copy_to_buffer() is implemented using Xen's regular copy_to_guest
> primitives, with an API-compatible memcpy() is used for the libxc half of 
> the
> build.
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> Signed-off-by: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>
> Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



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