diff options
author | Gonglei <arei.gonglei@huawei.com> | 2016-12-22 11:12:42 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-01-10 07:02:52 +0200 |
commit | ef69d971cd63cd427e602098837bd09bcddd9410 (patch) | |
tree | 801ce58f4b4c8f7444d2539b1174dbb01c230c3f /hw/virtio/virtio-crypto-pci.c | |
parent | b89f8c80ccdaf6915271df6bb16ef6b292f47f9f (diff) |
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>
Diffstat (limited to 'hw/virtio/virtio-crypto-pci.c')
-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; } |