aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/wireguard/qemu/arch/x86_64.config
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-07-07 02:31:55 +0200
committerJakub Kicinski <kuba@kernel.org>2022-07-06 20:04:06 -0700
commitb83fdcd9fb8ad7e59f4188ba9ec221917f463a17 (patch)
treecc38826c8417b688d65aff44754de0331b433c40 /tools/testing/selftests/wireguard/qemu/arch/x86_64.config
parentwireguard: selftests: always call kernel makefile (diff)
downloadwireguard-linux-b83fdcd9fb8ad7e59f4188ba9ec221917f463a17.tar.xz
wireguard-linux-b83fdcd9fb8ad7e59f4188ba9ec221917f463a17.zip
wireguard: selftests: use microvm on x86
This makes for faster tests, faster compile time, and allows us to ditch ACPI finally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/wireguard/qemu/arch/x86_64.config')
-rw-r--r--tools/testing/selftests/wireguard/qemu/arch/x86_64.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/testing/selftests/wireguard/qemu/arch/x86_64.config b/tools/testing/selftests/wireguard/qemu/arch/x86_64.config
index efa00693e08b..cf2d1376d121 100644
--- a/tools/testing/selftests/wireguard/qemu/arch/x86_64.config
+++ b/tools/testing/selftests/wireguard/qemu/arch/x86_64.config
@@ -1,6 +1,9 @@
-CONFIG_ACPI=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_VIRTIO_MENU=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_CONSOLE=y
+CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1"
+CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t"
CONFIG_FRAME_WARN=1280