Merge pull request #2426 from arm64b/firmware-file-format

qemu: Specify the firmware file format explicitly
This commit is contained in:
Justin Cormack 2017-08-17 14:56:35 +01:00 committed by GitHub
commit ad4131ad4b

View File

@ -537,7 +537,7 @@ func buildQemuCmdline(config QemuConfig) (QemuConfig, []string) {
}
if config.UEFI {
qemuArgs = append(qemuArgs, "-pflash", config.FWPath)
qemuArgs = append(qemuArgs, "-drive", "if=pflash,format=raw,file="+config.FWPath)
}
// build kernel boot config from kernel/initrd/cmdline