xen: add runtime parameter access support to hypfs
authorJuergen Gross <jgross@suse.com>
Fri, 29 May 2020 10:18:36 +0000 (12:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 29 May 2020 10:18:36 +0000 (12:18 +0200)
commita659d7cab9afcba337cb60225738fd85ff7aa3da
tree810e8f921208052a9e825662dab6f6f4370f8db4
parent58263ed7713e8132c2bc00bc870399ea31bf2231
xen: add runtime parameter access support to hypfs

Add support to read and modify values of hypervisor runtime parameters
via the hypervisor file system.

As runtime parameters can be modified via a sysctl, too, this path has
to take the hypfs rw_lock as writer.

For custom runtime parameters the connection between the parameter
value and the file system is done via an init function which will set
the initial value (if needed) and the leaf properties.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
docs/misc/hypfs-paths.pandoc
xen/arch/arm/xen.lds.S
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/pv/domain.c
xen/arch/x86/xen.lds.S
xen/common/grant_table.c
xen/common/hypfs.c
xen/common/kernel.c
xen/drivers/char/console.c
xen/include/xen/hypfs.h
xen/include/xen/param.h