Blame SOURCES/kvm-vmcoreinfo-put-it-in-the-misc-device-category.patch

5d360b
From b616fce364cb20904fb53ac9744abba20180c322 Mon Sep 17 00:00:00 2001
5d360b
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
5d360b
Date: Wed, 13 Dec 2017 13:38:44 +0100
5d360b
Subject: [PATCH 13/41] vmcoreinfo: put it in the 'misc' device category
5d360b
MIME-Version: 1.0
5d360b
Content-Type: text/plain; charset=UTF-8
5d360b
Content-Transfer-Encoding: 8bit
5d360b
5d360b
RH-Author: Marc-André Lureau <marcandre.lureau@redhat.com>
5d360b
Message-id: <20171213133912.26176-14-marcandre.lureau@redhat.com>
5d360b
Patchwork-id: 78363
5d360b
O-Subject: [RHEL-7.5 qemu-kvm PATCH v3 13/41] vmcoreinfo: put it in the 'misc' device category
5d360b
Bugzilla: 1411490
5d360b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
5d360b
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
5d360b
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
5d360b
5d360b
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
5d360b
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
5d360b
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
5d360b
5d360b
(cherry picked from commit b948bb55dac527ae6b0c5e6dc69d00866a3a6fee)
5d360b
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
5d360b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
5d360b
---
5d360b
 hw/misc/vmcoreinfo.c | 1 +
5d360b
 1 file changed, 1 insertion(+)
5d360b
5d360b
diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c
5d360b
index 1bf6735..fa5f610 100644
5d360b
--- a/hw/misc/vmcoreinfo.c
5d360b
+++ b/hw/misc/vmcoreinfo.c
5d360b
@@ -79,6 +79,7 @@ static void vmcoreinfo_device_class_init(ObjectClass *klass, void *data)
5d360b
 
5d360b
     dc->vmsd = &vmstate_vmcoreinfo;
5d360b
     dc->realize = vmcoreinfo_realize;
5d360b
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
5d360b
 }
5d360b
 
5d360b
 static const TypeInfo vmcoreinfo_device_info = {
5d360b
-- 
5d360b
1.8.3.1
5d360b