diff options
| author | zhenwei pi <pizhenwei@bytedance.com> | 2023-03-01 18:58:40 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-07 12:38:59 -0500 |
| commit | 5dcb0198109429c9f54adce939ad825eabe857b4 (patch) | |
| tree | 7763c0c550c1bc093250cfbb327d3a26bee4834f /include/monitor/hmp.h | |
| parent | bc304a6442e9abc3a7b56bb0b268dedb70ad3448 (diff) | |
| download | focaccia-qemu-5dcb0198109429c9f54adce939ad825eabe857b4.tar.gz focaccia-qemu-5dcb0198109429c9f54adce939ad825eabe857b4.zip | |
cryptodev: Introduce 'query-cryptodev' QMP command
Now we have a QMP command to query crypto devices:
virsh qemu-monitor-command vm '{"execute": "query-cryptodev"}' | jq
{
"return": [
{
"service": [
"akcipher",
"mac",
"hash",
"cipher"
],
"id": "cryptodev1",
"client": [
{
"queue": 0,
"type": "builtin"
}
]
},
{
"service": [
"akcipher"
],
"id": "cryptodev0",
"client": [
{
"queue": 0,
"type": "lkcf"
}
]
}
],
"id": "libvirt-417"
}
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20230301105847.253084-6-pizhenwei@bytedance.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/monitor/hmp.h')
0 files changed, 0 insertions, 0 deletions