diff options
author | Yucong Sun <fallentree@fb.com> | 2022-02-17 07:52:12 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-02-17 10:56:18 -0800 |
commit | b38101c57acf9543ed7c4b0f43fd65ea27240772 (patch) | |
tree | 8930df2f3013ae9a18349da8ee5aabd1d53d26c6 /tools | |
parent | 1b8c924a05934d2e758ec7da7bd217ef8ebd80ce (diff) |
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')
-rwxr-xr-x | tools/testing/selftests/bpf/vmtest.sh | 2 |
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 \ |