summaryrefslogtreecommitdiff
path: root/hw/vfio
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2017-10-04 10:51:49 +0200
committerCornelia Huck <cohuck@redhat.com>2017-10-06 10:53:02 +0200
commitbd2aef10653e8ad1b61d9a56d3056b8b83cda389 (patch)
treeaf2ff6e5ab779ebe0a3eea38046c2b2a59968170 /hw/vfio
parent86b5ab390992fd57f3a23764994a7e082bcc2fc4 (diff)
downloadqemu-bd2aef10653e8ad1b61d9a56d3056b8b83cda389.zip
s390x: sort some devices into categories
Add missing categorizations for some s390x devices: - zpci device -> misc - 3270 -> display - vfio-ccw -> misc Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/vfio')
-rw-r--r--hw/vfio/ccw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
index a8baadf57a..76323c6bde 100644
--- a/hw/vfio/ccw.c
+++ b/hw/vfio/ccw.c
@@ -413,6 +413,7 @@ static void vfio_ccw_class_init(ObjectClass *klass, void *data)
dc->props = vfio_ccw_properties;
dc->vmsd = &vfio_ccw_vmstate;
dc->desc = "VFIO-based subchannel assignment";
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
dc->realize = vfio_ccw_realize;
dc->unrealize = vfio_ccw_unrealize;
dc->reset = vfio_ccw_reset;