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: Thu, 6 Dec 2018 11:07:53 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 12/6/18 9:58 AM, Philippe Mathieu-Daudé wrote:

         "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).

I first tried 'true' then was curious and tried 'yes' and it worked too...

Ah, so you're using a python wrapper rather than direct QMP, and benefitting from a rather-forgiving parser that turns yes into the correct QMP true over the wire to the actual monitor.

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