diff options
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index c292b759bc..95f59257ca 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -118,7 +118,7 @@ class QemuRunner: | |||
118 | os.environ["DEPLOY_DIR_IMAGE"] = self.deploy_dir_image | 118 | os.environ["DEPLOY_DIR_IMAGE"] = self.deploy_dir_image |
119 | 119 | ||
120 | if not launch_cmd: | 120 | if not launch_cmd: |
121 | launch_cmd = 'runqemu snapshot' | 121 | launch_cmd = 'runqemu snapshot %s' % runqemuparams |
122 | if self.use_kvm: | 122 | if self.use_kvm: |
123 | logger.info('Using kvm for runqemu') | 123 | logger.info('Using kvm for runqemu') |
124 | launch_cmd += ' kvm' | 124 | launch_cmd += ' kvm' |
@@ -128,9 +128,9 @@ class QemuRunner: | |||
128 | launch_cmd += ' nographic' | 128 | launch_cmd += ' nographic' |
129 | launch_cmd += ' %s %s' % (self.machine, self.rootfs) | 129 | launch_cmd += ' %s %s' % (self.machine, self.rootfs) |
130 | 130 | ||
131 | return self.launch(launch_cmd, qemuparams=qemuparams, get_ip=get_ip, extra_bootparams=extra_bootparams, runqemuparams=runqemuparams) | 131 | return self.launch(launch_cmd, qemuparams=qemuparams, get_ip=get_ip, extra_bootparams=extra_bootparams) |
132 | 132 | ||
133 | def launch(self, launch_cmd, get_ip = True, qemuparams = None, extra_bootparams = None, runqemuparams=''): | 133 | def launch(self, launch_cmd, get_ip = True, qemuparams = None, extra_bootparams = None): |
134 | try: | 134 | try: |
135 | threadsock, threadport = self.create_socket() | 135 | threadsock, threadport = self.create_socket() |
136 | self.server_socket, self.serverport = self.create_socket() | 136 | self.server_socket, self.serverport = self.create_socket() |