]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/misc/ivshmem.c
devices: Associate devices to their logical category
[thirdparty/qemu.git] / hw / misc / ivshmem.c
index 4a74856c9515d1fcb95a80f895a85762f7911030..2838866f4500d1a9be68914b73856b5c425f0395 100644 (file)
@@ -821,6 +821,7 @@ static void ivshmem_class_init(ObjectClass *klass, void *data)
     k->class_id = PCI_CLASS_MEMORY_RAM;
     dc->reset = ivshmem_reset;
     dc->props = ivshmem_properties;
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
 }
 
 static const TypeInfo ivshmem_info = {