|
|
4a2fec |
From a65cfbc7d09d1c55d80e6d70a45f163e89437ccf Mon Sep 17 00:00:00 2001
|
|
|
4a2fec |
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
|
4a2fec |
Date: Mon, 27 Nov 2017 22:51:10 +0100
|
|
|
4a2fec |
Subject: [PATCH 12/21] vmcoreinfo: put it in the 'misc' device category
|
|
|
4a2fec |
MIME-Version: 1.0
|
|
|
4a2fec |
Content-Type: text/plain; charset=UTF-8
|
|
|
4a2fec |
Content-Transfer-Encoding: 8bit
|
|
|
4a2fec |
|
|
|
4a2fec |
RH-Author: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
4a2fec |
Message-id: <20171127225111.24518-9-marcandre.lureau@redhat.com>
|
|
|
4a2fec |
Patchwork-id: 77927
|
|
|
4a2fec |
O-Subject: [RHV7.5 qemu-kvm-rhev PATCH 8/9] vmcoreinfo: put it in the 'misc' device category
|
|
|
4a2fec |
Bugzilla: 1398633
|
|
|
4a2fec |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Andrew Jones <drjones@redhat.com>
|
|
|
4a2fec |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
4a2fec |
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
4a2fec |
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
4a2fec |
|
|
|
4a2fec |
(cherry picked from commit b948bb55dac527ae6b0c5e6dc69d00866a3a6fee)
|
|
|
4a2fec |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
4a2fec |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
4a2fec |
---
|
|
|
4a2fec |
hw/misc/vmcoreinfo.c | 1 +
|
|
|
4a2fec |
1 file changed, 1 insertion(+)
|
|
|
4a2fec |
|
|
|
4a2fec |
diff --git a/hw/misc/vmcoreinfo.c b/hw/misc/vmcoreinfo.c
|
|
|
4a2fec |
index a618e12..31db57a 100644
|
|
|
4a2fec |
--- a/hw/misc/vmcoreinfo.c
|
|
|
4a2fec |
+++ b/hw/misc/vmcoreinfo.c
|
|
|
4a2fec |
@@ -79,6 +79,7 @@ static void vmcoreinfo_device_class_init(ObjectClass *klass, void *data)
|
|
|
4a2fec |
dc->vmsd = &vmstate_vmcoreinfo;
|
|
|
4a2fec |
dc->realize = vmcoreinfo_realize;
|
|
|
4a2fec |
dc->hotpluggable = false;
|
|
|
4a2fec |
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
|
|
4a2fec |
}
|
|
|
4a2fec |
|
|
|
4a2fec |
static const TypeInfo vmcoreinfo_device_info = {
|
|
|
4a2fec |
--
|
|
|
4a2fec |
1.8.3.1
|
|
|
4a2fec |
|