]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/loongarch/boot: Use warn_report when no kernel filename
authorSong Gao <gaosong@loongson.cn>
Wed, 30 Oct 2024 01:23:59 +0000 (09:23 +0800)
committerSong Gao <gaosong@loongson.cn>
Sat, 2 Nov 2024 07:20:41 +0000 (15:20 +0800)
commit6495c577bd7edf53bd89e9f26c1f6263fcf7e71a
tree630511c6fac43dad51057c3b5bca4b302a928ef3
parent0d2eeef77a33315187df8519491a900bde4a3d83
hw/loongarch/boot: Use warn_report when no kernel filename

When we run “qemu-system-loongarch64 -qmp stdio -vnc none -S”,
we get an error message “Need kernel filename” and then we can't use qmp cmd to query some information.
So, we just throw a warning and then the cpus starts running from address VIRT_FLASH0_BASE.

Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20241030012359.4040817-1-gaosong@loongson.cn>
hw/loongarch/boot.c