[PATCH] tests/functional/s390x: Update expected virtio-pci IDs

Matthew Rosato posted 1 patch 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260424132703.833249-1-mjrosato@linux.ibm.com
Maintainers: Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>
tests/functional/s390x/test_ccw_virtio.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] tests/functional/s390x: Update expected virtio-pci IDs
Posted by Matthew Rosato 1 month ago
Now that legacy virtio-pci is disabled by default for s390x, adjust
existing testcases to look for appropriate device IDs.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
---
 tests/functional/s390x/test_ccw_virtio.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/functional/s390x/test_ccw_virtio.py b/tests/functional/s390x/test_ccw_virtio.py
index 0455337856..1d4958bbe2 100755
--- a/tests/functional/s390x/test_ccw_virtio.py
+++ b/tests/functional/s390x/test_ccw_virtio.py
@@ -136,7 +136,7 @@ def test_s390x_devices(self):
                     r'0x1af4')
         exec_command_and_wait_for_pattern(self,
                     r'cat /sys/bus/pci/devices/0005\:00\:00.0/subsystem_device',
-                    r'0x0001')
+                    r'0x1100')
         # check fid propagation
         exec_command_and_wait_for_pattern(self,
                     r'cat /sys/bus/pci/devices/000a\:00\:00.0/function_id',
@@ -203,7 +203,7 @@ def test_s390x_fedora(self):
                         'while ! (dmesg | grep enP7p0s0) ; do sleep 1 ; done',
                         'virtio_net virtio0 enP7p0s0: renamed')
         exec_command_and_wait_for_pattern(self, 'lspci',
-                             '0007:00:00.0 Class 0200: Device 1af4:1000')
+                             '0007:00:00.0 Class 0200: Device 1af4:1041')
         exec_command_and_wait_for_pattern(self,
                              'cat /sys/class/net/enP7p0s0/address',
                              '02:ca:fe:fa:ce:12')
-- 
2.53.0
Re: [PATCH] tests/functional/s390x: Update expected virtio-pci IDs
Posted by Cornelia Huck 1 month ago
On Fri, Apr 24 2026, Matthew Rosato <mjrosato@linux.ibm.com> wrote:

> Now that legacy virtio-pci is disabled by default for s390x, adjust
> existing testcases to look for appropriate device IDs.
>
> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
> ---
>  tests/functional/s390x/test_ccw_virtio.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, queued to s390-next.