]> git.proxmox.com Git - mirror_qemu.git/commitdiff
acpi/vmgenid: change device category to misc
authorYoni Bettan <ybettan@redhat.com>
Tue, 5 Sep 2017 08:46:34 +0000 (11:46 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 8 Sep 2017 13:15:17 +0000 (16:15 +0300)
Moved vmgenid from uncategorized to misc category in QEMU help menu

Signed-off-by: Yoni Bettan <ybettan@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/vmgenid.c

index a32b847fe0dfb41b498ae721736f3ccb42fadfdd..876723a4ce82ae3998325a69ac76f295563a0a02 100644 (file)
@@ -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);