diff options
| author | Gonglei | 2016-12-22 04:12:42 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-01-10 06:02:52 +0100 |
| commit | ef69d971cd63cd427e602098837bd09bcddd9410 (patch) | |
| tree | 801ce58f4b4c8f7444d2539b1174dbb01c230c3f | |
| parent | virtio-crypto: avoid one cryptodev device is used by multiple virtio crypto d... (diff) | |
| download | qemu-ef69d971cd63cd427e602098837bd09bcddd9410.tar.gz qemu-ef69d971cd63cd427e602098837bd09bcddd9410.tar.xz qemu-ef69d971cd63cd427e602098837bd09bcddd9410.zip | |
virtio-crypto-pci: tag virtio-crypto device hot pluggable
After resolving the relationship with cryptodev backend,
the virtio crypto device supports hotplug now.
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>
| -rw-r--r-- | hw/virtio/virtio-crypto-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio/virtio-crypto-pci.c b/hw/virtio/virtio-crypto-pci.c index 14bd12c634..422aca3a98 100644 --- a/hw/virtio/virtio-crypto-pci.c +++ b/hw/virtio/virtio-crypto-pci.c @@ -53,7 +53,6 @@ static void virtio_crypto_pci_class_init(ObjectClass *klass, void *data) k->realize = virtio_crypto_pci_realize; set_bit(DEVICE_CATEGORY_MISC, dc->categories); dc->props = virtio_crypto_pci_properties; - dc->hotpluggable = false; pcidev_k->class_id = PCI_CLASS_OTHERS; } |
