|
|
(5 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| The 3270 is the classic 'green-screen' console (see [https://en.wikipedia.org/wiki/IBM_3270 the wikipedia article]).
| | This information has been moved into the [https://www.qemu.org/docs/master/system/s390x/3270.html 3270 devices] chapter of the [https://www.qemu.org/docs/master/system/ QEMU System Emulation Users Guide]. |
| | |
| == Code ==
| |
| * Initial posting: [https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg05216.html]
| |
| * Git: [https://github.com/cohuck/qemu/tree/3270]
| |
| | |
| == Implementation ==
| |
| | |
| The 3270 data stream is not implemented within QEMU; the code only implements tn3270 (a telnet extension; see RFCs 854 and 1576) and leaves the heavy lifting to an emulator (currently only tested with x3270).
| |
| | |
| == Setup ==
| |
| | |
| This example setup is done with a Linux guest running in an s390x-ccw-virtio machine and the x3270 emulator running on a local Linux machine.
| |
| | |
| === Prereqs ===
| |
| | |
| ==== Guest ====
| |
| | |
| * Make sure that 3270 support is enabled in the kernel. You'll need CONFIG_TN3270 and at least one of CONFIG_TN3270_TTY (for additional ttys) or CONFIG_TN3270_CONSOLE (for a 3270 console).
| |
| | |
| ==== Host ====
| |
| | |
| * You need to apply the patches or use the [https://github.com/cohuck/qemu/tree/3270 github branch] (until the code has been integrated).
| |
| | |
| ==== Other ====
| |
| | |
| * You need to have a copy of the [http://x3270.bgp.nu/ x3270 emulator] (should be packaged for most Linux distributions). Other 3270 emulators have not been tested.
| |
| | |
| === Starting QEMU ===
| |
| | |
| === Guest Configuration ===
| |
| | |
| ==== Using 3270 as an additional tty ====
| |
| | |
| ==== Using 3270 as the console ====
| |
| | |
| === Starting the emulator ===
| |
| | |
| == Restrictions ==
| |
Latest revision as of 08:10, 16 July 2020