aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2016-12-22 11:12:42 +0800
committerMichael S. Tsirkin <mst@redhat.com>2017-01-10 07:02:52 +0200
commitef69d971cd63cd427e602098837bd09bcddd9410 (patch)
tree801ce58f4b4c8f7444d2539b1174dbb01c230c3f /hw
parentb89f8c80ccdaf6915271df6bb16ef6b292f47f9f (diff)
downloadqemu-ef69d971cd63cd427e602098837bd09bcddd9410.zip
qemu-ef69d971cd63cd427e602098837bd09bcddd9410.tar.gz
qemu-ef69d971cd63cd427e602098837bd09bcddd9410.tar.bz2
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')
-rw-r--r--hw/virtio/virtio-crypto-pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio/virtio-crypto-pci.c b/hw/virtio/virtio-crypto-pci.c
index 14bd12c..422aca3 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;
}