Skip to contentSkip to conversation

vmcoreinfo: put it in the 'misc' device category

PATCH New Marc-André Lureau 1 participant 1 message Nov 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmcoreinfo: put it in the 'misc' device category

---
 hw/misc/vmcoreinfo.c | 1 +
 1 file changed, 1 insertion(+)
hw/misc/vmcoreinfo.c +1 -0
index a618e12677..31db57ab44 100644
@@ -79,6 +79,7 @@ static void vmcoreinfo_device_class_init(ObjectClass *klass, void *data)
     dc->vmsd = &vmstate_vmcoreinfo;
     dc->realize = vmcoreinfo_realize;
     dc->hotpluggable = false;
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
 }
 
 static const TypeInfo vmcoreinfo_device_info = {
Signature · 1 line
2.15.0.rc0.40.gaefcc5f6f