On 11/09/2025 11.05, Nina Schoetterl-Glausch wrote:
On Tue, 2025-08-12 at 14:31 +0200, Shalini Chellathurai Saroja wrote:
Add tests for SCLP event type Control-Program Identification
(CPI) to s390x CCW virtio tests.

Please note that these tests are skipped as the guest OS does not
trigger the SCLP event type CPI when the command
'echo 1 > /sys/firmware/cpi/set' is executed in the guest. I
believe that the guest OS must to be updated to support the SCLP
event type CPI.

Signed-off-by: Shalini Chellathurai Saroja <shal...@linux.ibm.com>
Suggested-by: Thomas Huth <th...@redhat.com>
---
  tests/functional/test_s390x_ccw_virtio.py | 24 +++++++++++++++++++++++
  1 file changed, 24 insertions(+)

diff --git a/tests/functional/test_s390x_ccw_virtio.py 
b/tests/functional/test_s390x_ccw_virtio.py
index 453711aa0f..c14379cbaa 100755
--- a/tests/functional/test_s390x_ccw_virtio.py
+++ b/tests/functional/test_s390x_ccw_virtio.py

Is this the best file to put it?
It seems mostly to be about device testing.

It's meant as generic testing of the s390-virtio-ccw machine. Of course, the CPI testing could also be done in a separate file, but that means that you have to go through booting of the guest there again ... so I'd rather prefer to keep it here, so we only have to boot the guest once.

 Thomas


Reply via email to