summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorYucong Sun <fallentree@fb.com>2022-02-17 18:52:12 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-02-17 21:56:18 +0300
commitb38101c57acf9543ed7c4b0f43fd65ea27240772 (patch)
tree8930df2f3013ae9a18349da8ee5aabd1d53d26c6 /tools/testing
parent1b8c924a05934d2e758ec7da7bd217ef8ebd80ce (diff)
downloadlinux-b38101c57acf9543ed7c4b0f43fd65ea27240772.tar.xz
selftests/bpf: Fix vmtest.sh to launch smp vm.
Fix typo in vmtest.sh to make sure it launch proper vm with 8 cpus. Signed-off-by: Yucong Sun <fallentree@fb.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220217155212.2309672-1-fallentree@fb.com
Diffstat (limited to 'tools/testing')
-rwxr-xr-xtools/testing/selftests/bpf/vmtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/vmtest.sh b/tools/testing/selftests/bpf/vmtest.sh
index b3afd43549fa..e0bb04a97e10 100755
--- a/tools/testing/selftests/bpf/vmtest.sh
+++ b/tools/testing/selftests/bpf/vmtest.sh
@@ -241,7 +241,7 @@ EOF
-nodefaults \
-display none \
-serial mon:stdio \
- "${qemu_flags[@]}" \
+ "${QEMU_FLAGS[@]}" \
-enable-kvm \
-m 4G \
-drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \