summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index d25de42f27..f661892aec 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1220,7 +1220,10 @@ class BaseConfig(object):
1220 cmd = "%s %s" % (self.qemu_opt, kernel_opts) 1220 cmd = "%s %s" % (self.qemu_opt, kernel_opts)
1221 cmds = shlex.split(cmd) 1221 cmds = shlex.split(cmd)
1222 logger.info('Running %s\n' % cmd) 1222 logger.info('Running %s\n' % cmd)
1223 process = subprocess.Popen(cmds, stderr=subprocess.PIPE) 1223 pass_fds = []
1224 if self.lock_descriptor:
1225 pass_fds = [self.lock_descriptor.fileno()]
1226 process = subprocess.Popen(cmds, stderr=subprocess.PIPE, pass_fds=pass_fds)
1224 self.qemupid = process.pid 1227 self.qemupid = process.pid
1225 retcode = process.wait() 1228 retcode = process.wait()
1226 if retcode: 1229 if retcode: