On 09/09/21 01:20, Philippe Mathieu-Daudé wrote:
+static QemuOptsList qemu_security_policy_opts = {
+ .name = "security-policy",
+ .implied_opt_name = "policy",
+ .merge_lists = true,
+ .head = QTAILQ_HEAD_INITIALIZER(qemu_security_policy_opts.head),
+ .desc = {
+ {
+ .name = "policy",
+ .type = QEMU_OPT_STRING,
+ },
+ { /* end of list */ }
+ },
+};
No new command line options please. You could rename -compat-policy to just -policy, and make this a "security" suboption.
Paolo
