xapi-project / xenopsd

XCP toolstack domain manager
Other
15 stars 68 forks source link

Offload VM CPU Policy checks to Xen #785

Closed robhoes closed 1 year ago

robhoes commented 1 year ago

In order to support MSR_ARCH_CAPS, combining policies becomes more complicated than a simple intersection. More generally, it is more convenient to have all levelling/compatibility logic in a single codebase to avoid needing linked changes in Xapi.

Where possible, offload the decisions into Xen.

Signed-off-by: Rob Hoes rob.hoes@citrix.com Signed-off-by: Andrew Cooper andrew.cooper3@citrix.com

(cherry picked from commit https://github.com/xapi-project/xen-api/commit/dc2d84ca2890cc912ef190f40340fd048b81329b)