Laurent Vivier 90c066cd68 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 <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-3-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-10-09 16:38:45 -04:00
..
2022-09-27 07:32:31 +02:00
2022-06-24 17:07:06 +02:00
2020-08-03 08:28:08 +02:00
2022-06-15 16:43:42 +01:00
2022-05-16 07:31:26 +02:00
2022-03-22 14:46:17 +04:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2021-11-09 18:21:19 +01:00
2022-09-07 15:10:13 +02:00
2021-01-13 10:21:17 +01:00