[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 08/16] qapi: fix example of NIC_RX_FILTER_CHANGED event
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v1 08/16] qapi: fix example of NIC_RX_FILTER_CHANGED event |
Date: |
Wed, 31 Aug 2022 13:37:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Victor Toso <victortoso@redhat.com> writes:
> Example output has an extra ending curly bracket. Fix it.
>
> Problem was noticed when trying to load the example into python's json
> library.
>
> Signed-off-by: Victor Toso <victortoso@redhat.com>
> ---
> qapi/net.json | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qapi/net.json b/qapi/net.json
> index 75ba2cb989..a8ad698e7d 100644
> --- a/qapi/net.json
> +++ b/qapi/net.json
> @@ -756,7 +756,7 @@
> # <- { "event": "NIC_RX_FILTER_CHANGED",
> # "data": { "name": "vnet0",
> # "path": "/machine/peripheral/vnet0/virtio-backend" },
> -# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } }
> +# "timestamp": { "seconds": 1368697518, "microseconds": 326866 }
> # }
> #
> ##
Again, for local consistency:
diff --git a/qapi/net.json b/qapi/net.json
index 75ba2cb989..dd088c09c5 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -757,7 +757,6 @@
# "data": { "name": "vnet0",
# "path": "/machine/peripheral/vnet0/virtio-backend" },
# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } }
-# }
#
##
{ 'event': 'NIC_RX_FILTER_CHANGED',
- [PATCH v1 01/16] qapi: fix example of query-ballon command, (continued)
- [PATCH v1 04/16] qapi: fix example of query-rocker-of-dpa-flows command, Victor Toso, 2022/08/30
- [PATCH v1 07/16] qapi: fix example of BLOCK_JOB_READY event, Victor Toso, 2022/08/30
- [PATCH v1 08/16] qapi: fix example of NIC_RX_FILTER_CHANGED event, Victor Toso, 2022/08/30
- Re: [PATCH v1 08/16] qapi: fix example of NIC_RX_FILTER_CHANGED event,
Markus Armbruster <=
- [PATCH v1 09/16] qapi: fix example of DEVICE_UNPLUG_GUEST_ERROR event, Victor Toso, 2022/08/30
- [PATCH v1 06/16] qapi: fix example of query-blockstats command, Victor Toso, 2022/08/30
- [PATCH v1 11/16] qapi: fix examples of blockdev-add with qcow2, Victor Toso, 2022/08/30
- [PATCH v1 12/16] qapi: fix example of blockdev-add command, Victor Toso, 2022/08/30
[PATCH v1 14/16] qapi: fix example of query-migrate command, Victor Toso, 2022/08/30