-
Notifications
You must be signed in to change notification settings - Fork 661
qemu: experimental support for S390X #3319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0fdafbd
to
ae8bbf8
Compare
How do you run this? I tried
|
I know that there were some people fighting hard to keep both
Think I had some branch that was able to run them (that I since deleted), there were some tweaks that were needed to the startup parameters and what not. But it seems like there will be a rather narrow audience of these, similar to arm32? |
It just works for me in that way, on macOS 15.3.1 with QEMU 9.2.2 on M4 Max. Maybe something was occupying the port 60022 ? |
templates/centos-stream-10.yaml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EL8, 9, and 10 do not seem to support virtio-net-pci
on s390x ? 🤔
[ 57.518703] cloud-init[967]: ci-info: +++++++++++++++++++++++Net device info++++++++++++++++++++++++
[ 57.518703] cloud-init[967]: ci-info: +++++++++++++++++++++++Net device info++++++++++++++++++++++++
[ 57.520356] cloud-init[967]: ci-info: +--------+------+-----------+-----------+-------+------------+
[ 57.520356] cloud-init[967]: ci-info: +--------+------+-----------+-----------+-------+------------+
[ 57.521522] cloud-init[967]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 57.521522] cloud-init[967]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 57.522383] cloud-init[967]: ci-info: +--------+------+-----------+-----------+-------+------------+
[ 57.522383] cloud-init[967]: ci-info: +--------+------+-----------+-----------+-------+------------+
[ 57.523153] cloud-init[967]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 57.523153] cloud-init[967]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 57.524012] cloud-init[967]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 57.524012] cloud-init[967]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 57.524941] cloud-init[967]: ci-info: +--------+------+-----------+-----------+-------+------------+
[ 57.524941] cloud-init[967]: ci-info: +--------+------+-----------+-----------+-------+------------+
Ubuntu 20.04 (kernel 5.4) still works, so this is a matter of the kernel config rather than the version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to use virtio-net-ccw
.
The network per se now works, but SSH fails on EL 🤷♂️
$ ssh -F ~/.lima/centos-stream-10/ssh.config lima-centos-stream-10
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
However, I only tested the default.yaml
template.
Supporting S390X is useful for testing a program with big-endian. Signed-off-by: Akihiro Suda <[email protected]>
Rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about making armv7l experimental*, but s390x changes look OK to me
* "unsupported" is fine, just not very new
armv7l has been already experimental: https://lima-vm.io/docs/releases/experimental/ |
Supporting S390X is useful for testing a program with big-endian.