]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/s390x/ipl.c
s390x/ipl: The s390-ipl device is not hot-pluggable
[mirror_qemu.git] / hw / s390x / ipl.c
index cc360031ef28e821ef85ae3ef2ce824872ef189e..0d06fc12b63ca8392ef39def0a189990607bc4fc 100644 (file)
@@ -442,6 +442,8 @@ static void s390_ipl_class_init(ObjectClass *klass, void *data)
     dc->reset = s390_ipl_reset;
     dc->vmsd = &vmstate_ipl;
     set_bit(DEVICE_CATEGORY_MISC, dc->categories);
+    /* Reason: Loads the ROMs and thus can only be used one time - internally */
+    dc->user_creatable = false;
 }
 
 static const TypeInfo s390_ipl_info = {