diff mbox series

qapi: Set boolean value correctly in examples

Message ID a21a2b61-2653-a2c9-4478-715e5fb19120@chinatelecom.cn (mailing list archive)
State New, archived
Headers show
Series qapi: Set boolean value correctly in examples | expand

Commit Message

Guoyi Tu Aug. 27, 2021, 9:06 a.m. UTC
Signed-off-by: Guoyi Tu <tugy@chinatelecom.cn>
---
  qapi/trace.json | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Blake Aug. 27, 2021, 8:15 p.m. UTC | #1
On Fri, Aug 27, 2021 at 05:06:27PM +0800, Guoyi Tu wrote:
> 
> Signed-off-by: Guoyi Tu <tugy@chinatelecom.cn>
> ---
>  qapi/trace.json | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/qapi/trace.json b/qapi/trace.json
> index 47c68f04da..eedfded512 100644
> --- a/qapi/trace.json
> +++ b/qapi/trace.json
> @@ -99,7 +99,7 @@
>  # Example:
>  #
>  # -> { "execute": "trace-event-set-state",
> -#      "arguments": { "name": "qemu_memalign", "enable": "true" } }
> +#      "arguments": { "name": "qemu_memalign", "enable": true } }
>  # <- { "return": {} }
>  #
>  ##
> -- 
> 2.25.1
> 
> -- 
> Best Regards,
> Guoyi Tu
>
Markus Armbruster Sept. 1, 2021, 11:38 a.m. UTC | #2
Queued, thanks!
diff mbox series

Patch

diff --git a/qapi/trace.json b/qapi/trace.json
index 47c68f04da..eedfded512 100644
--- a/qapi/trace.json
+++ b/qapi/trace.json
@@ -99,7 +99,7 @@ 
  # Example:
  #
  # -> { "execute": "trace-event-set-state",
-#      "arguments": { "name": "qemu_memalign", "enable": "true" } }
+#      "arguments": { "name": "qemu_memalign", "enable": true } }
  # <- { "return": {} }
  #
  ##