Documentation/Platforms/S390X: Difference between revisions

From QEMU
(add some more details)
Line 1: Line 1:
= QEMU s390x Guest Support =
= QEMU s390x Guest Support =


QEMU supports running s390x (aka zSystems aka mainframe) guests via the s390-virtio-ccw machine.
QEMU supports running s390x (aka zSystems aka mainframe) guests via the s390-virtio-ccw machine, with kvm or tcg acceleration.


== Supported Devices ==
== Supported Devices ==
Line 9: Line 9:
As a console device, supported types are SCLP VT220-compatible (preferred), SCLP line-mode or virtio-serial console.
As a console device, supported types are SCLP VT220-compatible (preferred), SCLP line-mode or virtio-serial console.


== Suggested command-line ==
== Guest Operating Systems ==
 
Currently, the only supported guest operation system is Linux.
 
When using kvm, you should be able to use any recent distribution that you would be able to run on your host as well (RHEL, SLES, Ubuntu, Debian, Fedora). Older versions may not yet support virtio-ccw.
 
When using tcg, the machine emulated is at an older level not supported on any of the recent enterprise distributions. Your best bet is probably using Debian.
 
== Minimal command-line ==
   qemu-system-s390x -M s390-ccw-virtio -kernel <kernel file name> -initrd <initrd file name> -m 512 -nographic
   qemu-system-s390x -M s390-ccw-virtio -kernel <kernel file name> -initrd <initrd file name> -m 512 -nographic
This command line will start a machine with the default SCLP VT220-compatible console. If you want any actual I/O devices, you need to add the respective virtio-*-ccw devices.


== Links ==
== Links ==
Line 17: Line 27:
[http://johnwfinigan.github.io/2015/09/14/installing-suse-linux-sles-11-on-qemus-s390x-emulated-mainframe Installing SUSE Linux]<br>
[http://johnwfinigan.github.io/2015/09/14/installing-suse-linux-sles-11-on-qemus-s390x-emulated-mainframe Installing SUSE Linux]<br>
[https://launchpad.net/ubuntu/xenial/+package/qemu-system-s390x Installing s390x emulator for Ubuntu]<br>
[https://launchpad.net/ubuntu/xenial/+package/qemu-system-s390x Installing s390x emulator for Ubuntu]<br>
[https://www.debian.org/ports/s390/ Debian S/390 port]<br>
[https://fedoraproject.org/wiki/Architectures/s390x Fedora s390x port]<br>

Revision as of 18:13, 7 November 2016

QEMU s390x Guest Support

QEMU supports running s390x (aka zSystems aka mainframe) guests via the s390-virtio-ccw machine, with kvm or tcg acceleration.

Supported Devices

The s390-virtio-ccw machine emulates a virtual channel subsystem. Currently, only virtio-ccw proxy devices (for most virtio device types) are supported.

As a console device, supported types are SCLP VT220-compatible (preferred), SCLP line-mode or virtio-serial console.

Guest Operating Systems

Currently, the only supported guest operation system is Linux.

When using kvm, you should be able to use any recent distribution that you would be able to run on your host as well (RHEL, SLES, Ubuntu, Debian, Fedora). Older versions may not yet support virtio-ccw.

When using tcg, the machine emulated is at an older level not supported on any of the recent enterprise distributions. Your best bet is probably using Debian.

Minimal command-line

 qemu-system-s390x -M s390-ccw-virtio -kernel <kernel file name> -initrd <initrd file name> -m 512 -nographic

This command line will start a machine with the default SCLP VT220-compatible console. If you want any actual I/O devices, you need to add the respective virtio-*-ccw devices.

Links

Wikipedia page for the System 390
Installing Ubuntu Linux
Installing SUSE Linux
Installing s390x emulator for Ubuntu
Debian S/390 port
Fedora s390x port