]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/misc/pci-testdev.c
devices: Associate devices to their logical category
[thirdparty/qemu.git] / hw / misc / pci-testdev.c
index d69ff3364d11781de37d7eef86cd33284e9f893d..ca53b3f500ba3e2dc63bc950c4c88e9558241706 100644 (file)
@@ -315,6 +315,7 @@ static void pci_testdev_class_init(ObjectClass *klass, void *data)
     k->revision = 0x00;
     k->class_id = PCI_CLASS_OTHERS;
     dc->desc = "PCI Test Device";
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
     dc->reset = qdev_pci_testdev_reset;
 }