]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
iotests.py: Fix VM.run_job
authorMax Reitz <mreitz@redhat.com>
Wed, 15 May 2019 20:15:02 +0000 (22:15 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Sep 2019 19:58:36 +0000 (14:58 -0500)
log() is in the current module, there is no need to prefix it.  In fact,
doing so may make VM.run_job() unusable in tests that never use
iotests.log() themselves.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 86a4f599a67b9b709109c7a7c8b7eb91d21c21fd)
*prereq for d6a79af0e6
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/iotests.py

index 8061f01ade5550bd820d02e50e287134840980c0..fa00b618922bd00580cb76858ab1f1430b20a2af 100644 (file)
@@ -560,7 +560,7 @@ class VM(qtest.QEMUQtestMachine):
                     elif status == 'null':
                         return error
                 else:
-                    iotests.log(ev)
+                    log(ev)
 
     def node_info(self, node_name):
         nodes = self.qmp('query-named-block-nodes')