qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 09/11] authz: add QAuthZListFile object type


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v7 09/11] authz: add QAuthZListFile object type for a file access control list
Date: Wed, 5 Dec 2018 15:55:28 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 12/5/18 11:23 AM, Philippe Mathieu-Daudé wrote:
On 11/30/18 3:06 PM, Daniel P. Berrangé wrote:
Add a QAuthZListFile object type that implements the QAuthZ interface. This
built-in implementation is a proxy around the QAuthZList object type,
initializing it from an external file, and optionally, automatically
reloading it whenever it changes.

To create an instance of this object via the QMP monitor, the syntax
used would be:

       {
         "execute": "object-add",
         "arguments": {
           "qom-type": "authz-list-file",
           "id": "authz0",
           "parameters": {

"parameters" -> "props"

             "filename": "/etc/qemu/vnc.acl",
            "refresh": "yes"

I had to use "refresh": yes (value unquoted) to avoid:

Do you mean "refresh":true? (bare yes is not valid JSON, but bare true is the correct way for a JSON bool).


--
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]