From: Yoni Bettan Date: Tue, 5 Sep 2017 08:46:34 +0000 (+0300) Subject: acpi/vmgenid: change device category to misc X-Git-Tag: v2.11.0-rc0~116^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b4a775188cbe411d9ce7073ea1a24b72848327e;p=thirdparty%2Fqemu.git acpi/vmgenid: change device category to misc Moved vmgenid from uncategorized to misc category in QEMU help menu Signed-off-by: Yoni Bettan Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c index a32b847fe0d..876723a4ce8 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);