tests/functional/s390x: Update expected virtio-pci IDs
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> Message-ID: <20260424132703.833249-1-mjrosato@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Matthew Rosato committed
Apr 24, 2026 at 09:27 UTC
bbb412adc4a6e6a11806a5d778da6aa1c24edf56
1 file changed
+2
-2
tests/functional/s390x/test_ccw_virtio.py
+2
-2
@@ -136,7 +136,7 @@ class S390CCWVirtioMachine(QemuSystemTest):
136
r'0x1af4')
137
exec_command_and_wait_for_pattern(self,
138
r'cat /sys/bus/pci/devices/0005\:00\:00.0/subsystem_device',
139
- r'0x0001')
139
+ r'0x1100')
140
# check fid propagation
141
exec_command_and_wait_for_pattern(self,
142
r'cat /sys/bus/pci/devices/000a\:00\:00.0/function_id',
@@ -203,7 +203,7 @@ class S390CCWVirtioMachine(QemuSystemTest):
203
'while ! (dmesg | grep enP7p0s0) ; do sleep 1 ; done',
204
'virtio_net virtio0 enP7p0s0: renamed')
205
exec_command_and_wait_for_pattern(self, 'lspci',
206
- '0007:00:00.0 Class 0200: Device 1af4:1000')
206
+ '0007:00:00.0 Class 0200: Device 1af4:1041')
207
exec_command_and_wait_for_pattern(self,
208
'cat /sys/class/net/enP7p0s0/address',
209
'02:ca:fe:fa:ce:12')