Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netvm.robot: Test which checks PCI passthrough devices are visible inside NetVM #55

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

mikatammi
Copy link
Contributor

netvm.robot: Test which checks PCI passthrough devices are visible inside NetVM

Tested on both Orin AGX and NUC. Should also work with Orin NX.

Generic test which reads from microvm's configuration which PCI devices are supposed to be passed through, and then checks are they really visible inside the microvm using lspci.

Mika Tammi added 2 commits November 1, 2023 20:00
Signed-off-by: Mika Tammi <[email protected]>
Verify passed through PCI devices are visible inside VM. From microvm's
configuration, read the PCI device paths that are supposed to be passed
through, resolve their VENDOR_ID and DEVICE_ID, and then check does
lspci show respective VENDOR_ID:DEVICE_ID combinations inside the VM.

Signed-off-by: Mika Tammi <[email protected]>
@mikatammi mikatammi merged commit 2949961 into tiiuae:main Nov 2, 2023
1 check passed
@mikatammi mikatammi deleted the netvm_check_passthrough branch November 2, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants