diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2019-09-03 12:35:33 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-10-04 10:25:23 +1000 |
commit | 5ced78955fe3f74002ad27676cf7c65cc89d6660 (patch) | |
tree | 7c2f82f24daed20ff7228685bdd1de2ffdb1990f /Makefile | |
parent | 3a17e38f6eac0028f2e4ca052455b38a4048c85d (diff) | |
download | qemu-5ced78955fe3f74002ad27676cf7c65cc89d6660.zip qemu-5ced78955fe3f74002ad27676cf7c65cc89d6660.tar.gz qemu-5ced78955fe3f74002ad27676cf7c65cc89d6660.tar.bz2 |
spapr: Do not put empty properties for -kernel/-initrd/-append
We are going to use spapr_build_fdt() for the boot time FDT and as an
update for SLOF during handling of H_CAS. SLOF will apply all properties
from the QEMU's FDT which is usually ok unless there are properties
changed by grub or guest kernel. The properties are:
bootargs, linux,initrd-start, linux,initrd-end, linux,stdout-path,
linux,rtas-base, linux,rtas-entry. Resetting those during CAS will most
likely cause grub failure.
Don't create such properties if we're booting without "-kernel" and
"-initrd" so they won't get included into the DT update blob and
therefore the guest is more likely to boot successfully.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[dwg: Tweaked commit message based on Greg Kurz's input]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions