vmcoreinfo: put it in the 'misc' device category
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
7b8be49d36
commit
b948bb55da
|
@ -79,6 +79,7 @@ static void vmcoreinfo_device_class_init(ObjectClass *klass, void *data)
|
||||||
dc->vmsd = &vmstate_vmcoreinfo;
|
dc->vmsd = &vmstate_vmcoreinfo;
|
||||||
dc->realize = vmcoreinfo_realize;
|
dc->realize = vmcoreinfo_realize;
|
||||||
dc->hotpluggable = false;
|
dc->hotpluggable = false;
|
||||||
|
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo vmcoreinfo_device_info = {
|
static const TypeInfo vmcoreinfo_device_info = {
|
||||||
|
|
Loading…
Reference in New Issue