File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
tools/testing/selftests/wireguard/qemu Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -208,10 +208,11 @@ QEMU_ARCH := m68k
208
208
KERNEL_ARCH := m68k
209
209
KERNEL_BZIMAGE := $(KERNEL_BUILD_PATH ) /vmlinux
210
210
KERNEL_CMDLINE := $(shell sed -n 's/CONFIG_CMDLINE=\(.* \) /\1/p' arch/m68k.config)
211
+ QEMU_VPORT_RESULT := virtio-serial-device
211
212
ifeq ($(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 )
213
214
else
214
- QEMU_MACHINE := -machine q800 -smp 1 -append $(KERNEL_CMDLINE )
215
+ QEMU_MACHINE := -machine virt -smp 1 -append $(KERNEL_CMDLINE )
215
216
endif
216
217
else ifeq ($(ARCH),riscv64)
217
218
CHOST := riscv64-linux-musl
Original file line number Diff line number Diff line change 1
1
CONFIG_MMU=y
2
+ CONFIG_VIRT=y
2
3
CONFIG_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
8
5
CONFIG_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"
10
7
CONFIG_FRAME_WARN=1024
You can’t perform that action at this time.
0 commit comments