Skip to content

Commit

Permalink
selftests/bpf: Fix vmtest.sh to launch smp vm.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thefallentree authored and anakryiko committed Feb 17, 2022
1 parent 1b8c924 commit b38101c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/vmtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b38101c

Please sign in to comment.