mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00:00
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>
This commit is contained in:
committed by
Laurent Vivier
parent
31e404151b
commit
976e8c5414
@ -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):
|
||||
|
Reference in New Issue
Block a user