mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00
scripts/qemu.py: allow adding to the list of extra arguments
Tests will often need to add extra arguments to QEMU command line arguments. Signed-off-by: Cleber Rosa <crosa@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20180530184156.15634-3-crosa@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
c3d7e8c90d
commit
572a824383
1 changed files with 6 additions and 0 deletions
|
@ -359,3 +359,9 @@ class QEMUMachine(object):
|
|||
of the qemu process.
|
||||
'''
|
||||
return self._iolog
|
||||
|
||||
def add_args(self, *args):
|
||||
'''
|
||||
Adds to the list of extra arguments to be given to the QEMU binary
|
||||
'''
|
||||
self._args.extend(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue