diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-06-06 16:23:27 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-06-15 14:03:43 +0200 |
commit | 0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34 (patch) | |
tree | 9f805351b7c914a7c8b1820dd44834e2a70d388b /tests/qemu-iotests/iotests.py | |
parent | ab68cdfaa94e74eda250b0f9a5ce2969f4eb8066 (diff) | |
download | hqemu-0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34.zip hqemu-0fd05e8dd1ee7ae143fba3d6bcc6abe3fbeaeb34.tar.gz |
qemu-iotests: start vms in qtest mode
This way, they will not execute any VM code at all. However, right now
the cancellation test is "relying" on being slowed down by TCG executing
BIOS code. So, change the timeouts.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
-rw-r--r-- | tests/qemu-iotests/iotests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index e27b40e..e05b1d6 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -54,7 +54,9 @@ class VM(object): self._qemu_log_path = os.path.join(test_dir, 'qemu-log.%d' % os.getpid()) self._args = qemu_args + ['-chardev', 'socket,id=mon,path=' + self._monitor_path, - '-mon', 'chardev=mon,mode=control', '-nographic'] + '-mon', 'chardev=mon,mode=control', + '-qtest', 'stdio', '-machine', 'accel=qtest', + '-display', 'none', '-vga', 'none'] self._num_drives = 0 def add_drive(self, path, opts=''): |