On Wed, Mar 01, 2023 at 06:58:44PM +0800, zhenwei pi wrote: > Account OPS/BPS for crypto device, this will be used for 'query-stats' > QEMU monitor command and QoS in the next step. > > Note that a crypto device may support symmetric mode, asymmetric mode, > both symmetric and asymmetric mode. So we use two structure to > describe the statistics of a crypto device. > > Signed-off-by: zhenwei pi <pizhen...@bytedance.com> > --- > backends/cryptodev.c | 68 +++++++++++++++++++++++++++++++++++--- > include/sysemu/cryptodev.h | 49 +++++++++++++++++++++++++++ > 2 files changed, 112 insertions(+), 5 deletions(-)
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 :|