diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-12-21 14:11:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-05 13:54:06 +0000 |
commit | b359e926e238fd84362eb6c1232dfb35a66b59dd (patch) | |
tree | bfec0961aa075d490db76aa53dc0b931b02a4d6e | |
parent | 8f12a03dda3568b70a7f22db764381bedb745b92 (diff) | |
download | poky-b359e926e238fd84362eb6c1232dfb35a66b59dd.tar.gz |
runqemu: let command line parameters override defaults
It may be necessary to override the parameters gathered for the qemu
invocation. For example, the qemux86 machine configuration sets "-vga
vmware", but when using OVMF as BIOS, only "-vga std" is supported.
By putting the parameters derived from custom runqemu parameters like
"qemuparams" after the parameters derived from the machine
configuration the user gets the possibility to override those.
(From OE-Core rev: b6feb7578d60289c8b6e376cfaac8a3ee45e72f9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 0a9cb946bf..203992a1ad 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -926,7 +926,7 @@ class BaseConfig(object): | |||
926 | 926 | ||
927 | check_libgl(qemu_bin) | 927 | check_libgl(qemu_bin) |
928 | 928 | ||
929 | self.qemu_opt = "%s %s %s %s %s" % (qemu_bin, self.get('NETWORK_CMD'), self.qemu_opt_script, self.get('ROOTFS_OPTIONS'), self.get('QB_OPT_APPEND')) | 929 | self.qemu_opt = "%s %s %s %s %s" % (qemu_bin, self.get('NETWORK_CMD'), self.get('ROOTFS_OPTIONS'), self.get('QB_OPT_APPEND'), self.qemu_opt_script) |
930 | 930 | ||
931 | if self.snapshot: | 931 | if self.snapshot: |
932 | self.qemu_opt += " -snapshot" | 932 | self.qemu_opt += " -snapshot" |