File tree Expand file tree Collapse file tree
tools/testing/selftests/wireguard/qemu Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,10 +208,11 @@ QEMU_ARCH := m68k
208208KERNEL_ARCH := m68k
209209KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH ) /vmlinux
210210KERNEL_CMDLINE := $(shell sed -n 's/CONFIG_CMDLINE=\(.* \) /\1/p' arch/m68k.config)
211+ QEMU_VPORT_RESULT := virtio-serial-device
211212ifeq ($(HOST_ARCH ) ,$(ARCH ) )
212- QEMU_MACHINE := -cpu host,accel=kvm -machine q800 -append $(KERNEL_CMDLINE )
213+ QEMU_MACHINE := -cpu host,accel=kvm -machine virt -append $(KERNEL_CMDLINE )
213214else
214- QEMU_MACHINE := -machine q800 -smp 1 -append $(KERNEL_CMDLINE )
215+ QEMU_MACHINE := -machine virt -smp 1 -append $(KERNEL_CMDLINE )
215216endif
216217else ifeq ($(ARCH),riscv64)
217218CHOST := riscv64-linux-musl
Original file line number Diff line number Diff line change 11CONFIG_MMU=y
2+ CONFIG_VIRT=y
23CONFIG_M68KCLASSIC=y
3- CONFIG_M68040=y
4- CONFIG_MAC=y
5- CONFIG_SERIAL_PMACZILOG=y
6- CONFIG_SERIAL_PMACZILOG_TTYS=y
7- CONFIG_SERIAL_PMACZILOG_CONSOLE=y
4+ CONFIG_VIRTIO_CONSOLE=y
85CONFIG_COMPAT_32BIT_TIME=y
9- CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1"
6+ CONFIG_CMDLINE="console=ttyGF0 wg.success=vport0p1 panic_on_warn=1"
107CONFIG_FRAME_WARN=1024
You can’t perform that action at this time.
0 commit comments