See patch 4 for details of the problem. Other patches fix other errors found
while investigating.
This is only the hypervisor side of the change for now, because I want
agreement before starting to untangle the mess which is libxc's helpers for
this.
Also a disaster is Linux's sysfs handling for these. In several places it
makes a heap allocation for a pointer (or two) sized object.
Andrew Cooper (4):
public/version: Change xen_feature_info to have a fixed size
xen/version: Drop compat/kernel.c
xen/version: Drop bogus return values for XENVER_platform_parameters
xen/version: Introduce non-truncating XENVER_* subops
xen/common/Makefile | 2 +-
xen/common/compat/kernel.c | 53 ---------------------
xen/common/kernel.c | 108 ++++++++++++++++++++++++++++++++++++++-----
xen/include/hypercall-defs.c | 2 +-
xen/include/public/version.h | 78 +++++++++++++++++++++++++++++--
xen/include/xlat.lst | 4 ++
xen/xsm/flask/hooks.c | 4 ++
7 files changed, 181 insertions(+), 70 deletions(-)
delete mode 100644 xen/common/compat/kernel.c
--
2.11.0