virtio-crypto: set capacity of algorithms supported
commit050652d9be4c723da2a36f2e9ca5be20e27e93b7
authorGonglei <arei.gonglei@huawei.com>
Fri, 28 Oct 2016 08:33:26 +0000 (28 16:33 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:08 +0000 (1 19:21 +0200)
treecd783d0b37ca28a648f1a3e0acdbbcd62746afc6
parentb307d308c9a6256610bdaf12a6fea0cfa18df6f6
virtio-crypto: set capacity of algorithms supported

Expose the capacity of algorithms supported by
virtio crypto device to the frontend driver using
pci configuration space.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-crypto.c
include/hw/virtio/virtio-crypto.h