Set up the the bootloader so that if -dtb is specified, then the Linux bootflow is assumed.
Conditionalised dtb command line update on there being a -append argument. Means you can use a dtb with a command line already present and boot without QEMU nuking your command line. The patches are independent. A block on patch one whould not block patch 2 and vice versa. Sent as one series for reviewer convenience. changed since v1: replaced old patch one (used to be cmd line arg for linux - now is just dtb implies linux) tweaked implementation of patch 2 Peter A. G. Crosthwaite (2): arm_boot: Assume Linux boot flow when -dtb given arm_boot: Conditionalised DTB command line update hw/arm_boot.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) -- 1.7.3.2