|
|
26ba25 |
From 1b7816394c8475dce6033b6f6cd4b57785898345 Mon Sep 17 00:00:00 2001
|
|
|
26ba25 |
From: Yash Mankad <ymankad@redhat.com>
|
|
|
26ba25 |
Date: Wed, 12 Dec 2018 00:14:36 +0000
|
|
|
26ba25 |
Subject: [PATCH 08/13] scripts/qemu.py: allow adding to the list of extra
|
|
|
26ba25 |
arguments
|
|
|
26ba25 |
MIME-Version: 1.0
|
|
|
26ba25 |
Content-Type: text/plain; charset=UTF-8
|
|
|
26ba25 |
Content-Transfer-Encoding: 8bit
|
|
|
26ba25 |
|
|
|
26ba25 |
RH-Author: Yash Mankad <ymankad@redhat.com>
|
|
|
26ba25 |
Message-id: <c4e393048264217e2994c26c5558d6f11fc937fe.1544573601.git.ymankad@redhat.com>
|
|
|
26ba25 |
Patchwork-id: 83438
|
|
|
26ba25 |
O-Subject: [RHEL-8.0 qemu-kvm PATCH v2 2/7] scripts/qemu.py: allow adding to the list of extra arguments
|
|
|
26ba25 |
Bugzilla: 1655807
|
|
|
26ba25 |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
26ba25 |
RH-Acked-by: John Snow <jsnow@redhat.com>
|
|
|
26ba25 |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
From: Cleber Rosa <crosa@redhat.com>
|
|
|
26ba25 |
|
|
|
26ba25 |
Tests will often need to add extra arguments to QEMU command
|
|
|
26ba25 |
line arguments.
|
|
|
26ba25 |
|
|
|
26ba25 |
Signed-off-by: Cleber Rosa <crosa@redhat.com>
|
|
|
26ba25 |
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
26ba25 |
Message-Id: <20180530184156.15634-3-crosa@redhat.com>
|
|
|
26ba25 |
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
26ba25 |
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
26ba25 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
26ba25 |
(cherry picked from commit 572a82438308216fbfc615c924b6e94e4b68dfaa)
|
|
|
26ba25 |
Signed-off-by: Yash Mankad <ymankad@redhat.com>
|
|
|
26ba25 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
26ba25 |
---
|
|
|
26ba25 |
scripts/qemu.py | 6 ++++++
|
|
|
26ba25 |
1 file changed, 6 insertions(+)
|
|
|
26ba25 |
|
|
|
26ba25 |
diff --git a/scripts/qemu.py b/scripts/qemu.py
|
|
|
26ba25 |
index 08a3e9a..7cd8193 100644
|
|
|
26ba25 |
--- a/scripts/qemu.py
|
|
|
26ba25 |
+++ b/scripts/qemu.py
|
|
|
26ba25 |
@@ -359,3 +359,9 @@ class QEMUMachine(object):
|
|
|
26ba25 |
of the qemu process.
|
|
|
26ba25 |
'''
|
|
|
26ba25 |
return self._iolog
|
|
|
26ba25 |
+
|
|
|
26ba25 |
+ def add_args(self, *args):
|
|
|
26ba25 |
+ '''
|
|
|
26ba25 |
+ Adds to the list of extra arguments to be given to the QEMU binary
|
|
|
26ba25 |
+ '''
|
|
|
26ba25 |
+ self._args.extend(args)
|
|
|
26ba25 |
--
|
|
|
26ba25 |
1.8.3.1
|
|
|
26ba25 |
|