aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Ene <sebastianene@google.com>2022-03-13 16:19:50 +0000
committerWill Deacon <will@kernel.org>2022-03-21 13:36:29 +0000
commit1b76b6e1f84ad3b16f846b49fc4779995dea1137 (patch)
tree677d966955075436d70432b5069fc3aeb0047ee3
parent7d4671e5d372a8507c126b59540ce69069e53d7f (diff)
downloadkvmtool-1b76b6e1f84ad3b16f846b49fc4779995dea1137.tar.gz
Add --no-pvtime command line argument
The command line argument disables the stolen time functionality when is specified. Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Sebastian Ene <sebastianene@google.com> Link: https://lore.kernel.org/r/20220313161949.3565171-4-sebastianene@google.com Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--builtin-run.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-run.c b/builtin-run.c
index 9a1a0c1f..7c8be9d8 100644
--- a/builtin-run.c
+++ b/builtin-run.c
@@ -128,6 +128,8 @@ void kvm_run_set_wrapper_sandbox(void)
" rootfs"), \
OPT_STRING('\0', "hugetlbfs", &(cfg)->hugetlbfs_path, "path", \
"Hugetlbfs path"), \
+ OPT_BOOLEAN('\0', "no-pvtime", &(cfg)->no_pvtime, "Disable" \
+ " stolen time"), \
\
OPT_GROUP("Kernel options:"), \
OPT_STRING('k', "kernel", &(cfg)->kernel_filename, "kernel", \