Skip to content

Commit b38101c

Browse files
Yucong Sunanakryiko
authored andcommitted
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
1 parent 1b8c924 commit b38101c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/vmtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ EOF
241241
-nodefaults \
242242
-display none \
243243
-serial mon:stdio \
244-
"${qemu_flags[@]}" \
244+
"${QEMU_FLAGS[@]}" \
245245
-enable-kvm \
246246
-m 4G \
247247
-drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \

0 commit comments

Comments
 (0)