selftests/bpf: Consolidate VIRTIO/9P configs in config.vm file
authorManu Bretelle <chantr4@gmail.com>
Tue, 31 Oct 2023 21:27:17 +0000 (14:27 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 10 Nov 2023 03:07:38 +0000 (19:07 -0800)
commitb0cf0dcde8cae24571b1f382e81328229e475604
tree26980381c594711ab0e258deec05e2c30238816d
parente3499962d836af085a621f005978fee20fc87276
selftests/bpf: Consolidate VIRTIO/9P configs in config.vm file

Those configs are needed to be able to run VM somewhat consistently.
For instance, ATM, s390x is missing the `CONFIG_VIRTIO_CONSOLE` which
prevents s390x kernels built in CI to leverage qemu-guest-agent.

By moving them to `config,vm`, we should have selftest kernels which are
equal in term of VM functionalities when they include this file.

The set of config unabled were picked using

    grep -h -E '(_9P|_VIRTIO)' config.x86_64 config | sort | uniq

added to `config.vm` and then
    grep -vE '(_9P|_VIRTIO)' config.{x86_64,aarch64,s390x}

as a side-effect, some config may have disappeared to the aarch64 and
s390x kernels, but they should not be needed. CI will tell.

Signed-off-by: Manu Bretelle <chantr4@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20231031212717.4037892-1-chantr4@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/config.aarch64
tools/testing/selftests/bpf/config.s390x
tools/testing/selftests/bpf/config.vm [new file with mode: 0644]
tools/testing/selftests/bpf/config.x86_64
tools/testing/selftests/bpf/vmtest.sh