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
Add s390x support to QEMU backend #2309
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
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 suppose all of this is generally not very problematic because we don't use the QEMU backend for s390x test at SUSE (so it won't break existing use cases). However, tests need to be adapted (to pass again) and supposedly also extended (to cover all newly introduced code paths).
cdd8be9
to
27c60d5
Compare
Codecov Report
@@ Coverage Diff @@
## master #2309 +/- ##
==========================================
- Coverage 94.94% 94.93% -0.02%
==========================================
Files 155 155
Lines 15223 15224 +1
==========================================
- Hits 14454 14453 -1
- Misses 769 771 +2
|
@Martchus Thanks for the review. I fixed the not passing tests and applied your suggestion. Thanks a lot! Another issue that I tried to extend the tests with asserting QEMU parameters for s390x. However it fails due the mixed QEMU parameters from the previous tests. How can I generate the QEMU parameters which are use only variables I set for s390x? Test - LKHN@8680ff6#diff-2c6d71750f92f3631c01e08b2695ed0a936acb082240f62d5c6162ddb5c04ce7 |
Likely by just setting |
27c60d5
to
16e5a31
Compare
It looks like, it passes now but no response yet from the codecov -https://app.codecov.io/gh/os-autoinst/os-autoinst/commit/16e5a31424afd5f4dbfa2845c7be237d21aa9ad0 I tried to extend the unit tests to cover the testing of these QEMU options: When:
What is left, is the testing of @Martchus @okurz Could tell me if this approach of the implementation tests is correct? If yes how can I test the |
The CI check shows your diff is fully covered. I think that's good enough. |
These virtual devices added for s390x virtualization: - virtio-scsi as alias of virtio-scsi-ccw for SCSI controller - virtio-gpu as alias of virtio-gpu-ccw for VirtIO GPU Device - virtio-rng as alias of virtio-rng-ccw for VirtIO RNG - virtio-tablet as alias of virtio-tablet-ccw for input mouse interaction - virtio-keyboard as alias of virtio-keyboard-ccw for keyboard interaction Disabled audio support since there is no audio virtual device available on this architecture (see qemu-kvm -device help) Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
16e5a31
to
5f43d43
Compare
No further changes are required. The PR hasn't been merged automatically because not all OBS checks have reported back. However, https://build.opensuse.org/package/show/devel:openQA:GitHub:os-autoinst:os-autoinst:PR-2309/os-autoinst shows that all builds were successful. So I'm merging this manually. |
These virtual devices added for s390x virtualization:
virtio-scsi
as alias ofvirtio-scsi-ccw
for SCSI controllervirtio-gpu
as alias ofvirtio-gpu-ccw
for VirtIO GPU Devicevirtio-rng
as alias ofvirtio-rng-ccw
for VirtIO RNGvirtio-tablet
as alias ofvirtio-tablet-ccw
for input mouse interactionvirtio-keyboard
as alias ofvirtio-keyboard-ccw
for keyboard interactionDisabled audio support since there is no audio virtual device available on this architecture (see
qemu-kvm -device help
)