On Wed, Mar 01, 2023 at 10:51:17AM +0800, zhenwei pi wrote: > 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" > } > > Signed-off-by: zhenwei pi <pizhen...@bytedance.com> > --- > backends/cryptodev.c | 45 ++++++++++++++++++++++++++++++++++++++++++++ > qapi/cryptodev.json | 44 +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 89 insertions(+)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|