* [Qemu-devel] [PATCH] acpi/vmgenid: change device category to misc
@ 2017-09-05 8:46 Yoni Bettan
0 siblings, 0 replies; only message in thread
From: Yoni Bettan @ 2017-09-05 8:46 UTC (permalink / raw)
To: qemu-devel
Cc: marcel, Yoni Bettan, Michael S. Tsirkin, Igor Mammedov,
Ben Warren
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-05 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05 8:46 [Qemu-devel] [PATCH] acpi/vmgenid: change device category to misc Yoni Bettan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).