Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2
3from ..qemu_config import QemuArchParams
4
5QEMU_ARCH = QemuArchParams(linux_arch='loongarch',
6 kconfig='''
7CONFIG_EFI_STUB=n
8CONFIG_PCI_HOST_GENERIC=y
9CONFIG_PVPANIC=y
10CONFIG_PVPANIC_PCI=y
11CONFIG_SERIAL_8250=y
12CONFIG_SERIAL_8250_CONSOLE=y
13CONFIG_SERIAL_OF_PLATFORM=y
14''',
15 qemu_arch='loongarch64',
16 kernel_path='arch/loongarch/boot/vmlinux.elf',
17 kernel_command_line='console=ttyS0 kunit_shutdown=poweroff',
18 extra_qemu_params=[
19 '-machine', 'virt',
20 '-device', 'pvpanic-pci',
21 '-cpu', 'max',])