mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 22:11:53 -06:00
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>
This commit is contained in:
parent
b89f8c80cc
commit
ef69d971cd
1 changed files with 0 additions and 1 deletions
|
@ -53,7 +53,6 @@ static void virtio_crypto_pci_class_init(ObjectClass *klass, void *data)
|
||||||
k->realize = virtio_crypto_pci_realize;
|
k->realize = virtio_crypto_pci_realize;
|
||||||
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
||||||
dc->props = virtio_crypto_pci_properties;
|
dc->props = virtio_crypto_pci_properties;
|
||||||
dc->hotpluggable = false;
|
|
||||||
pcidev_k->class_id = PCI_CLASS_OTHERS;
|
pcidev_k->class_id = PCI_CLASS_OTHERS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue