Hey!
This series is the RFC I mentioned in cpu map discussion for libxl[0].
That is to implement host.cpu element in caps,by getting topology and xen
hwcaps parsing done, followed by having cpu-{compare,baseline} and get cpu
models APIs implemented. Last thing missing I think it would be to
libxl_cpuid_set the features to enable/disable whichever format we choose plus
the appropriate XML convertion to/from XM and XL config formats.
Cheers,
Joao
[0]
https://www.redhat.com/archives/libvir-list/2016-July/msg00237.html
Joao Martins (5):
libxl: describe host topology in capabilities
libxl: describe host cpu features based on hwcaps
libxl: implement virConnectCompareCPU
libxl: implement virConnectBaselineCPU
libxl: implement virConnectGetCPUModelNames
src/libxl/libxl_capabilities.c | 148 ++++++++++++++++++++++++++++++++++++++---
src/libxl/libxl_driver.c | 74 +++++++++++++++++++++
2 files changed, 212 insertions(+), 10 deletions(-)
--
2.1.4