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

Xen PV VMs are without usb #18058

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

mloviska
Copy link
Contributor

@mloviska mloviska commented Oct 24, 2023

/dev/bus/ is missing in Xen PV VMs as we do not create VMs with usb passthrough.

`/dev/bus/` is missing in Xen PV VMs as we do not create VMs with usb
passthrough.

- ticket: https://progress.opensuse.org/issues/135518
@@ -31,8 +32,10 @@ sub run {
record_info('Test', 'Launch a container with privileged mode');

# /dev is only accessible in privileged mode
# xen-pv does not define USB passthrough in the xml as of now
# this feature has to be added -> https://progress.opensuse.org/issues/138410
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no need to add this feature to test containers. We just need to find a device other than /dev/bus that is available on all systems.

Why not enhance this PR to gather this information listing /dev with and without --privileged ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, nevertheless it won't hurt anything to provision a VM with usbs in PV. There is already a call that checks that the usbs are not there when omitting privileged flag. Not exactly only /dev/ though

@mloviska mloviska merged commit bdcccb2 into os-autoinst:master Oct 24, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants