Skip to content

Commit

Permalink
virtio-crypto-pci: tag virtio-crypto device hot pluggable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gongleiarei authored and mstsirkin committed Jan 10, 2017
1 parent b89f8c8 commit ef69d97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/virtio/virtio-crypto-pci.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit ef69d97

Please sign in to comment.