[Qemu-devel] [PATCH] acpi/vmgenid: change device category to misc

Yoni Bettan posted 1 patch 8 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170905084634.13182-1-ybettan@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
hw/acpi/vmgenid.c | 1 +
1 file changed, 1 insertion(+)
[Qemu-devel] [PATCH] acpi/vmgenid: change device category to misc
Posted by Yoni Bettan 8 years, 5 months ago
Moved vmgenid from uncategorized to misc category in QEMU help menu

Signed-off-by: Yoni Bettan <ybettan@redhat.com>
---
 hw/acpi/vmgenid.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c
index a32b847fe0..876723a4ce 100644
--- a/hw/acpi/vmgenid.c
+++ b/hw/acpi/vmgenid.c
@@ -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);
-- 
2.13.5