summaryrefslogtreecommitdiffstats
path: root/include/hw/s390x/ap-bridge.h
diff options
context:
space:
mode:
authorTony Krowiak2018-10-10 19:03:06 +0200
committerCornelia Huck2018-10-12 11:32:18 +0200
commita51b31535a8ec13997de29b357f7cc1dcd8a7f9c (patch)
treeee6613e6110172a3f41c92bcefa5ce7b15932031 /include/hw/s390x/ap-bridge.h
parents390x/kvm: enable AP instruction interpretation for guest (diff)
downloadqemu-a51b31535a8ec13997de29b357f7cc1dcd8a7f9c.tar.gz
qemu-a51b31535a8ec13997de29b357f7cc1dcd8a7f9c.tar.xz
qemu-a51b31535a8ec13997de29b357f7cc1dcd8a7f9c.zip
s390x/ap: base Adjunct Processor (AP) object model
Introduces the base object model for virtualizing AP devices. Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com> Tested-by: Pierre Morel <pmorel@linux.ibm.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com> Message-Id: <20181010170309.12045-5-akrowiak@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/hw/s390x/ap-bridge.h')
-rw-r--r--include/hw/s390x/ap-bridge.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/hw/s390x/ap-bridge.h b/include/hw/s390x/ap-bridge.h
new file mode 100644
index 0000000000..470e439a98
--- /dev/null
+++ b/include/hw/s390x/ap-bridge.h
@@ -0,0 +1,19 @@
+/*
+ * ap bridge
+ *
+ * Copyright 2018 IBM Corp.
+ *
+ * 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 HW_S390X_AP_BRIDGE_H
+#define HW_S390X_AP_BRIDGE_H
+
+#define TYPE_AP_BRIDGE "ap-bridge"
+#define TYPE_AP_BUS "ap-bus"
+
+void s390_init_ap(void);
+
+#endif