mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-10-28 14:04:39 +08:00
system: report machine security status in help output
When '-machine help' is given, report the security status of each machine. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
1 parent
cdf00fb2f6
commit
3fa876d489
1 file changed
+3
-2
+3
-2
@@ -1586,9 +1586,10 @@ static void machine_help_func(const QDict *qdict)
|
||||
if (mc->alias) {
|
||||
printf("%-20s %s (alias of %s)\n", mc->alias, mc->desc, mc->name);
|
||||
}
|
||||
printf("%-20s %s%s%s\n", mc->name, mc->desc,
|
||||
printf("%-20s %s%s%s%s\n", mc->name, mc->desc,
|
||||
mc->is_default ? " (default)" : "",
|
||||
mc->deprecation_reason ? " (deprecated)" : "");
|
||||
mc->deprecation_reason ? " (deprecated)" : "",
|
||||
object_class_is_secure(OBJECT_CLASS(mc)) ? " (secure)" : "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user