aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/dasd-ipl.h
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.ibm.com>2019-04-04 10:34:34 -0400
committerThomas Huth <thuth@redhat.com>2019-04-12 12:40:35 +0200
commitefa47d36da89f4b23c315a7cc085fab0d15eb47c (patch)
tree69bee6340357bcd7b5684970a232bb786032e94f /pc-bios/s390-ccw/dasd-ipl.h
parent69333c36dc85b84b021766747cffc2b53df93ae8 (diff)
s390-bios: Support booting from real dasd device
Allows guest to boot from a vfio configured real dasd device. Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <1554388475-18329-16-git-send-email-jjherne@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'pc-bios/s390-ccw/dasd-ipl.h')
-rw-r--r--pc-bios/s390-ccw/dasd-ipl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pc-bios/s390-ccw/dasd-ipl.h b/pc-bios/s390-ccw/dasd-ipl.h
new file mode 100644
index 0000000000..c394828906
--- /dev/null
+++ b/pc-bios/s390-ccw/dasd-ipl.h
@@ -0,0 +1,16 @@
+/*
+ * S390 IPL (boot) from a real DASD device via vfio framework.
+ *
+ * Copyright (c) 2019 Jason J. Herne <jjherne@us.ibm.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or (at
+ * your option) any later version. See the COPYING file in the top-level
+ * directory.
+ */
+
+#ifndef DASD_IPL_H
+#define DASD_IPL_H
+
+void dasd_ipl(SubChannelId schid, uint16_t cutype);
+
+#endif /* DASD_IPL_H */