I've split the patch into 3 parts. And now I'm using xenhypfs instead of introducing another platform op. That's my first attempt at xenhypfs and the patch itself is of RFC quality. Open questions are where to put the new code and if it's possible to come up with a better hypfs functions.
Sergey Dyasli (3): xen/hypfs: add initial cpuinfo directory tools/xenctrl: add xc_get_cpu_version() tools/xen-ucode: print information about currently loaded ucode tools/include/xenctrl.h | 1 + tools/libs/ctrl/xc_misc.c | 20 ++++++++ tools/misc/Makefile | 2 +- tools/misc/xen-ucode.c | 97 +++++++++++++++++++++++++++++++++++++++ xen/arch/x86/cpu/common.c | 58 +++++++++++++++++++++++ 5 files changed, 177 insertions(+), 1 deletion(-) -- 2.17.1