[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 7/8] qmp: add QMP command x-debug-virtio-queue-element
From: |
Eric Blake |
Subject: |
Re: [PATCH v7 7/8] qmp: add QMP command x-debug-virtio-queue-element |
Date: |
Thu, 7 Oct 2021 08:27:04 -0500 |
User-agent: |
NeoMutt/20210205-818-e2615c |
On Tue, Oct 05, 2021 at 12:45:52PM -0400, Jonah Palmer wrote:
> From: Laurent Vivier <lvivier@redhat.com>
>
> This new command shows the information of a VirtQueue element.
>
> Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
> ---
> +++ b/qapi/virtio.json
> +##
> +# @VirtioRingAvail:
> +#
> +# @flags: VRingAvail flags
> +#
> +# @idx: VRingAvail idx
Is it worth being consistent...
> +##
> +# @VirtioQueueElement:
> +#
> +# @device-name: VirtIODevice name (for reference)
> +#
> +# @index: index of the element in the queue
...and spelling things 'index' everywhere instead of sometimes
abbreviating?
But overall, it looks like you did a nice job of making the command
machine-parseable, while still leaving the flexibility to alter it as
needed since it is only for developers under the x-debug- namespace.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PATCH v7 0/8] hmp,qmp: Add commands to introspect virtio devices, Jonah Palmer, 2021/10/05
- [PATCH v7 2/8] virtio: add vhost support for virtio devices, Jonah Palmer, 2021/10/05
- [PATCH v7 4/8] qmp: add QMP command x-debug-virtio-status, Jonah Palmer, 2021/10/05
- [PATCH v7 1/8] virtio: drop name parameter for virtio_init(), Jonah Palmer, 2021/10/05
- [PATCH v7 5/8] qmp: decode feature & status bits in virtio-status, Jonah Palmer, 2021/10/05
- [PATCH v7 7/8] qmp: add QMP command x-debug-virtio-queue-element, Jonah Palmer, 2021/10/05
- Re: [PATCH v7 7/8] qmp: add QMP command x-debug-virtio-queue-element,
Eric Blake <=
- [PATCH v7 3/8] qmp: add QMP command x-debug-query-virtio, Jonah Palmer, 2021/10/05
- [PATCH v7 8/8] hmp: add virtio commands, Jonah Palmer, 2021/10/05
- [PATCH v7 6/8] qmp: add QMP commands for virtio/vhost queue-status, Jonah Palmer, 2021/10/05