|
From: | Eric Blake |
Subject: | Re: [RFC v3 1/6] qmp: add QMP command x-debug-query-virtio |
Date: | Thu, 7 May 2020 10:38:24 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/7/20 6:49 AM, Laurent Vivier wrote:
This new command lists all the instances of VirtIODevice with their path and virtio type Signed-off-by: Laurent Vivier <address@hidden> ---
+++ b/qapi/virtio.json @@ -0,0 +1,68 @@ +## +# = Virtio devices +## + +## +# @VirtioType: +# +# An enumeration of Virtio device types. +# +# Since: 5.1.0
Inconsistent on x.y.z vs.
+## +{ 'enum': 'VirtioType', + 'data': [ 'unknown', 'virtio-9p', 'virtio-blk', 'virtio-serial', + 'virtio-gpu', 'virtio-input', 'virtio-net', 'virtio-scsi', + 'vhost-user-fs', 'vhost-vsock', 'virtio-balloon', 'virtio-crypto', + 'virtio-iommu', 'virtio-pmem', 'virtio-rng' ] +} + +## +# @VirtioInfo: +# +# Information about a given VirtIODevice +# +# @path: VirtIO device canonical path. +# +# @type: VirtIO device type. +# +# Since: 5.1
x.y. Most of our QAPI seems to have settled on just x.y these days.The x-debug- prefix is nice; it gives us more flexibility to mess with this later as needed.
Otherwise: Reviewed-by: Eric Blake <address@hidden> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |