summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemurunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/qemurunner.py')
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 21bc35a32c..19f0f92b74 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -95,7 +95,7 @@ class QemuRunner:
95 self._dump_host() 95 self._dump_host()
96 raise SystemExit 96 raise SystemExit
97 97
98 def start(self, qemuparams = None, get_ip = True, extra_bootparams = None): 98 def start(self, qemuparams = None, get_ip = True, extra_bootparams = None, runqemuparams=''):
99 if self.display: 99 if self.display:
100 os.environ["DISPLAY"] = self.display 100 os.environ["DISPLAY"] = self.display
101 # Set this flag so that Qemu doesn't do any grabs as SDL grabs 101 # Set this flag so that Qemu doesn't do any grabs as SDL grabs
@@ -136,7 +136,7 @@ class QemuRunner:
136 self.origchldhandler = signal.getsignal(signal.SIGCHLD) 136 self.origchldhandler = signal.getsignal(signal.SIGCHLD)
137 signal.signal(signal.SIGCHLD, self.handleSIGCHLD) 137 signal.signal(signal.SIGCHLD, self.handleSIGCHLD)
138 138
139 launch_cmd = 'runqemu snapshot ' 139 launch_cmd = 'runqemu snapshot %s ' % runqemuparams
140 if self.use_kvm: 140 if self.use_kvm:
141 logger.info('Using kvm for runqemu') 141 logger.info('Using kvm for runqemu')
142 launch_cmd += 'kvm ' 142 launch_cmd += 'kvm '