[PATCH v3 3/3] selftests/kho: add LoongArch vmtest support
Mike Rapoport
rppt at kernel.org
Sun Jun 14 03:23:03 PDT 2026
On Mon, 01 Jun 2026 17:39:30 +0800, George Guo <dongtai.guo at linux.dev> wrote:
Hi,
> Add loongarch.conf to configure QEMU's LoongArch virt machine with a
Please spell out "virtual machine" here and below or use VM abbrevation.
>
>
> diff --git a/tools/testing/selftests/kho/vmtest.sh b/tools/testing/selftests/kho/vmtest.sh
> index 49fdac8e8b15..918698b6dd2a 100755
> --- a/tools/testing/selftests/kho/vmtest.sh
> +++ b/tools/testing/selftests/kho/vmtest.sh
> @@ -107,12 +107,20 @@ function run_qemu() {
> [ ... skip 14 lines ... ]
> + -kernel "$kernel"
> + -initrd "$initrd"
> + )
> +
> + if [[ -n "${QEMU_TIMEOUT:-}" ]]; then
> + timeout "$QEMU_TIMEOUT" $qemu_cmd "${qemu_args[@]}" || true
Runnig with timeout can be actually useful for other architecures. Let's
make a local variable for timeout of 120 seconds and always run qemu with timeout.
--
Sincerely yours,
Mike.
More information about the kexec
mailing list