]> Git Repo - qemu.git/blobdiff - hw/s390x/3270-ccw.c
use g_path_get_basename instead of basename
[qemu.git] / hw / s390x / 3270-ccw.c
index eaca28e224aaf05a2b984148bd47a6153d3ef38e..3af13ea0277d8ec8c888bda79350f77251f085dc 100644 (file)
@@ -104,7 +104,7 @@ static void emulated_ccw_3270_realize(DeviceState *ds, Error **errp)
     SubchDev *sch;
     Error *err = NULL;
 
-    sch = css_create_sch(cdev->devno, true, cbus->squash_mcss, errp);
+    sch = css_create_sch(cdev->devno, cbus->squash_mcss, errp);
     if (!sch) {
         return;
     }
@@ -160,6 +160,7 @@ static void emulated_ccw_3270_class_init(ObjectClass *klass, void *data)
     dc->bus_type = TYPE_VIRTUAL_CSS_BUS;
     dc->realize = emulated_ccw_3270_realize;
     dc->hotpluggable = false;
+    set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
 }
 
 static const TypeInfo emulated_ccw_3270_info = {
This page took 0.020513 seconds and 4 git commands to generate.