]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/virtio/virtio-crypto.c
cryptodev: wrap the ready flag
authorGonglei <arei.gonglei@huawei.com>
Thu, 22 Dec 2016 03:12:39 +0000 (11:12 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 05:02:52 +0000 (07:02 +0200)
commit6138dbda5a4bfa6c724fd04b9225181d3a3c85a7
treea730b7934ba7b92adbddea16d8dcb7969446b144
parent46fd17054548b15b3b8a5991492f5f0dc37957d4
cryptodev: wrap the ready flag

The ready flag should be set by the children of
cryptodev backend interface. Warp the setter/getter
functions for it.

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>
backends/cryptodev-builtin.c
backends/cryptodev.c
hw/virtio/virtio-crypto.c
include/sysemu/cryptodev.h