]> Git Repo - qemu.git/commit
qmp: add QMP command x-query-virtio-status
authorLaurent Vivier <[email protected]>
Thu, 11 Aug 2022 12:24:40 +0000 (08:24 -0400)
committerMichael S. Tsirkin <[email protected]>
Sun, 9 Oct 2022 20:38:45 +0000 (16:38 -0400)
commit90c066cd6822fb5e892e3daedd0a72b40e33dc30
tree41f689c7bcdb6d2926908b6f830419a60d39b3f9
parenta5ebce385763447d2ab7cb572914713eedea764a
qmp: add QMP command x-query-virtio-status

This new command shows the status of a VirtIODevice, including
its corresponding vhost device's status (if active).

Next patch will improve output by decoding feature bits, including
vhost device's feature bits (backend, protocol, acked, and features).
Also will decode status bits of a VirtIODevice.

[Jonah: From patch v12; added a check to @virtio_device_find to ensure
 synchronicity between @virtio_list and the devices in the QOM
 composition tree.]

Signed-off-by: Laurent Vivier <[email protected]>
Signed-off-by: Jonah Palmer <[email protected]>
Message-Id: <1660220684[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/virtio-stub.c
hw/virtio/virtio.c
qapi/virtio.json
This page took 0.024525 seconds and 4 git commands to generate.