Skip to contentSkip to conversation

acpi/vmgenid: change device category to misc

PATCH New Yoni Bettan 1 participant 1 message Sep 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi/vmgenid: change device category to misc

Moved vmgenid from uncategorized to misc category in QEMU help menu

---
 hw/acpi/vmgenid.c | 1 +
 1 file changed, 1 insertion(+)
hw/acpi/vmgenid.c +1 -0
index a32b847fe0..876723a4ce 100644
@@ -240,6 +240,7 @@ static void vmgenid_device_class_init(ObjectClass *klass, void *data)
     dc->realize = vmgenid_realize;
     dc->hotpluggable = false;
     dc->props = vmgenid_properties;
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
 
     object_class_property_add_str(klass, VMGENID_GUID, NULL,
                                   vmgenid_set_guid, NULL);
Signature · 1 line
2.13.5