Re: [PATCH 7/7] selftests/kho: handle QEMU not exiting after kexec on LoongArch

From: Mike Rapoport

Date: Mon May 25 2026 - 03:48:35 EST


On Mon, 25 May 2026 14:28:10 +0800, George Guo <dongtai.guo@xxxxxxxxx> wrote:
> diff --git a/tools/testing/selftests/kho/vmtest.sh b/tools/testing/selftests/kho/vmtest.sh
> index a6ae9ac09595..3cb9674e4475 100755
> --- a/tools/testing/selftests/kho/vmtest.sh
> +++ b/tools/testing/selftests/kho/vmtest.sh
> @@ -103,16 +103,37 @@ function run_qemu() {
> local qemu_cmd=$1
> local cmdline=$2
> local kernel=$3
> + local arch=$4
> local serial="$tmp_dir/qemu.serial"
>
> cmdline="$cmdline kho=on panic=-1"
>
> - $qemu_cmd -m 1G -smp 2 -no-reboot -nographic -nodefaults \

Just make it

timeout 100 $qemu_cmd ...

for all architectures.

--
Sincerely yours,
Mike.