[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 01/10] sysemu: Introduce qemu_security_policy_taint() API
- To: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>, qemu-devel@xxxxxxxxxx
- From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
- Date: Thu, 9 Sep 2021 12:01:27 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@xxxxxxxxxx
- Cc: Peter Maydell <peter.maydell@xxxxxxxxxx>, Thomas Huth <thuth@xxxxxxxxxx>, Daniel P. Berrangé <berrange@xxxxxxxxxx>, Prasad J Pandit <pjp@xxxxxxxxxxxxxxxxx>, qemu-block@xxxxxxxxxx, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>, Philippe Mathieu-Daudé <f4bug@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Eric Blake <eblake@xxxxxxxxxx>, Eduardo Habkost <ehabkost@xxxxxxxxxx>
- Delivery-date: Thu, 09 Sep 2021 10:01:40 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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
|