aboutsummaryrefslogtreecommitdiff
path: root/python/qemu
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-09-04 07:27:39 +0200
committerLaurent Vivier <laurent@vivier.eu>2019-09-19 12:01:48 +0200
commit976e8c54142586285f71f524308e4715f6e04e2d (patch)
tree16a70fa9d8bc21c44cb51df2914aa5bdaea3d6bf /python/qemu
parent31e404151bddbfd7215e471b5822ea2e96024e02 (diff)
downloadqemu-976e8c54142586285f71f524308e4715f6e04e2d.zip
qemu-976e8c54142586285f71f524308e4715f6e04e2d.tar.gz
qemu-976e8c54142586285f71f524308e4715f6e04e2d.tar.bz2
Replace '-machine accel=xyz' with '-accel xyz'
We've got a separate option to configure the accelerator nowadays, which is shorter to type and the preferred way of specifying an accelerator. Use it in the source and examples to show that it is the favored option. (However, do not touch the places yet which also specify other machine options or multiple accelerators - these are currently still better handled with one single "-machine" statement instead) Signed-off-by: Thomas Huth <thuth@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20190904052739.22123-1-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'python/qemu')
-rw-r--r--python/qemu/qtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/qtest.py b/python/qemu/qtest.py
index eebcc23..3f1d2cb 100644
--- a/python/qemu/qtest.py
+++ b/python/qemu/qtest.py
@@ -96,7 +96,7 @@ class QEMUQtestMachine(QEMUMachine):
def _base_args(self):
args = super(QEMUQtestMachine, self)._base_args()
args.extend(['-qtest', 'unix:path=' + self._qtest_path,
- '-machine', 'accel=qtest'])
+ '-accel', 'qtest'])
return args
def _pre_launch(self):