mirror of
https://github.com/qemu/qemu.git
synced 2026-11-15 16:20:45 +00:00
In system mode the binary is appended to the QEMU arguments, which must end with an option taking it, such as -kernel. Machines without -kernel, like 'none', load it with the generic loader device, where the path is part of an option value. Replace @BINARY@ in the arguments by the binary path if present, otherwise keep appending it. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Message-ID: <20261028192538.31600-4-philmd@oss.qualcomm.com>