]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
virtio-crypto-pci: tag virtio-crypto device hot pluggable
authorGonglei <arei.gonglei@huawei.com>
Thu, 22 Dec 2016 03:12:42 +0000 (11:12 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 05:02:52 +0000 (07:02 +0200)
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>
hw/virtio/virtio-crypto-pci.c

index 14bd12c6341eef805337f2295f3a33af771c8822..422aca3a989a7e8adec39811b587dc6983429ecd 100644 (file)
@@ -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;
 }