* [Qemu-devel] [PATCH] vmcoreinfo: put it in the 'misc' device category
@ 2017-11-06 11:50 Marc-André Lureau
0 siblings, 0 replies; only message in thread
From: Marc-André Lureau @ 2017-11-06 11:50 UTC (permalink / raw)
To: qemu-devel; +Cc: mst, Marc-André Lureau
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
hw/misc/vmcoreinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c
index a618e12677..31db57ab44 100644
--- a/hw/misc/vmcoreinfo.c
+++ b/hw/misc/vmcoreinfo.c
@@ -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 = {
--
2.15.0.rc0.40.gaefcc5f6f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-06 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 11:50 [Qemu-devel] [PATCH] vmcoreinfo: put it in the 'misc' device category Marc-André Lureau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.