Signed-off-by: Marc-André Lureau <[email protected]>
---
 tests/qemu-iotests/093 | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/tests/qemu-iotests/093 b/tests/qemu-iotests/093
index 26ae6e2b2d56..5a22f672d8c2 100755
--- a/tests/qemu-iotests/093
+++ b/tests/qemu-iotests/093
@@ -90,13 +90,13 @@ class ThrottleTestCase(iotests.QMPTestCase):
         for i in range(rd_nr):
             for drive in range(0, ndrives):
                 idx = first_drive + drive
-                self.vm.hmp_qemu_io("drive%d" % idx, "aio_read %d %d" %
+                self.vm.qmp_qemu_io("drive%d" % idx, "aio_read %d %d" %
                                     (i * rq_size, rq_size))
 
         for i in range(wr_nr):
             for drive in range(0, ndrives):
                 idx = first_drive + drive
-                self.vm.hmp_qemu_io("drive%d" % idx, "aio_write %d %d" %
+                self.vm.qmp_qemu_io("drive%d" % idx, "aio_write %d %d" %
                                     (i * rq_size, rq_size))
 
         # We'll store the I/O stats for each drive in these arrays
@@ -227,21 +227,21 @@ class ThrottleTestCase(iotests.QMPTestCase):
         self.configure_throttle(2, params)
 
         # Read 4KB from drive0. This is performed immediately.
-        self.vm.hmp_qemu_io("drive0", "aio_read 0 4096")
+        self.vm.qmp_qemu_io("drive0", "aio_read 0 4096")
 
         # Read 2KB. The I/O limit has been exceeded so this
         # request is throttled and a timer is set to wake it up.
-        self.vm.hmp_qemu_io("drive0", "aio_read 0 2048")
+        self.vm.qmp_qemu_io("drive0", "aio_read 0 2048")
 
         # Read 2KB again. We're still over the I/O limit so this is
         # request is also throttled, but no new timer is set since
         # there's already one.
-        self.vm.hmp_qemu_io("drive0", "aio_read 0 2048")
+        self.vm.qmp_qemu_io("drive0", "aio_read 0 2048")
 
         # Read from drive1. This request is also throttled, and no
         # timer is set in drive1 because there's already one in
         # drive0.
-        self.vm.hmp_qemu_io("drive1", "aio_read 0 4096")
+        self.vm.qmp_qemu_io("drive1", "aio_read 0 4096")
 
         # At this point only the first 4KB have been read from drive0.
         # The other requests are throttled.
@@ -419,5 +419,4 @@ class ThrottleTestRemovableMedia(iotests.QMPTestCase):
 if __name__ == '__main__':
     if 'null-co' not in iotests.supported_formats():
         iotests.notrun('null-co driver support missing')
-    iotests.main(supported_fmts=["raw"],
-                 require_hmp=True)
+    iotests.main(supported_fmts=["raw"])

-- 
2.56.0.rc0.29.g47ce80527c56


Reply via email to