diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-11-06 12:50:32 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-11-16 17:46:53 +0200 |
commit | b948bb55dac527ae6b0c5e6dc69d00866a3a6fee (patch) | |
tree | 0bdb6f8579255c229d8dbac669de90b529412dc5 /hw/misc | |
parent | 7b8be49d36fc0a48e41ede7ba7e046c1db2b89bc (diff) | |
download | qemu-b948bb55dac527ae6b0c5e6dc69d00866a3a6fee.zip qemu-b948bb55dac527ae6b0c5e6dc69d00866a3a6fee.tar.gz qemu-b948bb55dac527ae6b0c5e6dc69d00866a3a6fee.tar.bz2 |
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>
Diffstat (limited to 'hw/misc')
-rw-r--r-- | hw/misc/vmcoreinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c index a618e12..31db57a 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 = { |