summaryrefslogtreecommitdiffstats
path: root/hw/s390x/s390-pci-bus.c
diff options
context:
space:
mode:
authorCornelia Huck2017-10-04 10:51:49 +0200
committerCornelia Huck2017-10-06 10:53:02 +0200
commitbd2aef10653e8ad1b61d9a56d3056b8b83cda389 (patch)
treeaf2ff6e5ab779ebe0a3eea38046c2b2a59968170 /hw/s390x/s390-pci-bus.c
parents390x/tcg: make STFL store into the lowcore (diff)
downloadqemu-bd2aef10653e8ad1b61d9a56d3056b8b83cda389.tar.gz
qemu-bd2aef10653e8ad1b61d9a56d3056b8b83cda389.tar.xz
qemu-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/s390x/s390-pci-bus.c')
-rw-r--r--hw/s390x/s390-pci-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-pci-bus.c b/hw/s390x/s390-pci-bus.c
index 3b9965fde0..96116b7d1e 100644
--- a/hw/s390x/s390-pci-bus.c
+++ b/hw/s390x/s390-pci-bus.c
@@ -1032,6 +1032,7 @@ static void s390_pci_device_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->desc = "zpci device";
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
dc->reset = s390_pci_device_reset;
dc->bus_type = TYPE_S390_PCI_BUS;
dc->realize = s390_pci_device_realize;