diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 9c92eec030..0976273eb0 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -1443,12 +1443,14 @@ class BaseConfig(object): | |||
1443 | kernel_opts = "-kernel %s -append '%s %s %s %s'" % (self.kernel, self.kernel_cmdline, | 1443 | kernel_opts = "-kernel %s -append '%s %s %s %s'" % (self.kernel, self.kernel_cmdline, |
1444 | self.kernel_cmdline_script, self.get('QB_KERNEL_CMDLINE_APPEND'), | 1444 | self.kernel_cmdline_script, self.get('QB_KERNEL_CMDLINE_APPEND'), |
1445 | self.bootparams) | 1445 | self.bootparams) |
1446 | if self.bios: | ||
1447 | kernel_opts += " -bios %s" % self.bios | ||
1448 | if self.dtb: | 1446 | if self.dtb: |
1449 | kernel_opts += " -dtb %s" % self.dtb | 1447 | kernel_opts += " -dtb %s" % self.dtb |
1450 | else: | 1448 | else: |
1451 | kernel_opts = "" | 1449 | kernel_opts = "" |
1450 | |||
1451 | if self.bios: | ||
1452 | self.qemu_opt += " -bios %s" % self.bios | ||
1453 | |||
1452 | cmd = "%s %s" % (self.qemu_opt, kernel_opts) | 1454 | cmd = "%s %s" % (self.qemu_opt, kernel_opts) |
1453 | cmds = shlex.split(cmd) | 1455 | cmds = shlex.split(cmd) |
1454 | logger.info('Running %s\n' % cmd) | 1456 | logger.info('Running %s\n' % cmd) |