]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-iotests/stream-under-throttle: do not shutdown QEMU
authorChristian Borntraeger <borntraeger@linux.ibm.com>
Wed, 7 Dec 2022 13:14:52 +0000 (14:14 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 9 Jan 2023 12:50:13 +0000 (13:50 +0100)
Without a kernel or boot disk a QEMU on s390 will exit (usually with a
disabled wait state). This breaks the stream-under-throttle test case.
Do not exit qemu if on s390.

Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Message-Id: <20221207131452.8455-1-borntraeger@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qemu-iotests/tests/stream-under-throttle

index 8d2d9e16840ddf8e8b0abbc9813b8b1ea87f446f..c24dfbcaa2f24d0bb3f33d31447c96d8320aec00 100755 (executable)
@@ -88,6 +88,8 @@ class TestStreamWithThrottle(iotests.QMPTestCase):
                            'x-iops-total=10000,x-bps-total=104857600')
         self.vm.add_blockdev(self.vm.qmp_to_opts(blockdev))
         self.vm.add_device('virtio-blk,iothread=iothr0,drive=throttled-node')
+        if iotests.qemu_default_machine == 's390-ccw-virtio':
+            self.vm.add_args('-no-shutdown')
         self.vm.launch()
 
     def tearDown(self) -> None: