selftests/bpf: Fix vmtest.sh to launch smp vm.
authorYucong Sun <fallentree@fb.com>
Thu, 17 Feb 2022 15:52:12 +0000 (07:52 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 17 Feb 2022 18:56:18 +0000 (10:56 -0800)
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
tools/testing/selftests/bpf/vmtest.sh

index b3afd43..e0bb04a 100755 (executable)
@@ -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 \