Skip to content

selftests/vsock: support nested VM runner for vmtest.sh

Bobby Eshleman linux-kselftest lkml netdev virtualization 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected] change-id 20260313-vsock-vmtest-nested-fixes-918fd4d3a961

Versions newest first

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Address shellcheck warnings (Paolo)
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/vsock: fix vmtest.sh for read-only nested VM runnerstools/testing/selftests/vsock/vmtest.sh+19 -20 repliesApplied
2/2selftests/vsock: fix vsock_test path shadowing in nested VMstools/testing/selftests/vsock/vmtest.sh+3 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] selftests/vsock: support nested VM runner for vmtest.sh

This series fixes a few issues trying to launch vmtest.sh in a nested VM environment and were discovered when trying to prepare the tests for netdev CI/CD.

When taken together these patches make vmtest.sh work both on bare metal and in nested VMs, regardless of the outer VM's user, coincidental path overlaps, or filesystem settings.

---
Changes in v2:
- Address shellcheck warnings (Paolo)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Bobby Eshleman (2):
selftests/vsock: fix vmtest.sh for read-only nested VM runners selftests/vsock: fix vsock_test path shadowing in nested VMs

 tools/testing/selftests/vsock/vmtest.sh | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

---
base-commit: 8f921f61005450589c0bc1a941a5ddde21d9aed9
change-id: 20260313-vsock-vmtest-nested-fixes-918fd4d3a961

Best regards,

Signature · 1 line
Bobby Eshleman <[email protected]>