Hello, The following series adds support for handling guest MSR features as defined in arch-x86/cpufeatureset.h.
The end result is the user being able to use such features with the xl.cfg(5) cpuid option. This also involves adding support to all the underlying layers, so both libxl and libxc also get new functionality in order to properly parse those. Thanks, Roger. Roger Pau Monne (6): libs/guest: introduce support for setting guest MSRs libxl: change the type of libxl_cpuid_policy_list libxl: introduce MSR data in libxl_cpuid_policy libxl: split logic to parse user provided CPUID features libxl: use the cpuid feature names from cpufeatureset.h libxl: add support for parsing MSR features docs/man/xl.cfg.5.pod.in | 24 +- tools/include/libxl.h | 8 +- tools/include/xenctrl.h | 21 +- tools/libs/guest/xg_cpuid_x86.c | 169 +++++++- tools/libs/light/libxl_cpuid.c | 672 ++++++++++++++++++------------ tools/libs/light/libxl_internal.h | 5 + tools/libs/light/libxl_types.idl | 2 +- tools/xl/xl_parse.c | 3 + 8 files changed, 612 insertions(+), 292 deletions(-) -- 2.41.0