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>
This commit is contained in:
Juergen Gross authored and Jan Beulich committed 2020-05-29 12:18:36 +02:00
1 parent 58263ed771
commit a659d7cab9
11 files changed
+372 -25

No files matched your search

+9
View File
@@ -154,3 +154,12 @@ The major version of Xen.
#### /buildinfo/version/minor = INTEGER
The minor version of Xen.
#### /params/
A directory of runtime parameters.
#### /params/*
The individual parameters. The description of the different parameters can be
found in `docs/misc/xen-command-line.pandoc`.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.