projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b8be49
)
vmcoreinfo: put it in the 'misc' device category
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 6 Nov 2017 11:50:32 +0000
(12:50 +0100)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 16 Nov 2017 15:46:53 +0000
(17:46 +0200)
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>
hw/misc/vmcoreinfo.c
patch
|
blob
|
history
diff --git
a/hw/misc/vmcoreinfo.c
b/hw/misc/vmcoreinfo.c
index a618e12677d345e38e0758d238326ca07efbd365..31db57ab442a8a50f81ca49e8c7ca98770818ace 100644
(file)
--- 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 = {