qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6 08/11] authz: add QAuthZList object type for


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v6 08/11] authz: add QAuthZList object type for an access control list
Date: Wed, 7 Nov 2018 16:38:18 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 11/7/18 4:23 PM, Marc-André Lureau wrote:

+##
+# @QAuthZListRuleListHack:
+#
+# Not exposed via QMP; hack to generate QAuthZListRuleList
+# for use internally by the code.

Well, this will probably end in the documentation (it's already in the
.json, which is one source of documentation ;).

What about adding a 'gen-list' field, or a 'pragma' listing the
structs that should have list code generated?

We've used this hack several times in the past, but indeed there might be nicer design approaches to consider now that we have pragma listings. But I don't see that as holding up this series.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]