]> Git Repo - qemu.git/commitdiff
vmcoreinfo: put it in the 'misc' device category
authorMarc-André Lureau <[email protected]>
Mon, 6 Nov 2017 11:50:32 +0000 (12:50 +0100)
committerMichael S. Tsirkin <[email protected]>
Thu, 16 Nov 2017 15:46:53 +0000 (17:46 +0200)
Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/misc/vmcoreinfo.c

index a618e12677d345e38e0758d238326ca07efbd365..31db57ab442a8a50f81ca49e8c7ca98770818ace 100644 (file)
@@ -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 = {
This page took 0.027351 seconds and 4 git commands to generate.