The patch set make the cryptodev object can be hot plugging in safety, and which are preparing works for virtio-crypto device hotpulgging.
Gonglei (3): cryptodev: introduce a new is_used property cryptodev: wrap the ready flag virtio-crypto: avoid one cryptodev device is used by multiple virtio crypto devices backends/cryptodev-builtin.c | 4 ++++ backends/cryptodev.c | 34 ++++++++++++++++++++++++++++++---- hw/virtio/virtio-crypto.c | 22 +++++++++++++++++++--- include/sysemu/cryptodev.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 7 deletions(-) -- 1.8.3.1